[PATCH 0/1] tidbits: net-ping: add ping tidbit using raw socket
Hannes Diethelm <[email protected]> Sun, 28 Jun 2026 17:39:55 +0200
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
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 -- 2.47.3