Home
last modified time | relevance | path

Searched refs:protohdr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/netfilter/
H A Dnf_tables_ipv6.h12 int protohdr, thoff = 0; in nft_set_pktinfo_ipv6() local
15 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in nft_set_pktinfo_ipv6()
16 if (protohdr < 0 || thoff > U16_MAX) { in nft_set_pktinfo_ipv6()
22 pkt->tprot = protohdr; in nft_set_pktinfo_ipv6()
35 int protohdr; in __nft_set_pktinfo_ipv6_validate() local
50 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in __nft_set_pktinfo_ipv6_validate()
51 if (protohdr < 0 || thoff > U16_MAX) in __nft_set_pktinfo_ipv6_validate()
55 pkt->tprot = protohdr; in __nft_set_pktinfo_ipv6_validate()
79 int protohdr; in nft_set_pktinfo_ipv6_ingress() local
97 if (protohdr < 0 || thoff > U16_MAX) in nft_set_pktinfo_ipv6_ingress()
[all …]
/openbmc/linux/net/ipv6/netfilter/
H A Dip6_tables.c79 int protohdr; in ip6_packet_match() local
82 protohdr = ipv6_find_hdr(skb, protoff, -1, &_frag_off, NULL); in ip6_packet_match()
83 if (protohdr < 0) { in ip6_packet_match()
90 if (ip6info->proto == protohdr) { in ip6_packet_match()