Home
last modified time | relevance | path

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

12

/external/linux-kselftest/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 …]
/external/linux-kselftest/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_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()
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()
Dtest_pkt_access.c71 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in test_pkt_access()
Dtest_tcp_check_syncookie_kern.c97 case ETH_P_IPV6: in check_syncookie()
Dtest_sk_lookup_kern.c39 } else if (eth_proto == bpf_htons(ETH_P_IPV6)) { in get_tuple()
Dtest_l4lb_noinline.c468 else if (eth_proto == bpf_htons(ETH_P_IPV6)) in balancer_ingress()
/external/iproute2/tc/
Df_flower.c205 if (eth_type != htons(ETH_P_IP) && eth_type != htons(ETH_P_IPV6)) in flower_parse_ip_proto()
219 if (eth_type != htons(ETH_P_IPV6)) in flower_parse_ip_proto()
287 } else if (eth_type == htons(ETH_P_IPV6)) { in flower_parse_ip_addr()
405 else if (eth_type == htons(ETH_P_IPV6) && ip_proto == IPPROTO_ICMPV6) in flower_icmp_attr_type()
420 else if (eth_type == htons(ETH_P_IPV6) && ip_proto == IPPROTO_ICMPV6) in flower_icmp_attr_mask_type()
986 else if (eth_type == htons(ETH_P_IPV6)) in flower_print_eth_type()
1085 } else if (eth_type == htons(ETH_P_IPV6)) { in flower_print_ip_addr()
1278 htons(ETH_P_IP) : htons(ETH_P_IPV6), in flower_print_opt()
1286 htons(ETH_P_IP) : htons(ETH_P_IPV6), in flower_print_opt()
/external/strace/xlat/
Dethernet_protocols.h377 #if defined(ETH_P_IPV6) || (defined(HAVE_DECL_ETH_P_IPV6) && HAVE_DECL_ETH_P_IPV6)
379 static_assert((ETH_P_IPV6) == (0x86DD), "ETH_P_IPV6 != 0x86DD");
382 # define ETH_P_IPV6 0x86DD
703 XLAT(ETH_P_IPV6),
Dethernet_protocols.in55 ETH_P_IPV6 0x86DD /* IPv6 over bluebook */
/external/iproute2/include/uapi/linux/
Dif_ether.h72 #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ macro
/external/libnl/include/linux-private/linux/
Dif_ether.h74 #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ macro
/external/kernel-headers/original/uapi/linux/
Dif_ether.h74 #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ macro
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c183 lladdr_p->sll_protocol = htons(ETH_P_IPV6); /* IPv6 */ in specify_hw_addr()
214 lladdr_p->sll_protocol = htons(ETH_P_IPV6); /* IPv6 */ in calc_hd_mcastaddr()
722 sock_fd = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); in send_packets()
Dns-icmp_redirector.c524 sndeth.hdr.h_proto = htons(ETH_P_IPV6); in return_neigh_adv()
626 sndeth.hdr.h_proto = htons(ETH_P_IPV6); in return_icmp6_redirect()
782 case ETH_P_IPV6: in capture_frames()
Dns-common.c268 ll->sll_protocol = htons(ETH_P_IPV6); /* IPv6 */ in eth_pton()
/external/android-clat/
Dclatd_test.cpp450 expected_proto = htons(ETH_P_IPV6); in do_translate_packet()
565 .read_fd6 = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)), in makeTunData()
891 EXPECT_EQ(htons(ETH_P_IPV6), sll.sll_protocol); in expectSocketBound()
915 EXPECT_EQ(htons(ETH_P_IPV6), sll.sll_protocol); in TEST_F()
926 .read_fd6 = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)), in TEST_F()
Dclatd.c96 .sll_protocol = htons(ETH_P_IPV6), in configure_packet_socket()
/external/scapy/scapy/
Ddata.py33 ETH_P_IPV6 = 0x86dd variable
/external/scapy/scapy/contrib/
Dmacsec.py211 bind_layers(MACsec, IPv6, type=ETH_P_IPV6)
/external/toybox/toys/pending/
Ddhcp6.c246 TT.sock = xsocket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IPV6)); in mode_raw()
250 sockll.sll_protocol = htons(ETH_P_IPV6); in mode_raw()
/external/iproute2/bridge/
Dmdb.c436 entry.addr.proto = htons(ETH_P_IPV6); in mdb_modify()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c177 .eth.h_proto = __bpf_constant_htons(ETH_P_IPV6),

12