Searched refs:get_dport (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/samples/bpf/ |
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()
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | test_xdp.c | 48 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function 98 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4() 168 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
|
D | test_xdp_loop.c | 44 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() function 94 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4() 164 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
|