Home
last modified time | relevance | path

Searched refs:ETH_P_IPV6 (Results 1 – 25 of 51) sorted by relevance

123

/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c134 .addr_proto = ETH_P_IPV6,
136 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
181 .addr_proto = ETH_P_IPV6,
183 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
255 .addr_proto = ETH_P_IPV6,
257 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
281 .addr_proto = ETH_P_IPV6,
283 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
303 .addr_proto = ETH_P_IPV6,
327 .addr_proto = ETH_P_IPV6,
[all …]
A Dparse_tcp_hdr_opt.c16 .pk6_v6.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
A Dkfree_skb.c40 if (CHECK(pkt_v6->eth.h_proto != htons(ETH_P_IPV6), "check_eth", in on_sample()
/tools/testing/selftests/bpf/
A Dxdp_metadata.h8 #ifndef ETH_P_IPV6
9 #define ETH_P_IPV6 0x86DD macro
/tools/testing/selftests/bpf/progs/
A Dtest_tc_tunnel.c421 eth.h_proto = bpf_htons(ETH_P_IPV6); in encap_ipv6_ipip6()
511 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none()
520 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none()
521 return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6); in __encap_ip6tnl_none()
538 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none()
539 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none()
547 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls()
556 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth()
565 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none()
566 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6); in __encap_ip6udp_none()
[all …]
A Dip_check_defrag.c10 #define ETH_P_IPV6 0x86DD macro
97 case ETH_P_IPV6: in defrag()
A Dtest_tc_neigh.c96 case __bpf_constant_htons(ETH_P_IPV6): in tc_dst()
121 case __bpf_constant_htons(ETH_P_IPV6): in tc_src()
A Dxdp_flowtable.c8 #define ETH_P_IPV6 0x86dd macro
108 case bpf_htons(ETH_P_IPV6): { in xdp_flowtable_do_lookup()
A Dtest_btf_skc_cls_ingress.c97 case bpf_htons(ETH_P_IPV6): in handle_ip_tcp()
190 eth->h_proto != bpf_htons(ETH_P_IPV6)) in cls_ingress()
A Ddecap_sanity.c39 if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6)) in decap_sanity()
A Dcgroup_skb_sk_lookup_kern.c72 if (skb->protocol != bpf_htons(ETH_P_IPV6)) in ingress_lookup()
A Dtest_migrate_reuseport.c68 case ETH_P_IPV6: { in drop_ack()
A Dtest_xdp.c196 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
227 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
A Dtest_xdp_loop.c192 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
223 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
A Dxdp_redirect_multi_kern.c71 if (h_proto == ETH_P_IPV6) { in xdp_redirect_map_multi_prog()
A Dbpf_flow.c124 case bpf_htons(ETH_P_IPV6): in parse_eth_proto()
192 return parse_eth_proto(skb, bpf_htons(ETH_P_IPV6)); in parse_ip_proto()
333 keys->addr_proto = ETH_P_IPV6; in PROG()
A Dcrypto_sanity.c26 if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6)) in skb_dynptr_validate()
A Dtest_pkt_access.c123 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in test_pkt_access()
A Dxdp_metadata.c58 if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in rx()
A Dtest_xdp_dynptr.c211 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
249 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
A Dxdp_hw_metadata.c55 if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in rx()
A Dbpf_tracing_net.h73 #define ETH_P_IPV6 0x86DD macro
/tools/testing/selftests/net/
A Dnat6to4.bpf.c62 if (skb->protocol != bpf_htons(ETH_P_IPV6)) in sched_cls_ingress6_nat_6_prog()
70 if (eth->h_proto != bpf_htons(ETH_P_IPV6)) in sched_cls_ingress6_nat_6_prog()
227 eth2.h_proto = bpf_htons(ETH_P_IPV6); // But replace the ethertype in sched_cls_egress4_snat4_prog()
254 if (bpf_skb_change_proto(skb, bpf_htons(ETH_P_IPV6), 0)) in sched_cls_egress4_snat4_prog()
A Dskf_net_off.c129 pi.proto = htons(ETH_P_IPV6); in tun_write()
133 eth.h_proto = htons(ETH_P_IPV6); in tun_write()
/tools/testing/selftests/net/lib/
A Dxdp_native.bpf.c87 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in filter_udphdr()
181 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in xdp_mode_tx_handler()
237 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in update_pkt()

Completed in 34 milliseconds

123