Home
last modified time | relevance | path

Searched refs:ETH_P_IP (Results 1 – 12 of 12) sorted by relevance

/samples/bpf/
A Dtc_l2_redirect_kern.c50 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()
A Dnet_shared.h12 #define ETH_P_IP 0x0800 macro
A Dparse_simple.c39 if (eth->h_proto != htons(ETH_P_IP)) in handle_ingress()
A Dparse_ldabs.c32 if (load_half(skb, offsetof(struct ethhdr, h_proto)) != ETH_P_IP) in handle_ingress()
A Dxdp_fwd_kern.c62 if (h_proto == htons(ETH_P_IP)) { in xdp_fwd_flags()
133 if (h_proto == htons(ETH_P_IP)) in xdp_fwd_flags()
A Dsockex3_kern.c140 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()
A Dsockex2_kern.c119 if (likely(proto == ETH_P_IP)) in flow_dissector()
157 if (proto == ETH_P_IP) in flow_dissector()
A Dxdp_tx_iptunnel_kern.c127 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()
A Dparse_varlen.c144 if (h_proto == htons(ETH_P_IP)) in handle_ingress()
A Dxdp_adjust_tail_kern.c150 if (h_proto == htons(ETH_P_IP)) in _xdp_icmp()
A Dxdp_router_ipv4.bpf.c109 case ETH_P_IP: { in xdp_router_ipv4_prog()
A Dtest_lwt_bpf.c171 ehdr.h_proto = bpf_htons(ETH_P_IP); in __do_push_ll_and_redirect()

Completed in 16 milliseconds