Lines Matching refs:ETH_P_IP
248 eth.h_proto = bpf_htons(ETH_P_IP);
437 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
438 return encap_ipv4(skb, IPPROTO_IPIP, ETH_P_IP);
446 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
447 return encap_ipv4(skb, IPPROTO_GRE, ETH_P_IP);
455 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
464 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
473 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
474 return encap_ipv4(skb, IPPROTO_UDP, ETH_P_IP);
482 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
491 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
500 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
512 return encap_ipv4(skb, IPPROTO_IPV6, ETH_P_IP);
529 if (skb->protocol == __bpf_constant_htons(ETH_P_IP))
700 case __bpf_constant_htons(ETH_P_IP):