Home
last modified time | relevance | path

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

/openbmc/linux/net/bridge/netfilter/
H A Debt_ip6.c41 const struct ipv6hdr *ih6; in ebt_ip6_mt() local
46 ih6 = skb_header_pointer(skb, 0, sizeof(_ip6h), &_ip6h); in ebt_ip6_mt()
47 if (ih6 == NULL) in ebt_ip6_mt()
51 info->tclass != ipv6_get_dsfield(ih6))) in ebt_ip6_mt()
55 ipv6_masked_addr_cmp(&ih6->saddr, &info->smsk, in ebt_ip6_mt()
59 ipv6_masked_addr_cmp(&ih6->daddr, &info->dmsk, in ebt_ip6_mt()
63 uint8_t nexthdr = ih6->nexthdr; in ebt_ip6_mt()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_features.c101 struct ipv6hdr *ih6 = (struct ipv6hdr *)(eh + 1); in xdp_process_echo_packet() local
103 if (ih6 + 1 > (struct ipv6hdr *)data_end) in xdp_process_echo_packet()
106 if (!ipv6_addr_equal(saddr, ih6->saddr)) in xdp_process_echo_packet()
109 if (!ipv6_addr_equal(daddr, ih6->daddr)) in xdp_process_echo_packet()
112 if (ih6->nexthdr != IPPROTO_UDP) in xdp_process_echo_packet()
115 uh = (struct udphdr *)(ih6 + 1); in xdp_process_echo_packet()