diff options
author | Joseph Myers <joseph@codesourcery.com> | 2019-01-01 02:02:35 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2019-01-01 02:02:35 +0000 |
commit | e3d4e292f5c1be71a8a62b9eda95829c038338a2 (patch) | |
tree | 6a700a7cb42874c2f27ede4641a9e692dde5caef | |
parent | f45077974a82594bd92f7c5dfa4c8a8fce563b4e (diff) | |
download | glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar.gz glibc-e3d4e292f5c1be71a8a62b9eda95829c038338a2.tar.xz 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.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/netpacket/packet.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 69718b83b3..97d2072042 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 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 { |