[PATCH] Updates udp.h from Linux 6.19 to netinet/udp.h

Jiayuan Chen jiayuan.chen@linux.dev
Fri Mar 13 13:40:29 GMT 2026


On 3/13/26 7:32 PM, Florian Weimer wrote:
> * Jiayuan Chen:
>
>> This patch updates udp.h from Linux 6.19.
>>
>> Cc: Jiayuan Chen <jiayuan.chen@linux.dev>
>> Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
>> ---
>>   sysdeps/gnu/netinet/udp.h | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/sysdeps/gnu/netinet/udp.h b/sysdeps/gnu/netinet/udp.h
>> index 9cfbd82c69..985ac65e13 100644
>> --- a/sysdeps/gnu/netinet/udp.h
>> +++ b/sysdeps/gnu/netinet/udp.h
>> @@ -90,6 +90,9 @@ struct udphdr
>>   #define UDP_ENCAP_L2TPINUDP	3	/* rfc2661 */
>>   #define UDP_ENCAP_GTP0		4	/* GSM TS 09.60 */
>>   #define UDP_ENCAP_GTP1U		5	/* 3GPP TS 29.060 */
>> +#define UDP_ENCAP_RXRPC		6
>> +#define TCP_ENCAP_ESPINTCP	7	/* Yikes, this is really xfrm encap types. */
>> +#define UDP_ENCAP_OVPNINUDP	8	/* OpenVPN traffic */
>>   
>>   #define SOL_UDP            17      /* sockopt level for UDP */
> Would it be possible to improve the comment for TCP_ENCAP_ESPINTCP?
>
> Thanks,
> Florian
   Sure, how about:

   #define TCP_ENCAP_ESPINTCP    7       /* IPsec traffic over TCP (RFC 
8229)  */

   I'll include this in the next version.


More information about the Libc-alpha mailing list