Lines Matching refs:bpf_htons
120 case bpf_htons(ETH_P_IP): in parse_eth_proto()
123 case bpf_htons(ETH_P_IPV6): in parse_eth_proto()
126 case bpf_htons(ETH_P_MPLS_MC): in parse_eth_proto()
127 case bpf_htons(ETH_P_MPLS_UC): in parse_eth_proto()
130 case bpf_htons(ETH_P_8021Q): in parse_eth_proto()
131 case bpf_htons(ETH_P_8021AD): in parse_eth_proto()
172 return parse_eth_proto(skb, bpf_htons(ETH_P_IP)); in parse_ip_proto()
178 return parse_eth_proto(skb, bpf_htons(ETH_P_IPV6)); in parse_ip_proto()
184 if (bpf_htons(gre->flags & GRE_VERSION)) in parse_ip_proto()
200 if (gre->proto == bpf_htons(ETH_P_TEB)) { in parse_ip_proto()
286 if (iph->frag_off & bpf_htons(IP_MF | IP_OFFSET)) { in PROG()
288 if (iph->frag_off & bpf_htons(IP_OFFSET)) { in PROG()
363 if (!(fragh->frag_off & bpf_htons(IP6_OFFSET))) { in PROG()
394 if (keys->n_proto == bpf_htons(ETH_P_8021AD)) { in PROG()
399 if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q)) in PROG()
413 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
414 vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q)) in PROG()