1 #ifndef _NF_TABLES_IPV6_H_
2 #define _NF_TABLES_IPV6_H_
4 #include <linux/netfilter_ipv6/ip6_tables.h>
8 nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt,
10 const struct nf_hook_state *state)
12 int protohdr, thoff = 0;
13 unsigned short frag_off;
15 nft_set_pktinfo(pkt, skb, state);
17 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, NULL);
18 /* If malformed, drop it */
22 pkt->tprot = protohdr;
23 pkt->xt.thoff = thoff;
24 pkt->xt.fragoff = frag_off;
29 extern struct nft_af_info nft_af_ipv6;