Home
last modified time | relevance | path

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

12345678910>>...14

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
H A Dtest_tc_neigh.c110 case __bpf_constant_htons(ETH_P_IPV6): in tc_dst()
134 case __bpf_constant_htons(ETH_P_IPV6): in tc_src()
H A 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()
H A Dtest_xdp.c197 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
228 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
H A Dtest_xdp_loop.c193 set_ethhdr(new_eth, old_eth, tnl, bpf_htons(ETH_P_IPV6)); in handle_ipv6()
224 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/net/
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()
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()
/OK3568_Linux_fs/kernel/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 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()
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 Dsockex2_kern.c122 else if (proto == ETH_P_IPV6) in flow_dissector()
160 else if (proto == ETH_P_IPV6) in flow_dissector()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/batman-adv/
H A Dmulticast.c223 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6) && in batadv_mcast_mla_rtr_flags_bridge_get()
308 qr6->exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get()
309 qr6->shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6); in batadv_mcast_mla_flags_get()
567 else if (src->proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_br_addr_cpy()
621 if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) { in batadv_mcast_mla_bridge_get()
1081 *is_routable = ETH_P_IPV6; in batadv_mcast_forw_mode_check_ipv6()
1113 case ETH_P_IPV6: in batadv_mcast_forw_mode_check()
1141 case ETH_P_IPV6: in batadv_mcast_forw_want_all_ip_count()
1165 case ETH_P_IPV6: in batadv_mcast_forw_rtr_count()
1258 case ETH_P_IPV6: in batadv_mcast_forw_ip_node_get()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/tipc/
H A Dudp_media.c130 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str()
317 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add()
347 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc()
432 } else if (ntohs(addr->proto) == ETH_P_IPV6) { in __tipc_nl_add_udp_addr()
592 addr->proto = htons(ETH_P_IPV6); in tipc_parse_udp_addr()
740 } else if (local.proto == htons(ETH_P_IPV6)) { in tipc_udp_enable()
/OK3568_Linux_fs/kernel/net/netfilter/
H A 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_recv.c145 } else if (skb->protocol == htons(ETH_P_IPV6)) { in check_addr()
248 else if (skb->protocol == htons(ETH_P_IPV6)) in rxe_rcv_mcast_pkt()
383 if (skb->protocol == htons(ETH_P_IPV6)) in rxe_rcv()
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_mdb.c84 case htons(ETH_P_IPV6): in __mdb_entry_to_br_ip()
121 case htons(ETH_P_IPV6): in __mdb_fill_srcs()
177 if (mp->addr.proto == htons(ETH_P_IPV6)) in __mdb_fill_info()
203 case htons(ETH_P_IPV6): in __mdb_fill_info()
440 case htons(ETH_P_IPV6): in rtnl_mdb_nlmsg_size()
690 } else if (entry->addr.proto == htons(ETH_P_IPV6)) { in is_valid_mdb_entry()
728 case htons(ETH_P_IPV6): { in is_valid_mdb_source()
H A Dbr_netfilter_hooks.c70 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
97 return vlan_proto(skb) == htons(ETH_P_IPV6) && in is_vlan_ipv6()
552 if (skb->protocol == htons(ETH_P_IPV6)) in br_nf_forward_finish()
634 skb->protocol = htons(ETH_P_IPV6); in br_nf_forward_ip()
786 skb->protocol == htons(ETH_P_IPV6)) { in br_nf_dev_queue_xmit()
853 skb->protocol = htons(ETH_P_IPV6); in br_nf_post_routing()
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtxrx.h384 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
394 if (swp_spec->tun_l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
398 if (swp_spec->l3_proto == htons(ETH_P_IPV6)) in mlx5e_set_eseg_swp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c71 case htons(ETH_P_IPV6): in nfp_abm_u32_check_knode()
245 cls_u32->common.protocol != htons(ETH_P_IPV6)) { in nfp_abm_setup_tc_block_cb()

12345678910>>...14