aboutsummaryrefslogtreecommitdiff
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
parentf45077974a82594bd92f7c5dfa4c8a8fce563b4e (diff)
downloadglibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.zip
glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar.gz
glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar.bz2
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.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/netpacket/packet.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 69718b8..97d2072 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2019-01-01 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/netpacket/packet.h
+ (PACKET_IGNORE_OUTGOING): New macro.
+
* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
macro.
diff --git a/sysdeps/unix/sysv/linux/netpacket/packet.h b/sysdeps/unix/sysv/linux/netpacket/packet.h
index e925a54..5e0e12d 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
{