Home
last modified time | relevance | path

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

12345678910>>...13

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c124 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
134 .addr_proto = ETH_P_IPV6,
136 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
170 .vlan_proto2 = __bpf_constant_htons(ETH_P_IPV6),
181 .addr_proto = ETH_P_IPV6,
183 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
242 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
255 .addr_proto = ETH_P_IPV6,
257 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
269 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c430 eth.h_proto = bpf_htons(ETH_P_IPV6); in encap_ipv6_ipip6()
520 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none()
529 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none()
530 return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6); in __encap_ip6tnl_none()
547 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none()
548 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none()
556 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls()
565 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth()
574 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none()
575 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6); in __encap_ip6udp_none()
[all …]
H A Dip_check_defrag.c10 #define ETH_P_IPV6 0x86DD macro
92 case ETH_P_IPV6: in defrag()
H 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()
H A Dxdp_flowtable.c8 #define ETH_P_IPV6 0x86dd macro
111 case bpf_htons(ETH_P_IPV6): { in xdp_flowtable_do_lookup()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dpsp_rxtx.c38 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_psp_set_swp()
65 case ETH_P_IPV6: in mlx5e_psp_set_swp()
82 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_psp_set_swp()
143 skb->protocol != htons(ETH_P_IPV6))) in mlx5e_psp_tx_build_eseg()
H A Den_accel.h69 case htons(ETH_P_IPV6): in mlx5e_tx_tunnel_accel()
83 swp_spec.tun_l3_proto = htons(ETH_P_IPV6); in mlx5e_tx_tunnel_accel()
H A Dipsec_rxtx.c94 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/tools/testing/selftests/bpf/
H A Dxdp_metadata.h8 #ifndef ETH_P_IPV6
9 #define ETH_P_IPV6 0x86DD macro
/linux/include/net/
H A Dtun_proto.h22 return htons(ETH_P_IPV6); in tun_p_to_eth_p()
38 case htons(ETH_P_IPV6): in tun_p_from_eth_p()
H A Dip_tunnels.h469 case htons(ETH_P_IPV6): in pskb_inet_may_pull_reason()
505 case htons(ETH_P_IPV6): in skb_vlan_inet_prepare()
575 else if (payload_protocol == htons(ETH_P_IPV6)) in ip_tunnel_get_dsfield()
586 if (payload_protocol == htons(ETH_P_IPV6)) in ip_tunnel_get_flowlabel()
599 else if (payload_protocol == htons(ETH_P_IPV6)) in ip_tunnel_get_ttl()
/linux/tools/testing/selftests/net/
H 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()
H 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_ttc.c98 .etype = ETH_P_IPV6,
106 .etype = ETH_P_IPV6,
114 .etype = ETH_P_IPV6,
122 .etype = ETH_P_IPV6,
130 .etype = ETH_P_IPV6,
145 .etype = ETH_P_IPV6,
153 .etype = ETH_P_IPV6,
161 .etype = ETH_P_IPV6,
302 if (ethertype == ETH_P_IPV6) in mlx5_etype_to_ipv()
992 *etype = ETH_P_IPV6; in mlx5_ttc_get_tt_attrs()
[all …]
/linux/net/ipv6/
H A Dseg6_iptunnel.c135 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { in seg6_make_flowlabel()
173 if (skb->protocol == htons(ETH_P_IPV6)) { in __seg6_do_srh_encap()
271 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap_red()
410 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh()
423 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh()
442 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
467 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
628 case htons(ETH_P_IPV6): in seg6_input_nf()
731 case htons(ETH_P_IPV6): in seg6_output_nf()
/linux/net/batman-adv/
H A Dmulticast.c205 if (!br_multicast_has_router_adjacent(dev, ETH_P_IPV6)) in batadv_mcast_mla_rtr_flags_bridge_get()
305 qr6->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get()
306 qr6->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get()
564 else if (src->proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_br_addr_cpy()
619 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) { in batadv_mcast_mla_bridge_get()
1087 *is_routable = ETH_P_IPV6; in batadv_mcast_forw_mode_check_ipv6()
1119 case ETH_P_IPV6: in batadv_mcast_forw_mode_check()
1147 case ETH_P_IPV6: in batadv_mcast_forw_want_all_ip_count()
1171 case ETH_P_IPV6: in batadv_mcast_forw_rtr_count()
1441 case ETH_P_IPV6: in batadv_mcast_forw_want_all()
[all …]
/linux/samples/bpf/
H A Dxdp_fwd_kern.c79 } 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()
H A Dsockex3_kern.c143 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()
H A Dnet_shared.h13 #define ETH_P_IPV6 0x86DD macro
H A Dsockex2_kern.c121 else if (proto == ETH_P_IPV6) in flow_dissector()
159 else if (proto == ETH_P_IPV6) in flow_dissector()
/linux/net/netfilter/
H A Dnft_chain_filter.c181 case htons(ETH_P_IPV6): in nft_do_chain_inet_ingress()
244 case htons(ETH_P_IPV6): in nft_do_chain_bridge()
299 case htons(ETH_P_IPV6): in nft_do_chain_netdev()
/linux/net/tipc/
H A Dudp_media.c140 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str()
327 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add()
355 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc()
438 } else if (ntohs(addr->proto) == ETH_P_IPV6) { in __tipc_nl_add_udp_addr()
598 addr->proto = htons(ETH_P_IPV6); in tipc_parse_udp_addr()
741 } else if (local.proto == htons(ETH_P_IPV6)) { in tipc_udp_enable()
/linux/net/xfrm/
H A Dxfrm_output.c278 bool small_ipv6 = (skb->protocol == htons(ETH_P_IPV6)) && (skb->len <= IPV6_MIN_MTU); in xfrm4_tunnel_encap_add()
444 skb->protocol = htons(ETH_P_IPV6); in xfrm6_prepare_output()
739 case ETH_P_IPV6: in xfrm_get_inner_ipproto()
905 skb->protocol = htons(ETH_P_IPV6); in xfrm6_tunnel_check_size()
945 case htons(ETH_P_IPV6): in xfrm_inner_extract_output()
959 else if (skb->protocol == htons(ETH_P_IPV6) && in xfrm_local_error()
/linux/net/rxrpc/
H A Dutils.c30 case ETH_P_IPV6: in rxrpc_extract_addr_from_skb()
/linux/include/linux/mlx5/
H A Dfs_helpers.h60 ethertype = ETH_P_IPV6; in _mlx5_fs_is_outer_ipv_flow()

12345678910>>...13