tidbits: net-ping: add ping tidbit using raw socket
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | tidbits: net-ping: add ping tidbit using raw sockettidbits/ tidbits/ | +486 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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