]> git.ipfire.org Git - people/ms/suricata.git/blobdiff - src/source-af-packet.h
af-packet: only ref mpeer if needed in tpacket v2
[people/ms/suricata.git] / src / source-af-packet.h
index e976b306500a405104f0b8dadef2c9ee41aa843b..de25ff244294e292f4a5e20dc9329ce15f3b91da 100644 (file)
@@ -55,7 +55,7 @@ struct ebpf_timeout_config {
 #endif
 
 /* value for flags */
-// (1<<0) vacant
+#define AFP_NEED_PEER (1 << 0)
 // (1<<1) vacant
 #define AFP_SOCK_PROTECT (1<<2)
 #define AFP_EMERGENCY_MODE (1<<3)