Add PACKET_VNET_HDR_SZ from Linux 6.4 to netpacket/packet.h
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Aug 2023 14:37:45 +0000 (14:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 8 Aug 2023 14:37:45 +0000 (14:37 +0000)
Linux 6.4 adds a new constant PACKET_VNET_HDR_SZ; add it to glibc's
netpacket/packet.h.

Tested for x86_64.

sysdeps/unix/sysv/linux/netpacket/packet.h

index 279f68f..c0fb06d 100644 (file)
@@ -64,6 +64,7 @@ struct sockaddr_ll
 #define        PACKET_ROLLOVER_STATS           21
 #define        PACKET_FANOUT_DATA              22
 #define        PACKET_IGNORE_OUTGOING          23
+#define        PACKET_VNET_HDR_SZ              24
 
 struct packet_mreq
   {