Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/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()
214 else if (skb->protocol == htons(ETH_P_IPV6)) in IP_ECN_decapsulate()
229 else if (skb->protocol == htons(ETH_P_IPV6)) in IP6_ECN_decapsulate()
/Linux-v4.19/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()
115 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.c120 else if (proto == ETH_P_IPV6) in flow_dissector()
158 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-v4.19/net/ipv6/
Dseg6_iptunnel.c106 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { in seg6_make_flowlabel()
142 if (skb->protocol == htons(ETH_P_IPV6)) { in seg6_do_srh_encap()
237 if (skb->protocol != htons(ETH_P_IPV6)) in seg6_do_srh()
249 if (skb->protocol == htons(ETH_P_IPV6)) in seg6_do_srh()
262 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
278 skb->protocol = htons(ETH_P_IPV6); in seg6_do_srh()
Dxfrm6_output.c87 skb->protocol = htons(ETH_P_IPV6); in xfrm6_tunnel_check_size()
123 skb->protocol = htons(ETH_P_IPV6); in xfrm6_prepare_output()
164 if (skb->protocol == htons(ETH_P_IPV6)) in __xfrm6_output()
/Linux-v4.19/net/802/
Dfddi.c59 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP) in fddi_header()
63 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP) in fddi_header()
/Linux-v4.19/net/tipc/
Dudp_media.c128 else if (ntohs(ua->proto) == ETH_P_IPV6) in tipc_udp_addr2str()
298 else if (ntohs(addr->proto) == ETH_P_IPV6) in tipc_udp_rcast_add()
328 src.proto = htons(ETH_P_IPV6); in tipc_udp_rcast_disc()
416 } else if (ntohs(addr->proto) == ETH_P_IPV6) { in __tipc_nl_add_udp_addr()
580 addr->proto = htons(ETH_P_IPV6); in tipc_parse_udp_addr()
718 } else if (local.proto == htons(ETH_P_IPV6)) { in tipc_udp_enable()
/Linux-v4.19/net/netfilter/
Dnf_flow_table_inet.c16 case htons(ETH_P_IPV6): in nf_flow_offload_inet_hook()
Dnft_fib_netdev.c39 case ETH_P_IPV6: in nft_fib_netdev_eval()
/Linux-v4.19/net/batman-adv/
Dmulticast.c232 else if (src->proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_br_addr_cpy()
276 if (all_ipv6 && br_ip_entry->addr.proto == htons(ETH_P_IPV6)) in batadv_mcast_mla_bridge_get()
561 querier6.exists = br_multicast_has_querier_anywhere(dev, ETH_P_IPV6); in batadv_mcast_mla_tvlv_update()
562 querier6.shadowing = br_multicast_has_querier_adjacent(dev, ETH_P_IPV6); in batadv_mcast_mla_tvlv_update()
822 case ETH_P_IPV6: in batadv_mcast_forw_mode_check()
849 case ETH_P_IPV6: in batadv_mcast_forw_want_all_ip_count()
943 case ETH_P_IPV6: in batadv_mcast_forw_ip_node_get()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_pkt_access.c44 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in process()
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()
/Linux-v4.19/net/ipv6/netfilter/
Dip6t_eui64.c36 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) { in eui64_mt6()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c153 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_ipsec_set_swp()
166 if (skb->protocol == htons(ETH_P_IPV6)) in mlx5e_ipsec_set_swp()
274 skb->protocol != htons(ETH_P_IPV6)))) { in mlx5e_ipsec_handle_tx_skb()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_recv.c188 } else if (skb->protocol == htons(ETH_P_IPV6)) { in check_addr()
291 else if (skb->protocol == htons(ETH_P_IPV6)) in rxe_rcv_mcast_pkt()
397 if (skb->protocol == htons(ETH_P_IPV6)) in rxe_rcv()
/Linux-v4.19/net/bridge/
Dbr_netfilter_hooks.c77 (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6))
97 (vlan_proto(skb) == htons(ETH_P_IPV6) && \
538 if (skb->protocol == htons(ETH_P_IPV6)) in br_nf_forward_finish()
617 skb->protocol = htons(ETH_P_IPV6); in br_nf_forward_ip()
753 skb->protocol == htons(ETH_P_IPV6)) { in br_nf_dev_queue_xmit()
822 skb->protocol = htons(ETH_P_IPV6); in br_nf_post_routing()
Dbr_multicast.c69 case htons(ETH_P_IPV6): in br_ip_equal()
99 case htons(ETH_P_IPV6): in br_ip_hash()
148 br_dst.proto = htons(ETH_P_IPV6); in br_mdb_ip6_get()
175 case htons(ETH_P_IPV6): in br_mdb_get()
484 skb->protocol = htons(ETH_P_IPV6); in br_ip6_multicast_alloc_query()
491 eth->h_proto = htons(ETH_P_IPV6); in br_ip6_multicast_alloc_query()
584 case htons(ETH_P_IPV6): in br_multicast_alloc_query()
841 br_group.proto = htons(ETH_P_IPV6); in br_ip6_multicast_add_group()
981 br_group.proto = htons(ETH_P_IPV6); in br_multicast_send_query()
1328 case htons(ETH_P_IPV6): in br_multicast_select_querier()
[all …]
Dbr_arp_nd_proxy.c268 reply->protocol = htons(ETH_P_IPV6); in br_nd_send()
289 eth_hdr(reply)->h_proto = htons(ETH_P_IPV6); in br_nd_send()
290 reply->protocol = htons(ETH_P_IPV6); in br_nd_send()
/Linux-v4.19/net/rxrpc/
Dutils.c45 case ETH_P_IPV6: in rxrpc_extract_addr_from_skb()
/Linux-v4.19/include/uapi/linux/
Dif_ether.h74 #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ macro

123456789