public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Add PACKET_VNET_HDR_SZ from Linux 6.4 to netpacket/packet.h
@ 2023-08-08 14:38 Joseph Myers
0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2023-08-08 14:38 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c8c20039c7595677f9180b487c4424a5a08c572f
commit c8c20039c7595677f9180b487c4424a5a08c572f
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Aug 8 14:37:45 2023 +0000
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.
Diff:
---
sysdeps/unix/sysv/linux/netpacket/packet.h | 1 +
1 file changed, 1 insertion(+)
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
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-08 14:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08 14:38 [glibc] Add PACKET_VNET_HDR_SZ from Linux 6.4 to netpacket/packet.h Joseph Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).