add PACKET_IGNORE_OUTGOING sockopt from linux v4.20
authorSzabolcs Nagy <nsz@port70.net>
Tue, 22 Jan 2019 23:01:37 +0000 (23:01 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 13 Mar 2019 16:32:19 +0000 (12:32 -0400)
new in linux commit fa788d986a3aac5069378ed04697bd06f83d3488

include/netpacket/packet.h

index f2210ce81678dbbf280daf9e6d6b7c7ea9601441..b36e092ad4fb6dc5aba83d86a826f261dc79dfb1 100644 (file)
@@ -48,6 +48,7 @@ struct packet_mreq {
 #define PACKET_QDISC_BYPASS            20
 #define PACKET_ROLLOVER_STATS          21
 #define PACKET_FANOUT_DATA             22
+#define PACKET_IGNORE_OUTGOING         23
 
 #define PACKET_MR_MULTICAST    0
 #define PACKET_MR_PROMISC      1