Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dbpf_endian.h47 #define bpf_ntohs(x) \ macro
Dtest_xdp.c106 payload_len = bpf_ntohs(iph->tot_len); in handle_ipv4()
202 ip6h->payload_len = bpf_htons(bpf_ntohs(payload_len) + sizeof(*ip6h)); in handle_ipv6()
Dtest_l4lb_noinline.c357 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
379 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
Dtest_l4lb.c357 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
379 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()