[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1bcb3fdb-142f-6a94-d946-06dc08c29e8f@gmail.com>
Date: Sat, 31 Mar 2018 23:51:06 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>,
Maciej Żenczykowski <maze@...gle.com>,
"David S . Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Luigi Rizzo <lrizzo@...gle.com>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH] net: implement IP_RECVHDRS option to get full headers
through recvmsg cmsg.
On 03/31/2018 10:43 PM, Maciej Żenczykowski wrote:
> From: Luigi Rizzo <lrizzo@...gle.com>
>
> We have all sorts of different ways to fetch pre-UDP payload metadata:
> IP_RECVTOS
> IP_RECVTTL
> IP_RECVOPTS
> IP_RETOPTS
>
> But nothing generic which simply allows you to receive the entire packet header.
>
> This is in similar vein to TCP_SAVE_SYN but for UDP and other datagram sockets.
>
> This is envisioned as a way to get GUE extension metadata for encapsulated
> packets, but implemented in a way to be much more future proof.
>
> (Implemented by Luigi, who asked me to send it upstream)
>
Hmm... what happened to IPv6 ? ;)
Powered by blists - more mailing lists