Lines Matching refs:bpf_htons
128 iph_inner.tot_len = bpf_htons(sizeof(iph6_inner) + in __encap_ipv4()
180 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv4()
187 h_outer.l4hdr.udp.dest = bpf_htons(udp_dst); in __encap_ipv4()
189 h_outer.l4hdr.udp.len = bpf_htons(bpf_ntohs(iph_inner.tot_len) + in __encap_ipv4()
231 h_outer.ip.tot_len = bpf_htons(olen + in __encap_ipv4()
248 eth.h_proto = bpf_htons(ETH_P_IP); in __encap_ipv4()
311 h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); in __encap_ipv6()
318 h_outer.l4hdr.udp.dest = bpf_htons(udp_dst); in __encap_ipv6()
322 h_outer.l4hdr.udp.len = bpf_htons(tot_len); in __encap_ipv6()
360 h_outer.ip.payload_len = bpf_htons(olen + in __encap_ipv6()
421 eth.h_proto = bpf_htons(ETH_P_IPV6); in encap_ipv6_ipip6()