Home
last modified time | relevance | path

Searched refs:bpf_ntohs (Results 26 – 30 of 30) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb.c355 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
377 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
H A Dtest_l4lb_noinline_dynptr.c361 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()
383 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
H A Dxdp_synproxy_kern.c380 switch (bpf_ntohs(hdr->eth->h_proto)) { in tcp_dissect()
614 if (!check_port_allowed(bpf_ntohs(hdr->tcp->dest))) in syncookie_handle_syn()
H A Dtest_cls_redirect_dynptr.c407 bpf_htons(bpf_ntohs(encap_gre->ip.tot_len) + delta); in forward_with_gre()
H A Dtest_cls_redirect.c518 bpf_htons(bpf_ntohs(encap_gre->ip.tot_len) + delta); in forward_with_gre()

12