/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* IPv6-specific defines for netfilter. * (C)1998 Rusty Russell -- This code is GPL. * (C)1999 David Jeffery * this header was blatantly ripped from netfilter_ipv4.h * it's amazing what adding a bunch of 6s can do =8^) */ #ifndef _UAPI__LINUX_IP6_NETFILTER_H #define _UAPI__LINUX_IP6_NETFILTER_H #include <linux/netfilter.h> /* only for userspace compatibility */ #ifndef __KERNEL__ #include <limits.h> /* for INT_MIN, INT_MAX */ /* IP6 Hooks */ /* After promisc drops, checksum checks. */ #define NF_IP6_PRE_ROUTING … /* If the packet is destined for this box. */ #define NF_IP6_LOCAL_IN … /* If the packet is destined for another interface. */ #define NF_IP6_FORWARD … /* Packets coming from a local process. */ #define NF_IP6_LOCAL_OUT … /* Packets about to hit the wire. */ #define NF_IP6_POST_ROUTING … #define NF_IP6_NUMHOOKS … #endif /* ! __KERNEL__ */ enum nf_ip6_hook_priorities { … }; #endif /* _UAPI__LINUX_IP6_NETFILTER_H */