Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c132 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
142 .addr_proto = ETH_P_IPV6,
144 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
176 .vlan_proto2 = __bpf_constant_htons(ETH_P_IPV6),
187 .addr_proto = ETH_P_IPV6,
189 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
245 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
258 .addr_proto = ETH_P_IPV6,
260 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
271 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c449 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 …]
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()
/Linux-v5.15/include/net/
Dtun_proto.h21 return htons(ETH_P_IPV6); in tun_p_to_eth_p()
37 case htons(ETH_P_IPV6): in tun_p_from_eth_p()
Dinet_ecn.h181 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ce()
200 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ect1()
278 case htons(ETH_P_IPV6): in IP_ECN_decapsulate()
297 case htons(ETH_P_IPV6): in IP6_ECN_decapsulate()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c72 .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-v5.15/samples/bpf/
Dtc_l2_redirect_kern.c52 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()
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()
Dsockex3_kern.c56 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()
Dsockex2_kern.c122 else if (proto == ETH_P_IPV6) in flow_dissector()
160 else if (proto == ETH_P_IPV6) in flow_dissector()
Dtest_cgrp2_tc_kern.c56 if (eth->h_proto != htons(ETH_P_IPV6) || in handle_egress()
Dxdp_tx_iptunnel_kern.c199 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-v5.15/net/ipv6/
Dseg6_iptunnel.c119 } 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()
252 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh()
264 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh()
277 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
293 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
366 case htons(ETH_P_IPV6): in seg6_input_nf()
448 case htons(ETH_P_IPV6): in seg6_output_nf()
/Linux-v5.15/net/batman-adv/
Dmulticast.c206 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()
1224 case ETH_P_IPV6: in batadv_mcast_forw_ip_node_get()
[all …]
/Linux-v5.15/net/802/
Dfddi.c55 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-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h66 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()
Dipsec_rxtx.c154 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_ipsec_set_swp()
194 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_ipsec_set_swp()
325 skb->protocol != htons(ETH_P_IPV6)))) in mlx5e_ipsec_tx_build_eseg()
375 skb->protocol != htons(ETH_P_IPV6)))) { in mlx5e_ipsec_handle_tx_skb()
/Linux-v5.15/net/netfilter/
Dnft_chain_filter.c180 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()
Dnf_flow_table_inet.c17 case htons(ETH_P_IPV6): in nf_flow_offload_inet_hook()
Dnft_fib_netdev.c37 case ETH_P_IPV6: in nft_fib_netdev_eval()
/Linux-v5.15/include/linux/
Dvirtio_net.h19 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto()
102 skb->protocol = htons(ETH_P_IPV6); in virtio_net_hdr_to_skb()
/Linux-v5.15/net/tipc/
Dudp_media.c136 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-v5.15/net/rxrpc/
Dutils.c30 case ETH_P_IPV6: in rxrpc_extract_addr_from_skb()
/Linux-v5.15/net/bridge/netfilter/
Dnf_conntrack_bridge.c268 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-v5.15/net/ipv6/netfilter/
Dip6t_eui64.c33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) { in eui64_mt6()

12345678910>>...12