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

1234567891011>>

/linux-master/tools/testing/selftests/bpf/
H A Dxdp_metadata.h8 #ifndef ETH_P_IPV6
9 #define ETH_P_IPV6 0x86DD macro
/linux-master/include/net/
H A Dtun_proto.h22 return htons(ETH_P_IPV6);
38 case htons(ETH_P_IPV6):
H A Dinet_ecn.h181 case cpu_to_be16(ETH_P_IPV6):
199 case cpu_to_be16(ETH_P_IPV6):
217 case cpu_to_be16(ETH_P_IPV6):
295 case htons(ETH_P_IPV6):
314 case htons(ETH_P_IPV6):
/linux-master/samples/bpf/
H A Dnet_shared.h13 #define ETH_P_IPV6 0x86DD macro
H A Dtest_cgrp2_tc.bpf.c42 if (eth->h_proto != bpf_htons(ETH_P_IPV6) ||
H A Dtc_l2_redirect_kern.c52 else if (eth_proto == htons(ETH_P_IPV6))
89 } else if (eth->h_proto == htons(ETH_P_IPV6)) {
178 } else if (eth->h_proto == htons(ETH_P_IPV6)) {
224 } else if (eth->h_proto == htons(ETH_P_IPV6)) {
H A Dxdp_fwd_kern.c79 } else if (h_proto == htons(ETH_P_IPV6)) {
135 else if (h_proto == htons(ETH_P_IPV6))
/linux-master/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...]
H A Dparse_tcp_hdr_opt.c15 .pk6_v6.eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),
/linux-master/tools/testing/selftests/bpf/progs/
H A Dip_check_defrag.c10 #define ETH_P_IPV6 0x86DD macro
97 case ETH_P_IPV6:
H A Dtest_tc_tunnel.c421 eth.h_proto = bpf_htons(ETH_P_IPV6);
511 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
520 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
521 return encap_ipv6(skb, IPPROTO_IPV6, ETH_P_IPV6);
538 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
539 return encap_ipv6(skb, IPPROTO_GRE, ETH_P_IPV6);
547 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
556 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
565 if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6))
566 return encap_ipv6(skb, IPPROTO_UDP, ETH_P_IPV6);
[all...]
H A Ddecap_sanity.c39 if (skb->protocol != __bpf_constant_htons(ETH_P_IPV6))
H A Dtest_tc_neigh.c96 case __bpf_constant_htons(ETH_P_IPV6):
121 case __bpf_constant_htons(ETH_P_IPV6):
H A Dxdp_redirect_multi_kern.c58 else if (h_proto == bpf_htons(ETH_P_IPV6))
/linux-master/net/rxrpc/
H A Dutils.c30 case ETH_P_IPV6:
/linux-master/net/ipv6/netfilter/
H A Dip6t_eui64.c33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
H A Dnf_dup_ipv6.c42 skb->protocol = htons(ETH_P_IPV6);
/linux-master/include/linux/mlx5/
H A Dfs_helpers.h60 ethertype = ETH_P_IPV6;
/linux-master/tools/testing/selftests/net/
H A Dnat6to4.c62 if (skb->protocol != bpf_htons(ETH_P_IPV6))
70 if (eth->h_proto != bpf_htons(ETH_P_IPV6))
227 eth2.h_proto = bpf_htons(ETH_P_IPV6); // But replace the ethertype
254 if (bpf_skb_change_proto(skb, bpf_htons(ETH_P_IPV6), 0))
/linux-master/include/linux/
H A Dvirtio_net.h18 return protocol == cpu_to_be16(ETH_P_IPV6);
22 protocol == cpu_to_be16(ETH_P_IPV6);
41 skb->protocol = cpu_to_be16(ETH_P_IPV6);
135 skb->protocol = htons(ETH_P_IPV6);
/linux-master/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)
/linux-master/net/ipv6/
H A Dseg6_iptunnel.c121 } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) {
157 if (skb->protocol == htons(ETH_P_IPV6)) {
246 if (skb->protocol == htons(ETH_P_IPV6)) {
384 if (skb->protocol != htons(ETH_P_IPV6))
397 if (skb->protocol == htons(ETH_P_IPV6))
414 skb->protocol = htons(ETH_P_IPV6);
437 skb->protocol = htons(ETH_P_IPV6);
508 case htons(ETH_P_IPV6):
590 case htons(ETH_P_IPV6):
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Den_accel.h67 case htons(ETH_P_IPV6):
81 swp_spec.tun_l3_proto = htons(ETH_P_IPV6);
/linux-master/net/802/
H A Dfddi.c55 if(type != ETH_P_IP && type != ETH_P_IPV6 && type != ETH_P_ARP)
59 if(type == ETH_P_IP || type == ETH_P_IPV6 || type == ETH_P_ARP)
/linux-master/net/netfilter/
H A Dnft_fib_netdev.c37 case ETH_P_IPV6:

Completed in 222 milliseconds

1234567891011>>