Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_loop.c42 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function
92 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
162 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
H A Dtest_xdp.c46 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function
96 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
166 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
H A Dtest_xdp_dynptr.c50 static __always_inline int get_dport(void *trans_data, __u8 protocol) in get_dport() function
106 dport = get_dport(iph + 1, iph->protocol); in handle_ipv4()
185 dport = get_dport(ip6h + 1, ip6h->nexthdr); in handle_ipv6()
/openbmc/linux/samples/bpf/
H A Dxdp_tx_iptunnel_kern.c45 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function
95 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
167 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()