On Wed, Apr 12, 2023 at 12:37:18PM -0700, Jakub Kicinski wrote: > On Wed, 12 Apr 2023 18:35:40 +0200 Matthieu Baerts wrote: > > > Is this theoretical, or you think any library might be doing this > > > already? I lack of sufficient knowledge of the MPTCP ecosystem to > > > evaluate myself. > > > > This is theoretical. > > > > But using it with socket's protocol parameter is the only good usage of > > IPPROTO_MAX for me :-D > > Perhaps. No strong preference from me. That said I think I can come up > with a good name for the SO use: SO_IPPROTO_MAX (which IMHO it's better > than IPPROTO_UAPI_MAX if Pablo doesn't mind sed'ing?) SO_ is usually reserved for socket options. > The name for a max in proto sense... I'm not sure what that would be. > IPPROTO_MAX_IPPROTO ? IP_IPROTO_MAX ? IP_PROTO_MAX ? Dunno..