Home
last modified time | relevance | path

Searched refs:ETH_P_IPV6 (Results 1 - 25 of 632) sorted by relevance

12345678910>>...26

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c137 .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...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A 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...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c378 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_sit_none()
387 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6tnl_none()
388 return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6); in __encap_ip6tnl_none()
396 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_none()
397 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6); in __encap_ip6gre_none()
405 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_mpls()
414 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6gre_eth()
423 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_none()
424 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6); in __encap_ip6udp_none()
432 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) in __encap_ip6udp_mpls()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c418 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...]
H A Dip_check_defrag.c10 #define ETH_P_IPV6 0x86DD macro
97 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()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxdp_metadata.h8 #ifndef ETH_P_IPV6
9 #define ETH_P_IPV6 0x86DD macro
/kernel/linux/linux-6.6/include/net/
H A Dinet_ecn.h181 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()
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()
/kernel/linux/linux-5.10/include/linux/
H A Dvirtio_net.h16 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()
/kernel/linux/linux-5.10/include/net/
H A 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()
H A Dinet_ecn.h183 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ce()
202 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ect1()
280 case htons(ETH_P_IPV6): in IP_ECN_decapsulate()
299 case htons(ETH_P_IPV6): in IP6_ECN_decapsulate()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
/kernel/linux/linux-6.6/net/ipv6/
H A Dseg6_iptunnel.c121 } 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()
/kernel/linux/linux-5.10/samples/bpf/
H A 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()
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()
/kernel/linux/linux-6.6/include/linux/
H A Dvirtio_net.h18 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()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dnat6to4.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()
/kernel/linux/linux-6.6/samples/bpf/
H A 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()
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()
/kernel/linux/linux-5.10/net/ipv6/
H A Dseg6_iptunnel.c118 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { in seg6_make_flowlabel()
154 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap()
263 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh()
275 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh()
288 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
304 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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()
/kernel/linux/linux-5.10/net/802/
H A 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()
/kernel/linux/linux-6.6/net/802/
H A 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()
/kernel/linux/linux-6.6/net/batman-adv/
H A 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()
1122 * IPv6 traffic if the protocol is ETH_P_IPV6. Otherwise returns 0.
1131 case ETH_P_IPV6 in batadv_mcast_forw_rtr_count()
[all...]

Completed in 13 milliseconds

12345678910>>...26