Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_noinline.c216 static __noinline __u64 calc_offset(bool is_ipv6, bool is_icmp) in calc_offset() argument
221 if (is_icmp) in calc_offset()
225 if (is_icmp) in calc_offset()
236 bool is_icmp = !((pckt->flags & (1 << 0)) == 0); in parse_udp() local
237 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_udp()
243 if (!is_icmp) { in parse_udp()
258 bool is_icmp = !((pckt->flags & (1 << 0)) == 0); in parse_tcp() local
259 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_tcp()
267 if (!is_icmp) { in parse_tcp()