diff mbox series

Add PACKET_IGNORE_OUTGOING from Linux 4.20 to netpacket/packet.h

Message ID alpine.DEB.2.21.1812312204090.27287@digraph.polyomino.org.uk
State New
Headers show
Series Add PACKET_IGNORE_OUTGOING from Linux 4.20 to netpacket/packet.h | expand

Commit Message

Joseph Myers Dec. 31, 2018, 10:04 p.m. UTC
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.

Comments

Dmitry V. Levin Jan. 1, 2019, 1 a.m. UTC | #1
On Mon, Dec 31, 2018 at 10:04:26PM +0000, Joseph Myers wrote:
> 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.

OK
diff mbox series

Patch

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
   {