Searched refs:bpf_ntohs (Results 1 – 4 of 4) sorted by relevance
47 #define bpf_ntohs(x) \ macro
106 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()
357 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()379 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()