From: Philippe Gerum <rpm@xenomai.org>
To: Hannes Diethelm <hannes.diethelm@gmail.com>
Cc: xenomai@lists.linux.dev
Subject: Re: [PATCH 0/1] tidbits: net-ping: add ping tidbit using raw socket
Date: Sun, 05 Jul 2026 18:49:43 +0200 [thread overview]
Message-ID: <87v7atqt3s.fsf@xenomai.org> (raw)
In-Reply-To: <c67924a5-603f-4c8e-b958-f055dd9b1bfc@gmail.com> (Hannes Diethelm's message of "Sun, 5 Jul 2026 17:21:01 +0200")
Hannes Diethelm <hannes.diethelm@gmail.com> writes:
> Am 05.07.26 um 17:01 schrieb Philippe Gerum:
>> Hannes Diethelm <hannes.diethelm@gmail.com> writes:
>>
>>> 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.
>>>
>> This said, we have an ICMP protocol module in the evl stack since
>> recently, which only responds to ICMP_ECHO requests ATM, directly from
>> kernel space. Extending IPPROTO_ICMP by implementing the oob_sendmsg()
>> handler for it there has become an option.
>>
>
> That would make the ping tool way simpler. I can also wait until this is available and
> create a new patch. It's mostly done just to figure out that IPPROTO_ICMP is not available.
Ok, I believe having IPPROTO_ICMP would be the best approach. I'll
let you know when this is available.
--
Philippe.
next prev parent reply other threads:[~2026-07-05 16:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2026-07-05 22:17 ` Hannes Diethelm
2026-07-05 23:57 ` Hannes Diethelm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v7atqt3s.fsf@xenomai.org \
--to=rpm@xenomai.org \
--cc=hannes.diethelm@gmail.com \
--cc=xenomai@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.