Searched refs:get_dport (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_loop.c | 42 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 D | test_xdp.c | 46 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 D | test_xdp_dynptr.c | 50 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 D | xdp_tx_iptunnel_kern.c | 45 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()
|