| /tools/testing/selftests/bpf/prog_tests/ |
| A D | flow_dissector.c | 134 .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 D | parse_tcp_hdr_opt.c | 16 .pk6_v6.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
|
| A D | kfree_skb.c | 40 if (CHECK(pkt_v6->eth.h_proto != htons(ETH_P_IPV6), "check_eth", in on_sample()
|
| /tools/testing/selftests/bpf/ |
| A D | xdp_metadata.h | 8 #ifndef ETH_P_IPV6 9 #define ETH_P_IPV6 0x86DD macro
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_tc_tunnel.c | 421 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 D | ip_check_defrag.c | 10 #define ETH_P_IPV6 0x86DD macro 97 case ETH_P_IPV6: in defrag()
|
| A D | test_tc_neigh.c | 96 case __bpf_constant_htons(ETH_P_IPV6): in tc_dst() 121 case __bpf_constant_htons(ETH_P_IPV6): in tc_src()
|
| A D | xdp_flowtable.c | 8 #define ETH_P_IPV6 0x86dd macro 108 case bpf_htons(ETH_P_IPV6): { in xdp_flowtable_do_lookup()
|
| A D | test_btf_skc_cls_ingress.c | 97 case bpf_htons(ETH_P_IPV6): in handle_ip_tcp() 190 eth->h_proto != bpf_htons(ETH_P_IPV6)) in cls_ingress()
|
| A D | decap_sanity.c | 39 if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6)) in decap_sanity()
|
| A D | cgroup_skb_sk_lookup_kern.c | 72 if (skb->protocol != bpf_htons(ETH_P_IPV6)) in ingress_lookup()
|
| A D | test_migrate_reuseport.c | 68 case ETH_P_IPV6: { in drop_ack()
|
| A D | test_xdp.c | 196 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 D | test_xdp_loop.c | 192 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 D | xdp_redirect_multi_kern.c | 71 if (h_proto == ETH_P_IPV6) { in xdp_redirect_map_multi_prog()
|
| A D | bpf_flow.c | 124 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 D | crypto_sanity.c | 26 if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6)) in skb_dynptr_validate()
|
| A D | test_pkt_access.c | 123 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in test_pkt_access()
|
| A D | xdp_metadata.c | 58 if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in rx()
|
| A D | test_xdp_dynptr.c | 211 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 D | xdp_hw_metadata.c | 55 if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in rx()
|
| A D | bpf_tracing_net.h | 73 #define ETH_P_IPV6 0x86DD macro
|
| /tools/testing/selftests/net/ |
| A D | nat6to4.bpf.c | 62 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 D | skf_net_off.c | 129 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 D | xdp_native.bpf.c | 87 } 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()
|