Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c353 struct frag_hdr *fragh, _fragh; in IPV6FR() local
355 fragh = bpf_flow_dissect_get_header(skb, sizeof(*fragh), &_fragh); in IPV6FR()
356 if (!fragh) in IPV6FR()
359 keys->thoff += sizeof(*fragh); in IPV6FR()
361 keys->ip_proto = fragh->nexthdr; in IPV6FR()
363 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) { in IPV6FR()
373 return parse_ipv6_proto(skb, fragh->nexthdr); in IPV6FR()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_flow.c367 struct frag_hdr *fragh, _fragh; in IPV6FR() local
369 fragh = bpf_flow_dissect_get_header(skb, sizeof(*fragh), &_fragh); in IPV6FR()
370 if (!fragh) in IPV6FR()
373 keys->thoff += sizeof(*fragh); in IPV6FR()
375 keys->ip_proto = fragh->nexthdr; in IPV6FR()
377 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) { in IPV6FR()
389 return parse_ipv6_proto(skb, fragh->nexthdr); in IPV6FR()

Completed in 3 milliseconds