Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c128 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
138 .addr_proto = ETH_P_IPV6,
140 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
172 .vlan_proto2 = __bpf_constant_htons(ETH_P_IPV6),
183 .addr_proto = ETH_P_IPV6,
185 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
241 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
254 .addr_proto = ETH_P_IPV6,
256 .n_proto = __bpf_constant_htons(ETH_P_IPV6),
267 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
[all …]
/Linux-v5.4/tools/testing/selftests/bpf/progs/
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 …]
Dbpf_flow.c123 case bpf_htons(ETH_P_IPV6): in parse_eth_proto()
178 return parse_eth_proto(skb, bpf_htons(ETH_P_IPV6)); in parse_ip_proto()
319 keys->addr_proto = ETH_P_IPV6; in PROG()
Dtest_pkt_access.c41 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in process()
/Linux-v5.4/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.h152 case cpu_to_be16(ETH_P_IPV6): in INET_ECN_set_ce()
224 else if (skb->protocol == htons(ETH_P_IPV6)) in IP_ECN_decapsulate()
239 else if (skb->protocol == htons(ETH_P_IPV6)) in IP6_ECN_decapsulate()
/Linux-v5.4/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.c80 } else if (h_proto == htons(ETH_P_IPV6)) { in xdp_fwd_flags()
136 else if (h_proto == htons(ETH_P_IPV6)) in xdp_fwd_flags()
Dsockex3_kern.c53 case ETH_P_IPV6: in parse_eth_proto()
175 parse_eth_proto(skb, ETH_P_IPV6); in parse_ip_proto()
271 parse_eth_proto(skb, ETH_P_IPV6); in PROG()
Dsockex2_kern.c121 else if (proto == ETH_P_IPV6) in flow_dissector()
159 else if (proto == ETH_P_IPV6) in flow_dissector()
/Linux-v5.4/net/ipv6/
Dseg6_iptunnel.c101 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { in seg6_make_flowlabel()
137 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap()
234 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh()
246 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh()
259 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
275 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
Dxfrm6_output.c83 skb->protocol = htons(ETH_P_IPV6); in xfrm6_tunnel_check_size()
162 if (skb->protocol == htons(ETH_P_IPV6)) in __xfrm6_output()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Den_accel.h63 case htons(ETH_P_IPV6): in mlx5e_tx_tunnel_accel()
77 swp_spec.tun_l3_proto = htons(ETH_P_IPV6); in mlx5e_tx_tunnel_accel()
/Linux-v5.4/net/batman-adv/
Dmulticast.c222 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6) && in batadv_mcast_mla_rtr_flags_bridge_get()
307 qr6->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get()
308 qr6->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get()
566 else if (src->proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_br_addr_cpy()
620 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) { in batadv_mcast_mla_bridge_get()
1080 *is_routable = ETH_P_IPV6; in batadv_mcast_forw_mode_check_ipv6()
1112 case ETH_P_IPV6: in batadv_mcast_forw_mode_check()
1140 case ETH_P_IPV6: in batadv_mcast_forw_want_all_ip_count()
1164 case ETH_P_IPV6: in batadv_mcast_forw_rtr_count()
1257 case ETH_P_IPV6: in batadv_mcast_forw_ip_node_get()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h198 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
208 if (swp_spec->tun_l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
212 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
/Linux-v5.4/include/linux/
Dvirtio_net.h17 skb->protocol = cpu_to_be16(ETH_P_IPV6); in virtio_net_hdr_set_proto()
73 skb->protocol = htons(ETH_P_IPV6); in virtio_net_hdr_to_skb()
/Linux-v5.4/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.4/net/tipc/
Dudp_media.c129 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str()
309 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add()
339 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc()
423 } else if (ntohs(addr->proto) == ETH_P_IPV6) { in __tipc_nl_add_udp_addr()
587 addr->proto = htons(ETH_P_IPV6); in tipc_parse_udp_addr()
736 } else if (local.proto == htons(ETH_P_IPV6)) { in tipc_udp_enable()
/Linux-v5.4/net/netfilter/
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.4/drivers/net/ethernet/mscc/
Docelot_flower.c82 proto == ETH_P_IPV6 || in ocelot_flower_parse()
110 if (ntohs(match.key->n_proto) == ETH_P_IPV6) { in ocelot_flower_parse()
139 ntohs(f->common.protocol) == ETH_P_IPV6) { in ocelot_flower_parse()
/Linux-v5.4/net/rxrpc/
Dutils.c30 case ETH_P_IPV6: in rxrpc_extract_addr_from_skb()
/Linux-v5.4/net/bridge/netfilter/
Dnf_conntrack_bridge.c258 case htons(ETH_P_IPV6): in nf_ct_bridge_pre()
312 case htons(ETH_P_IPV6): in nf_ct_bridge_refrag()
372 case htons(ETH_P_IPV6): { in nf_ct_bridge_confirm()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_recv.c188 } else if (skb->protocol == htons(ETH_P_IPV6)) { in check_addr()
289 else if (skb->protocol == htons(ETH_P_IPV6)) in rxe_rcv_mcast_pkt()
395 if (skb->protocol == htons(ETH_P_IPV6)) in rxe_rcv()
/Linux-v5.4/net/ipv6/netfilter/
Dip6t_eui64.c33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) { in eui64_mt6()

1234567891011