github.com/cilium/cilium@v1.16.2/bpf/include/linux/if_packet.h (about) 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright Authors of the Linux kernel */ 3 #pragma once 4 5 #define PACKET_HOST 0 /* To us */ 6 #define PACKET_BROADCAST 1 /* To all */ 7 #define PACKET_MULTICAST 2 /* To group */ 8 #define PACKET_OTHERHOST 3 /* To someone else */ 9 #define PACKET_OUTGOING 4 /* Outgoing of any type */ 10 #define PACKET_LOOPBACK 5 /* MC/BRD frame looped back */ 11 #define PACKET_USER 6 /* To user space */ 12 #define PACKET_KERNEL 7 /* To kernel space */ 13 /* Unused, PACKET_FASTROUTE and PACKET_LOOPBACK are invisible to user space */ 14 #define PACKET_FASTROUTE 6 /* Fastrouted frame */