···11+#ifndef _NF_CONNTRACK_IPV6_H22+#define _NF_CONNTRACK_IPV6_H33+44+extern struct nf_conntrack_l3proto nf_conntrack_l3proto_ipv6;55+66+extern struct nf_conntrack_l4proto nf_conntrack_l4proto_tcp6;77+extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udp6;88+extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmpv6;99+1010+extern int nf_ct_ipv6_skip_exthdr(struct sk_buff *skb, int start,1111+ u8 *nexthdrp, int len);1212+1313+extern int nf_ct_frag6_init(void);1414+extern void nf_ct_frag6_cleanup(void);1515+extern struct sk_buff *nf_ct_frag6_gather(struct sk_buff *skb);1616+extern void nf_ct_frag6_output(unsigned int hooknum, struct sk_buff *skb,1717+ struct net_device *in,1818+ struct net_device *out,1919+ int (*okfn)(struct sk_buff *));2020+2121+extern unsigned int nf_ct_frag6_timeout;2222+extern unsigned int nf_ct_frag6_low_thresh;2323+extern unsigned int nf_ct_frag6_high_thresh;2424+2525+#endif /* _NF_CONNTRACK_IPV6_H*/
+5
include/net/netfilter/nf_conntrack.h
···797980808181#include <net/netfilter/ipv4/nf_conntrack_ipv4.h>8282+#include <net/netfilter/ipv6/nf_conntrack_ipv6.h>8383+8284struct nf_conn8385{8486 /* Usage count in here is 1 for hash table/destruct timer, 1 per skb,···243241244242extern unsigned int nf_conntrack_htable_size;245243extern int nf_conntrack_checksum;244244+extern atomic_t nf_conntrack_count;245245+extern int nf_conntrack_max;246246247247+DECLARE_PER_CPU(struct ip_conntrack_stat, nf_conntrack_stat);247248#define NF_CT_STAT_INC(count) (__get_cpu_var(nf_conntrack_stat).count++)248249249250/* no helper, no nat */