/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 137 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6), 147 .addr_proto = ETH_P_IPV6, 149 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 183 .vlan_proto2 = __bpf_constant_htons(ETH_P_IPV6), 194 .addr_proto = ETH_P_IPV6, 196 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 255 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6), 268 .addr_proto = ETH_P_IPV6, 270 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 282 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6), [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 418 eth.h_proto = bpf_htons(ETH_P_IPV6); in encap_ipv6_ipip6() 508 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none() 517 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none() 518 return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6); in __encap_ip6tnl_none() 535 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none() 536 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none() 544 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls() 553 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth() 562 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none() 563 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6); in __encap_ip6udp_none() [all …]
|
D | ip_check_defrag.c | 10 #define ETH_P_IPV6 0x86DD macro 97 case ETH_P_IPV6: in defrag()
|
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()
|
/linux-6.6.21/include/net/ |
D | inet_ecn.h | 181 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ce() 199 case cpu_to_be16(ETH_P_IPV6): in skb_get_dsfield() 217 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ect1() 295 case htons(ETH_P_IPV6): in IP_ECN_decapsulate() 314 case htons(ETH_P_IPV6): in IP6_ECN_decapsulate()
|
D | tun_proto.h | 22 return htons(ETH_P_IPV6); in tun_p_to_eth_p() 38 case htons(ETH_P_IPV6): in tun_p_from_eth_p()
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xdp_metadata.h | 8 #ifndef ETH_P_IPV6 9 #define ETH_P_IPV6 0x86DD macro
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_ttc.c | 72 .etype = ETH_P_IPV6, 80 .etype = ETH_P_IPV6, 88 .etype = ETH_P_IPV6, 96 .etype = ETH_P_IPV6, 104 .etype = ETH_P_IPV6, 119 .etype = ETH_P_IPV6, 127 .etype = ETH_P_IPV6, 135 .etype = ETH_P_IPV6, 185 if (ethertype == ETH_P_IPV6) in mlx5_etype_to_ipv()
|
/linux-6.6.21/include/linux/ |
D | virtio_net.h | 18 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 22 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 41 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto() 135 skb->protocol = htons(ETH_P_IPV6); in virtio_net_hdr_to_skb()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | nat6to4.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()
|
/linux-6.6.21/samples/bpf/ |
D | tc_l2_redirect_kern.c | 52 else if (eth_proto == htons(ETH_P_IPV6)) in is_vip_addr() 89 } else if (eth->h_proto == htons(ETH_P_IPV6)) { in _l2_to_iptun_ingress_forward() 178 } else if (eth->h_proto == htons(ETH_P_IPV6)) { in _l2_to_ip6tun_ingress_redirect() 224 } else if (eth->h_proto == htons(ETH_P_IPV6)) { in _drop_non_tun_vip()
|
D | xdp_fwd_kern.c | 79 } else if (h_proto == htons(ETH_P_IPV6)) { in xdp_fwd_flags() 135 else if (h_proto == htons(ETH_P_IPV6)) in xdp_fwd_flags()
|
D | sockex3_kern.c | 143 parse_eth_proto(skb, ETH_P_IPV6); in parse_ip_proto() 243 parse_eth_proto(skb, ETH_P_IPV6); in bpf_func_mpls() 287 case ETH_P_IPV6: in parse_eth_proto()
|
D | net_shared.h | 13 #define ETH_P_IPV6 0x86DD macro
|
D | sockex2_kern.c | 122 else if (proto == ETH_P_IPV6) in flow_dissector() 160 else if (proto == ETH_P_IPV6) in flow_dissector()
|
/linux-6.6.21/net/ipv6/ |
D | seg6_iptunnel.c | 121 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { in seg6_make_flowlabel() 157 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap() 246 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap_red() 384 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh() 397 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh() 414 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh() 437 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh() 508 case htons(ETH_P_IPV6): in seg6_input_nf() 590 case htons(ETH_P_IPV6): in seg6_output_nf()
|
/linux-6.6.21/net/batman-adv/ |
D | multicast.c | 206 if (!br_multicast_has_router_adjacent(dev, ETH_P_IPV6)) in batadv_mcast_mla_rtr_flags_bridge_get() 275 qr6->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get() 276 qr6->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get() 533 else if (src->proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_br_addr_cpy() 587 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) { in batadv_mcast_mla_bridge_get() 1047 *is_routable = ETH_P_IPV6; in batadv_mcast_forw_mode_check_ipv6() 1079 case ETH_P_IPV6: in batadv_mcast_forw_mode_check() 1107 case ETH_P_IPV6: in batadv_mcast_forw_want_all_ip_count() 1131 case ETH_P_IPV6: in batadv_mcast_forw_rtr_count() 1356 case ETH_P_IPV6: in batadv_mcast_forw_want_all() [all …]
|
/linux-6.6.21/net/802/ |
D | fddi.c | 55 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) in fddi_header() 59 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) in fddi_header()
|
/linux-6.6.21/net/netfilter/ |
D | nft_chain_filter.c | 180 case htons(ETH_P_IPV6): in nft_do_chain_inet_ingress() 243 case htons(ETH_P_IPV6): in nft_do_chain_bridge() 298 case htons(ETH_P_IPV6): in nft_do_chain_netdev()
|
D | nft_inner.c | 69 case htons(ETH_P_IPV6): in nft_inner_parse_l2l3() 102 llproto = htons(ETH_P_IPV6); in nft_inner_parse_l2l3() 137 case htons(ETH_P_IPV6): { in nft_inner_parse_l2l3()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | en_accel.h | 67 case htons(ETH_P_IPV6): in mlx5e_tx_tunnel_accel() 81 swp_spec.tun_l3_proto = htons(ETH_P_IPV6); in mlx5e_tx_tunnel_accel()
|
D | ipsec_rxtx.c | 94 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_ipsec_set_swp() 238 skb->protocol != htons(ETH_P_IPV6)))) in mlx5e_ipsec_tx_build_eseg() 285 skb->protocol != htons(ETH_P_IPV6)))) { in mlx5e_ipsec_handle_tx_skb()
|
/linux-6.6.21/net/tipc/ |
D | udp_media.c | 136 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str() 323 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add() 353 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc() 440 } else if (ntohs(addr->proto) == ETH_P_IPV6) { in __tipc_nl_add_udp_addr() 600 addr->proto = htons(ETH_P_IPV6); in tipc_parse_udp_addr() 744 } else if (local.proto == htons(ETH_P_IPV6)) { in tipc_udp_enable()
|
/linux-6.6.21/net/xfrm/ |
D | xfrm_output.c | 275 bool small_ipv6 = (skb->protocol == htons(ETH_P_IPV6)) && (skb->len <= IPV6_MIN_MTU); in xfrm4_tunnel_encap_add() 437 skb->protocol = htons(ETH_P_IPV6); in xfrm6_prepare_output() 694 case ETH_P_IPV6: in xfrm_get_inner_ipproto() 843 skb->protocol = htons(ETH_P_IPV6); in xfrm6_tunnel_check_size() 882 case htons(ETH_P_IPV6): in xfrm_inner_extract_output() 896 else if (skb->protocol == htons(ETH_P_IPV6) && in xfrm_local_error()
|
/linux-6.6.21/net/rxrpc/ |
D | utils.c | 30 case ETH_P_IPV6: in rxrpc_extract_addr_from_skb()
|