Lines Matching refs:bpf_htons
121 case bpf_htons(ETH_P_IP): in parse_eth_proto()
124 case bpf_htons(ETH_P_IPV6): in parse_eth_proto()
127 case bpf_htons(ETH_P_MPLS_MC): in parse_eth_proto()
128 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
131 case bpf_htons(ETH_P_8021Q): in parse_eth_proto()
132 case bpf_htons(ETH_P_8021AD): in parse_eth_proto()
148 if (keys->n_proto == bpf_htons(ETH_P_IP)) { in _dissect()
186 return parse_eth_proto(skb, bpf_htons(ETH_P_IP)); in parse_ip_proto()
192 return parse_eth_proto(skb, bpf_htons(ETH_P_IPV6)); in parse_ip_proto()
198 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
214 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
300 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG()
302 if (iph->frag_off & bpf_htons(IP_OFFSET)) { in PROG()
377 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) { in PROG()
410 if (keys->n_proto == bpf_htons(ETH_P_8021AD)) { in PROG()
415 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
429 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
430 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()