--- zzzz-none-000/linux-5.4.213/include/uapi/linux/if_packet.h 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/include/uapi/linux/if_packet.h 2024-08-14 09:02:10.000000000 +0000 @@ -32,6 +32,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 */ @@ -58,6 +60,7 @@ #define PACKET_ROLLOVER_STATS 21 #define PACKET_FANOUT_DATA 22 #define PACKET_IGNORE_OUTGOING 23 +#define PACKET_RECV_TYPE 24 #define PACKET_FANOUT_HASH 0 #define PACKET_FANOUT_LB 1