Searched refs:ETH_P_IP (Results 1 – 12 of 12) sorted by relevance
50 if (eth_proto == htons(ETH_P_IP)) in is_vip_addr()73 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_iptun_ingress_forward()122 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_iptun_ingress_redirect()161 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_ip6tun_ingress_redirect()210 if (eth->h_proto == htons(ETH_P_IP)) { in _drop_non_tun_vip()
12 #define ETH_P_IP 0x0800 macro
39 if (eth->h_proto != htons(ETH_P_IP)) in handle_ingress()
32 if (load_half(skb, offsetof(struct ethhdr, h_proto)) != ETH_P_IP) in handle_ingress()
62 if (h_proto == htons(ETH_P_IP)) { in xdp_fwd_flags()133 if (h_proto == htons(ETH_P_IP)) in xdp_fwd_flags()
140 parse_eth_proto(skb, ETH_P_IP); in parse_ip_proto()241 parse_eth_proto(skb, ETH_P_IP); in bpf_func_mpls()284 case ETH_P_IP: in parse_eth_proto()
119 if (likely(proto == ETH_P_IP)) in flow_dissector()157 if (proto == ETH_P_IP) in flow_dissector()
127 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IP)); in handle_ipv4()228 if (h_proto == htons(ETH_P_IP)) in _xdp_tx_iptunnel()
144 if (h_proto == htons(ETH_P_IP)) in handle_ingress()
150 if (h_proto == htons(ETH_P_IP)) in _xdp_icmp()
109 case ETH_P_IP: { in xdp_router_ipv4_prog()
171 ehdr.h_proto = bpf_htons(ETH_P_IP); in __do_push_ll_and_redirect()
Completed in 17 milliseconds