/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI__LINUX_BRIDGE_NETFILTER_H #define _UAPI__LINUX_BRIDGE_NETFILTER_H /* bridge-specific defines for netfilter. */ #include <linux/in.h> #include <linux/netfilter.h> #include <linux/if_ether.h> #include <linux/if_vlan.h> #include <linux/if_pppox.h> #ifndef __KERNEL__ #include <limits.h> /* for INT_MIN, INT_MAX */ #endif /* Bridge Hooks */ /* After promisc drops, checksum checks. */ #define NF_BR_PRE_ROUTING … /* If the packet is destined for this box. */ #define NF_BR_LOCAL_IN … /* If the packet is destined for another interface. */ #define NF_BR_FORWARD … /* Packets coming from a local process. */ #define NF_BR_LOCAL_OUT … /* Packets about to hit the wire. */ #define NF_BR_POST_ROUTING … /* Not really a hook, but used for the ebtables broute table */ #define NF_BR_BROUTING … #define NF_BR_NUMHOOKS … enum nf_br_hook_priorities { … }; #endif /* _UAPI__LINUX_BRIDGE_NETFILTER_H */