Searched refs:bpf_ntohs (Results 26 – 30 of 30) sorted by relevance
12
355 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()377 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
361 pkt_bytes = bpf_ntohs(ip6h->payload_len); in process_packet()383 pkt_bytes = bpf_ntohs(iph->tot_len); in process_packet()
380 switch (bpf_ntohs(hdr->eth->h_proto)) { in tcp_dissect()614 if (!check_port_allowed(bpf_ntohs(hdr->tcp->dest))) in syncookie_handle_syn()
407 bpf_htons(bpf_ntohs(encap_gre->ip.tot_len) + delta); in forward_with_gre()
518 bpf_htons(bpf_ntohs(encap_gre->ip.tot_len) + delta); in forward_with_gre()