/linux-6.1.9/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.1.9/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 449 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none() 458 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none() 459 return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6); in __encap_ip6tnl_none() 467 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none() 468 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none() 476 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls() 485 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth() 494 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none() 495 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6); in __encap_ip6udp_none() 503 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_mpls() [all …]
|
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.1.9/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.1.9/include/linux/ |
D | virtio_net.h | 16 return protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 19 protocol == cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_match_proto() 37 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto() 123 skb->protocol = htons(ETH_P_IPV6); in virtio_net_hdr_to_skb()
|
/linux-6.1.9/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.1.9/tools/testing/selftests/net/bpf/ |
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.1.9/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 | 56 case ETH_P_IPV6: in parse_eth_proto() 178 parse_eth_proto(skb, ETH_P_IPV6); in parse_ip_proto() 274 parse_eth_proto(skb, ETH_P_IPV6); in PROG()
|
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.1.9/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() 509 case htons(ETH_P_IPV6): in seg6_input_nf() 591 case htons(ETH_P_IPV6): in seg6_output_nf()
|
/linux-6.1.9/net/batman-adv/ |
D | multicast.c | 207 if (!br_multicast_has_router_adjacent(dev, ETH_P_IPV6)) in batadv_mcast_mla_rtr_flags_bridge_get() 276 qr6->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get() 277 qr6->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get() 534 else if (src->proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_br_addr_cpy() 588 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) { in batadv_mcast_mla_bridge_get() 1048 *is_routable = ETH_P_IPV6; in batadv_mcast_forw_mode_check_ipv6() 1080 case ETH_P_IPV6: in batadv_mcast_forw_mode_check() 1108 case ETH_P_IPV6: in batadv_mcast_forw_want_all_ip_count() 1132 case ETH_P_IPV6: in batadv_mcast_forw_rtr_count() 1225 case ETH_P_IPV6: in batadv_mcast_forw_ip_node_get() [all …]
|
/linux-6.1.9/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.1.9/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()
|
/linux-6.1.9/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 | 91 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_ipsec_set_swp() 235 skb->protocol != htons(ETH_P_IPV6)))) in mlx5e_ipsec_tx_build_eseg() 282 skb->protocol != htons(ETH_P_IPV6)))) { in mlx5e_ipsec_handle_tx_skb()
|
/linux-6.1.9/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() 748 } else if (local.proto == htons(ETH_P_IPV6)) { in tipc_udp_enable()
|
/linux-6.1.9/net/rxrpc/ |
D | utils.c | 30 case ETH_P_IPV6: in rxrpc_extract_addr_from_skb()
|
/linux-6.1.9/net/bridge/netfilter/ |
D | nf_conntrack_bridge.c | 269 case htons(ETH_P_IPV6): in nf_ct_bridge_pre() 323 case htons(ETH_P_IPV6): in nf_ct_bridge_refrag() 383 case htons(ETH_P_IPV6): { in nf_ct_bridge_confirm()
|
/linux-6.1.9/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 266 skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v5_checksum_uplink_packet() 422 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) in rmnet_map_checksum_downlink_packet() 456 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v4_checksum_uplink_packet()
|
/linux-6.1.9/include/linux/mlx5/ |
D | fs_helpers.h | 60 ethertype = ETH_P_IPV6; in _mlx5_fs_is_outer_ipv_flow()
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | ip6t_eui64.c | 33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) { in eui64_mt6()
|
/linux-6.1.9/net/bridge/ |
D | br_mdb.c | 162 case htons(ETH_P_IPV6): in __mdb_entry_to_br_ip() 201 case htons(ETH_P_IPV6): in __mdb_fill_srcs() 257 } else if (mp->addr.proto == htons(ETH_P_IPV6)) { in __mdb_fill_info() 287 case htons(ETH_P_IPV6): in __mdb_fill_info() 527 case htons(ETH_P_IPV6): in rtnl_mdb_nlmsg_size() 684 } else if (entry->addr.proto == htons(ETH_P_IPV6)) { in is_valid_mdb_entry() 728 case htons(ETH_P_IPV6): { in is_valid_mdb_source()
|