diff options
author | Joseph Myers <joseph@codesourcery.com> | 2023-08-08 14:37:45 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2023-08-08 14:37:45 +0000 |
commit | c8c20039c7595677f9180b487c4424a5a08c572f (patch) | |
tree | 579c4c15de661bf4eba32b990778ae577925c42d /sysdeps/unix/sysv/linux | |
parent | e3ae80adbc626c4073a082e0205fdbb83033018a (diff) | |
download | glibc-c8c20039c7595677f9180b487c4424a5a08c572f.tar.gz glibc-c8c20039c7595677f9180b487c4424a5a08c572f.tar.xz glibc-c8c20039c7595677f9180b487c4424a5a08c572f.zip |
Add PACKET_VNET_HDR_SZ from Linux 6.4 to netpacket/packet.h
Linux 6.4 adds a new constant PACKET_VNET_HDR_SZ; add it to glibc's netpacket/packet.h. Tested for x86_64.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/netpacket/packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/netpacket/packet.h b/sysdeps/unix/sysv/linux/netpacket/packet.h index 279f68fd34..c0fb06df53 100644 --- a/sysdeps/unix/sysv/linux/netpacket/packet.h +++ b/sysdeps/unix/sysv/linux/netpacket/packet.h @@ -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 { |