Home
last modified time | relevance | path

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

/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()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp.c47 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function
97 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()
H A Dtest_xdp_loop.c43 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function
93 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
163 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()