Searched refs:ETH_P_IP (Results 1 – 16 of 16) sorted by relevance
50 if (eth_proto == htons(ETH_P_IP)) in is_vip_addr()76 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_iptun_ingress_forward()127 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_iptun_ingress_redirect()166 if (eth->h_proto == htons(ETH_P_IP)) { in _l2_to_ip6tun_ingress_redirect()216 if (eth->h_proto == htons(ETH_P_IP)) { in _drop_non_tun_vip()
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()
53 case ETH_P_IP: in parse_eth_proto()175 parse_eth_proto(skb, ETH_P_IP); in parse_ip_proto()272 parse_eth_proto(skb, ETH_P_IP); in PROG()
120 if (likely(proto == ETH_P_IP)) in flow_dissector()158 if (proto == ETH_P_IP) in flow_dissector()
81 if (h_proto == htons(ETH_P_IP)) in xdp_prog1()
97 if (h_proto == htons(ETH_P_IP)) in xdp_prog1()
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()
16 #define ETH_P_IP 0x0800 macro
281 case ETH_P_IP: in xdp_prognum3_proto_separate()348 case ETH_P_IP: in xdp_prognum4_ddos_filter_pktgen()470 case ETH_P_IP: in xdp_prognum5_lb_hash_ip_pairs()
144 if (h_proto == htons(ETH_P_IP)) in handle_ingress()
149 if (h_proto == htons(ETH_P_IP)) in _xdp_icmp()
140 } else if (h_proto == htons(ETH_P_IP)) { in xdp_router_ipv4_prog()
179 ehdr.h_proto = __constant_htons(ETH_P_IP); in __do_push_ll_and_redirect()
762 eth_hdr->h_proto = htons(ETH_P_IP); in gen_eth_hdr_data()