All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] tidbits: net-ping: add ping tidbit using raw socket
@ 2026-06-28 15:39 Hannes Diethelm
  2026-06-28 15:39 ` [PATCH 1/1] " Hannes Diethelm
  2026-07-05 15:01 ` [PATCH 0/1] " Philippe Gerum
  0 siblings, 2 replies; 10+ messages in thread
From: Hannes Diethelm @ 2026-06-28 15:39 UTC (permalink / raw)
  To: xenomai, rpm; +Cc: Hannes Diethelm

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-07-05 23:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-28 15:39 [PATCH 0/1] tidbits: net-ping: add ping tidbit using raw socket Hannes Diethelm
2026-06-28 15:39 ` [PATCH 1/1] " Hannes Diethelm
2026-07-05 14:57   ` Philippe Gerum
2026-07-05 15:27     ` Hannes Diethelm
2026-07-05 16:52       ` Philippe Gerum
2026-07-05 15:01 ` [PATCH 0/1] " Philippe Gerum
2026-07-05 15:21   ` Hannes Diethelm
2026-07-05 16:49     ` Philippe Gerum
2026-07-05 22:17       ` Hannes Diethelm
2026-07-05 23:57         ` Hannes Diethelm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.