Searched refs:bpf_ntohs (Results 26 - 32 of 32) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb.c355 pkt_bytes = bpf_ntohs(ip6h->payload_len);
377 pkt_bytes = bpf_ntohs(iph->tot_len);
H A Dtest_l4lb_noinline.c354 pkt_bytes = bpf_ntohs(ip6h->payload_len);
376 pkt_bytes = bpf_ntohs(iph->tot_len);
H A Dtest_l4lb_noinline_dynptr.c361 pkt_bytes = bpf_ntohs(ip6h->payload_len);
383 pkt_bytes = bpf_ntohs(iph->tot_len);
H A Dxdp_synproxy_kern.c382 switch (bpf_ntohs(hdr->eth->h_proto)) {
616 if (!check_port_allowed(bpf_ntohs(hdr->tcp->dest)))
H A Dtest_tcp_custom_syncookie.c81 switch (bpf_ntohs(ctx->eth->h_proto)) {
H A Dtest_cls_redirect.c521 bpf_htons(bpf_ntohs(encap_gre->ip.tot_len) + delta);
H A Dtest_cls_redirect_dynptr.c409 bpf_htons(bpf_ntohs(encap_gre->ip.tot_len) + delta);

Completed in 120 milliseconds

12