On 11.05.20 07:59, 孙世龙 via Xenomai wrote:
Hi,
        As per the source code(
https://gitlab.denx.de/Xenomai/xenomai/-/blob/v3.0.9/kernel/drivers/net/stack/ipv4/tcp/tcp.c),
I could see that some code have relation to  _RTIOC_LISTEN.For details, see
below.


lib/cobalt/rtdm.c, COBALT_IMPL(int, listen, (int fd, int backlog)). So, if you wrap your posix application, it will first try _RTIOC_LISTEN via Xenomai on an fd and then fall back to regular listen. If the fd happened to be an rt-tcp socket, that driver above will be called.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

Reply via email to