aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/netpacket/packet.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-01-01 02:02:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-01-01 02:02:35 +0000
commite3d4e292f5c1be71a8a62b9eda95829c038338a2 (patch)
tree6a700a7cb42874c2f27ede4641a9e692dde5caef /sysdeps/unix/sysv/linux/netpacket/packet.h
parentf45077974a82594bd92f7c5dfa4c8a8fce563b4e (diff)
downloadglibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar
glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar.gz
glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar.bz2
glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.zip
Add PACKET_IGNORE_OUTGOING from Linux 4.20 to netpacket/packet.h.
This patch adds the PACKET_IGNORE_OUTGOING constant from Linux 4.20 to netpacket/packet.h. Tested for x86_64. * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_IGNORE_OUTGOING): New macro.
Diffstat (limited to 'sysdeps/unix/sysv/linux/netpacket/packet.h')
-rw-r--r--sysdeps/unix/sysv/linux/netpacket/packet.h1
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 e925a54994..5e0e12d9ff 100644
--- a/sysdeps/unix/sysv/linux/netpacket/packet.h
+++ b/sysdeps/unix/sysv/linux/netpacket/packet.h
@@ -63,6 +63,7 @@ struct sockaddr_ll
#define PACKET_QDISC_BYPASS 20
#define PACKET_ROLLOVER_STATS 21
#define PACKET_FANOUT_DATA 22
+#define PACKET_IGNORE_OUTGOING 23
struct packet_mreq
{