Opened 10 months ago

Last modified 10 months ago

#67758 new request

Implement IP_RECVTOS, IP_PKTINFO in LegacySupport

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: catap (Kirill A. Korinsky), kencu (Ken), mascguy (Christopher Nielsen), cjones051073 (Chris Jones), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: legacy-support

Description

Is it something doable? The problem has been encountered here: https://github.com/ngtcp2/ngtcp2/issues/804

Change History (2)

comment:1 Changed 10 months ago by mascguy (Christopher Nielsen)

Cc: cjones051073 MarcusCalhoun-Lopez added

If support for IP_RECVOS and IP_PKTINFO is implemented at the kernel level, it may not be possible. That said, I'm not familiar with these, so can't speak to feasibility without more research.

So a better approach might be to look at the upstream project(s), to see if there's a way to work around the requirement for these.

Anyone else... thoughts?

comment:2 Changed 10 months ago by catap (Kirill A. Korinsky)

Well… it may be possible by using so-called L3 raw socket. Anyway, it means that we should reimplement TCP and UDP at least with all environment like select and so on.

Is it achievable? Seems so. But it requires a lot of work. Special to make stable enough.

Off topic: about decade ago I’ve implemented very limited TCP for DPDK. It was a couple of months and it was very poor implementation. At the end I’ve moved to L2 and used much simpler L3 protocol

Note: See TracTickets for help on using tickets.