/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | flow_dissector.c | 142 .addr_proto = ETH_P_IPV6, 144 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 187 .addr_proto = ETH_P_IPV6, 189 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 258 .addr_proto = ETH_P_IPV6, 260 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 283 .addr_proto = ETH_P_IPV6, 285 .n_proto = __bpf_constant_htons(ETH_P_IPV6), 304 .addr_proto = ETH_P_IPV6, 306 .n_proto = __bpf_constant_htons(ETH_P_IPV6), [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A 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 …]
|
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 | bpf_flow.c | 122 case bpf_htons(ETH_P_IPV6): in parse_eth_proto() 177 return parse_eth_proto(skb, bpf_htons(ETH_P_IPV6)); in parse_ip_proto() 318 keys->addr_proto = ETH_P_IPV6; in PROG()
|
A D | test_xdp.c | 195 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6() 226 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
|
A D | test_xdp_loop.c | 191 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6() 222 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
|
/linux/include/net/ |
A 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()
|
A D | tun_proto.h | 21 return htons(ETH_P_IPV6); in tun_p_to_eth_p() 37 case htons(ETH_P_IPV6): in tun_p_from_eth_p()
|
/linux/include/linux/ |
A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A 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/net/ipv6/ |
A D | seg6_iptunnel.c | 119 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { in seg6_make_flowlabel() 155 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap() 260 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh() 272 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh() 285 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh() 301 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh() 374 case htons(ETH_P_IPV6): in seg6_input_nf() 456 case htons(ETH_P_IPV6): in seg6_output_nf()
|
/linux/samples/bpf/ |
A 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()
|
A 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()
|
A 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()
|
A D | sockex2_kern.c | 122 else if (proto == ETH_P_IPV6) in flow_dissector() 160 else if (proto == ETH_P_IPV6) in flow_dissector()
|
A D | xdp_tx_iptunnel_kern.c | 199 set_ethhdr(new_eth, old_eth, tnl, htons(ETH_P_IPV6)); in handle_ipv6() 230 else if (h_proto == htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
|
/linux/net/batman-adv/ |
A D | multicast.c | 206 if (!br_multicast_has_router_adjacent(dev, ETH_P_IPV6)) in batadv_mcast_mla_rtr_flags_bridge_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() 1224 case ETH_P_IPV6: in batadv_mcast_forw_ip_node_get() 1329 case ETH_P_IPV6: in batadv_mcast_forw_rtr_node_get() 1576 case ETH_P_IPV6: in batadv_mcast_forw_want_all() [all …]
|
/linux/net/802/ |
A 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/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | en_accel.h | 66 case htons(ETH_P_IPV6): in mlx5e_tx_tunnel_accel() 80 swp_spec.tun_l3_proto = htons(ETH_P_IPV6); in mlx5e_tx_tunnel_accel()
|
/linux/net/netfilter/ |
A 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/net/tipc/ |
A 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/net/bridge/netfilter/ |
A D | nf_conntrack_bridge.c | 268 case htons(ETH_P_IPV6): in nf_ct_bridge_pre() 322 case htons(ETH_P_IPV6): in nf_ct_bridge_refrag() 382 case htons(ETH_P_IPV6): { in nf_ct_bridge_confirm()
|
/linux/net/bridge/ |
A 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() 285 case htons(ETH_P_IPV6): in __mdb_fill_info() 525 case htons(ETH_P_IPV6): in rtnl_mdb_nlmsg_size() 682 } else if (entry->addr.proto == htons(ETH_P_IPV6)) { in is_valid_mdb_entry() 726 case htons(ETH_P_IPV6): { in is_valid_mdb_source()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | txrx.h | 402 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp() 412 if (swp_spec->tun_l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp() 416 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
|
/linux/drivers/net/ethernet/qualcomm/rmnet/ |
A D | rmnet_map_data.c | 266 skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v5_checksum_uplink_packet() 424 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) in rmnet_map_checksum_downlink_packet() 458 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v4_checksum_uplink_packet()
|