--- zzzz-none-000/linux-4.4.60/include/uapi/linux/if_packet.h 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-1750e-727/linux-4.4.60/include/uapi/linux/if_packet.h 2021-02-04 17:41:59.000000000 +0000 @@ -31,6 +31,8 @@ #define PACKET_KERNEL 7 /* To kernel space */ /* Unused, PACKET_FASTROUTE and PACKET_LOOPBACK are invisible to user space */ #define PACKET_FASTROUTE 6 /* Fastrouted frame */ +#define PACKET_MASK_ANY 0xffffffff /* mask for packet type bits */ + /* Packet socket options */ @@ -56,6 +58,7 @@ #define PACKET_QDISC_BYPASS 20 #define PACKET_ROLLOVER_STATS 21 #define PACKET_FANOUT_DATA 22 +#define PACKET_RECV_TYPE 23 #define PACKET_FANOUT_HASH 0 #define PACKET_FANOUT_LB 1