Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/linux/netfilter_ipv6.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* IPv6-specific defines for netfilter. 3 * (C)1998 Rusty Russell -- This code is GPL. 4 * (C)1999 David Jeffery 5 * this header was blatantly ripped from netfilter_ipv4.h 6 * it's amazing what adding a bunch of 6s can do =8^) 7 */ 8 #ifndef __LINUX_IP6_NETFILTER_H 9 #define __LINUX_IP6_NETFILTER_H 10 11 12 #include <linux/netfilter.h> 13 #include <linux/typelimits.h> 14 15 /* only for userspace compatibility */ 16 17 /* IP6 Hooks */ 18 /* After promisc drops, checksum checks. */ 19 #define NF_IP6_PRE_ROUTING 0 20 /* If the packet is destined for this box. */ 21 #define NF_IP6_LOCAL_IN 1 22 /* If the packet is destined for another interface. */ 23 #define NF_IP6_FORWARD 2 24 /* Packets coming from a local process. */ 25 #define NF_IP6_LOCAL_OUT 3 26 /* Packets about to hit the wire. */ 27 #define NF_IP6_POST_ROUTING 4 28 #define NF_IP6_NUMHOOKS 5 29 30 31 enum nf_ip6_hook_priorities { 32 NF_IP6_PRI_FIRST = __KERNEL_INT_MIN, 33 NF_IP6_PRI_RAW_BEFORE_DEFRAG = -450, 34 NF_IP6_PRI_CONNTRACK_DEFRAG = -400, 35 NF_IP6_PRI_RAW = -300, 36 NF_IP6_PRI_SELINUX_FIRST = -225, 37 NF_IP6_PRI_CONNTRACK = -200, 38 NF_IP6_PRI_MANGLE = -150, 39 NF_IP6_PRI_NAT_DST = -100, 40 NF_IP6_PRI_FILTER = 0, 41 NF_IP6_PRI_SECURITY = 50, 42 NF_IP6_PRI_NAT_SRC = 100, 43 NF_IP6_PRI_SELINUX_LAST = 225, 44 NF_IP6_PRI_CONNTRACK_HELPER = 300, 45 NF_IP6_PRI_LAST = __KERNEL_INT_MAX, 46 }; 47 48 49 #endif /* __LINUX_IP6_NETFILTER_H */