Skip to content

tidbits: net-ping: add ping tidbit using raw socket

Hannes Diethelm xenomai 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tidbits: net-ping: add ping tidbit using raw sockettidbits/meson.build tidbits/oob-net-ping.c+486 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] tidbits: net-ping: add ping tidbit using raw socket

This patch is the result from experimenting with evl networking. I use it to do basic connection tests from the out of band network and check the timing.

It is a bit complex due to evl doesn't support IPPROTO_ICMP sockets.

Using the in-band network stack, you can use: sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); and then only send the icmp part of the message. However, such a support is not really needed, it works fine without.

Hannes Diethelm (1):
tidbits: net-ping: add ping tidbit using raw socket

 tidbits/meson.build    |   6 +
 tidbits/oob-net-ping.c | 480 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 486 insertions(+)
 create mode 100644 tidbits/oob-net-ping.c
Signature · 1 line
2.47.3