This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add PACKET_IGNORE_OUTGOING from Linux 4.20 to netpacket/packet.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Mon, 31 Dec 2018 22:04:26 +0000
- Subject: 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.
2018-12-31 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/netpacket/packet.h
(PACKET_IGNORE_OUTGOING): New macro.
diff --git a/sysdeps/unix/sysv/linux/netpacket/packet.h b/sysdeps/unix/sysv/linux/netpacket/packet.h
index 8deb50b799..0f4aeab0b6 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
{
--
Joseph S. Myers
joseph@codesourcery.com