Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_flow.c367 struct frag_hdr *fragh, _fragh; in PROG() local
369 fragh = bpf_flow_dissect_get_header(skb, sizeof(*fragh), &_fragh); in PROG()
370 if (!fragh) in PROG()
373 keys->thoff += sizeof(*fragh); in PROG()
375 keys->ip_proto = fragh->nexthdr; in PROG()
377 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) { in PROG()
389 return parse_ipv6_proto(skb, fragh->nexthdr); in PROG()

Completed in 3 milliseconds