Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_flow.c310 struct frag_hdr *fragh, _fragh; in PROG() local
312 fragh = bpf_flow_dissect_get_header(skb, sizeof(*fragh), &_fragh); in PROG()
313 if (!fragh) in PROG()
316 keys->thoff += sizeof(*fragh); in PROG()
318 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) in PROG()
321 return parse_ipv6_proto(skb, fragh->nexthdr); in PROG()
/external/tcpdump/
Dprint-icmp6.c1170 const struct ip6_frag *fragh; in get_upperlayer() local
1210 fragh = (const struct ip6_frag *)bp; in get_upperlayer()
1211 if (!ND_TTEST(fragh->ip6f_offlg)) in get_upperlayer()
1214 if ((EXTRACT_16BITS(&fragh->ip6f_offlg) & IP6F_OFF_MASK) != 0) in get_upperlayer()
1216 nh = fragh->ip6f_nxt; in get_upperlayer()