Home
last modified time | relevance | path

Searched refs:ipv6 (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/external/iptables/iptables/
Dnft-ipv6.c35 if (cs->fw6.ipv6.iniface[0] != '\0') { in nft_ipv6_add()
36 op = nft_invflags2cmp(cs->fw6.ipv6.invflags, IPT_INV_VIA_IN); in nft_ipv6_add()
37 add_iniface(r, cs->fw6.ipv6.iniface, op); in nft_ipv6_add()
40 if (cs->fw6.ipv6.outiface[0] != '\0') { in nft_ipv6_add()
41 op = nft_invflags2cmp(cs->fw6.ipv6.invflags, IPT_INV_VIA_OUT); in nft_ipv6_add()
42 add_outiface(r, cs->fw6.ipv6.outiface, op); in nft_ipv6_add()
45 if (cs->fw6.ipv6.proto != 0) { in nft_ipv6_add()
46 op = nft_invflags2cmp(cs->fw6.ipv6.invflags, XT_INV_PROTO); in nft_ipv6_add()
48 cs->fw6.ipv6.proto, op); in nft_ipv6_add()
51 if (!IN6_IS_ADDR_UNSPECIFIED(&cs->fw6.ipv6.src)) { in nft_ipv6_add()
[all …]
Dip6tables.c570 fputc(fw->ipv6.invflags & XT_INV_PROTO ? '!' : ' ', stdout); in print_firewall()
572 const char *pname = proto_to_name(fw->ipv6.proto, format&FMT_NUMERIC); in print_firewall()
576 printf(FMT("%-5hu", "%hu "), fw->ipv6.proto); in print_firewall()
590 if (fw->ipv6.invflags & IP6T_INV_VIA_IN) { in print_firewall()
596 if (fw->ipv6.iniface[0] != '\0') { in print_firewall()
597 strcat(iface, fw->ipv6.iniface); in print_firewall()
603 if (fw->ipv6.invflags & IP6T_INV_VIA_OUT) { in print_firewall()
609 if (fw->ipv6.outiface[0] != '\0') { in print_firewall()
610 strcat(iface, fw->ipv6.outiface); in print_firewall()
617 fputc(fw->ipv6.invflags & IP6T_INV_SRCIP ? '!' : ' ', stdout); in print_firewall()
[all …]
/external/iptables/libiptc/
Dlibip6tc.c142 inet_ntop(AF_INET6, &e->ipv6.src, buf, sizeof buf); in dump_entry()
145 len = ipv6_prefix_length(&e->ipv6.smsk); in dump_entry()
149 inet_ntop(AF_INET6, &e->ipv6.smsk, buf, sizeof buf); in dump_entry()
155 inet_ntop(AF_INET6, &e->ipv6.dst, buf, sizeof buf); in dump_entry()
158 len = ipv6_prefix_length(&e->ipv6.dmsk); in dump_entry()
162 inet_ntop(AF_INET6, &e->ipv6.dmsk, buf, sizeof buf); in dump_entry()
167 printf("Interface: `%s'/", e->ipv6.iniface); in dump_entry()
169 printf("%c", e->ipv6.iniface_mask[i] ? 'X' : '.'); in dump_entry()
170 printf("to `%s'/", e->ipv6.outiface); in dump_entry()
172 printf("%c", e->ipv6.outiface_mask[i] ? 'X' : '.'); in dump_entry()
[all …]
/external/webrtc/webrtc/base/
Dwin32_unittest.cc63 IPAddress ipv6; in TEST_F() local
67 ASSERT_TRUE(IPFromString("2a00:8a00:a000:1190:0000:0001:000:252", &ipv6)); in TEST_F()
68 EXPECT_EQ("2a00:8a00:a000:1190::1:0:252", ipv6.ToString()); in TEST_F()
71 ASSERT_TRUE(IPFromString("0:0:0:0:0:0:0:1", &ipv6)); in TEST_F()
72 EXPECT_EQ("::1", ipv6.ToString()); in TEST_F()
75 ASSERT_TRUE(IPFromString("fe80:0:0:0:2aa:ff:fe9a:4ca2", &ipv6)); in TEST_F()
76 EXPECT_EQ("fe80::2aa:ff:fe9a:4ca2", ipv6.ToString()); in TEST_F()
79 ASSERT_TRUE(IPFromString("2a00:8a00:a000:1190:0000:0001:000:00", &ipv6)); in TEST_F()
80 EXPECT_EQ("2a00:8a00:a000:1190:0:1::", ipv6.ToString()); in TEST_F()
83 ASSERT_TRUE(IPFromString("0:0:000:1190:0000:0001:000:00", &ipv6)); in TEST_F()
[all …]
/external/libcups/cups/
Dhttp-addrlist.c550 char ipv6[64], /* IPv6 address */ in httpAddrGetList() local
577 strlcpy(ipv6, hostname + 4, sizeof(ipv6)); in httpAddrGetList()
578 if ((ipv6len = (int)strlen(ipv6) - 1) >= 0 && ipv6[ipv6len] == ']') in httpAddrGetList()
580 ipv6[ipv6len] = '\0'; in httpAddrGetList()
581 hostname = ipv6; in httpAddrGetList()
587 if ((ipv6zone = strrchr(ipv6, '+')) != NULL) in httpAddrGetList()
597 strlcpy(ipv6, hostname + 1, sizeof(ipv6)); in httpAddrGetList()
598 if ((ipv6len = (int)strlen(ipv6) - 1) >= 0 && ipv6[ipv6len] == ']') in httpAddrGetList()
600 ipv6[ipv6len] = '\0'; in httpAddrGetList()
601 hostname = ipv6; in httpAddrGetList()
[all …]
Dhttp-addr.c45 IN6_IS_ADDR_UNSPECIFIED(&(addr->ipv6.sin6_addr))) in httpAddrAny()
114 return (!memcmp(&(addr1->ipv6.sin6_addr), &(addr2->ipv6.sin6_addr), 16)); in httpAddrEqual()
135 return (sizeof(addr->ipv6)); in httpAddrLength()
293 IN6_IS_ADDR_LOOPBACK(&(addr->ipv6.sin6_addr))) in httpAddrLocalhost()
406 host = gethostbyaddr((char *)&(addr->ipv6.sin6_addr), in httpAddrLookup()
462 return (ntohs(addr->ipv6.sin6_port)); in httpAddrPort()
484 addr->ipv6.sin6_port = htons(port); in _httpAddrSetPort()
570 for (sptr = temps, i = 0; i < 4 && addr->ipv6.sin6_addr.s6_addr32[i]; i ++) in httpAddrString()
572 temp = ntohl(addr->ipv6.sin6_addr.s6_addr32[i]); in httpAddrString()
580 if (temp || i == 3 || addr->ipv6.sin6_addr.s6_addr32[i + 1]) in httpAddrString()
[all …]
/external/syzkaller/pkg/report/testdata/linux/guilty/
D2637 rawv6_rcv+0x8f6/0x1200 net/ipv6/raw.c:424
38 ipv6_raw_deliver net/ipv6/raw.c:224 [inline]
39 raw6_local_deliver+0x819/0xa80 net/ipv6/raw.c:240
40 ip6_input_finish+0x3c7/0x17a0 net/ipv6/ip6_input.c:246
42 ip6_input+0xe9/0x560 net/ipv6/ip6_input.c:327
44 ip6_rcv_finish+0x1a9/0x7a0 net/ipv6/ip6_input.c:71
46 ipv6_rcv+0xf37/0x1fa0 net/ipv6/ip6_input.c:208
60 ip6_finish_output2+0xba0/0x23a0 net/ipv6/ip6_output.c:121
61 ip6_fragment+0x25f2/0x3470 net/ipv6/ip6_output.c:739
62 ip6_finish_output+0x6bb/0xaf0 net/ipv6/ip6_output.c:152
[all …]
D341 FILE: net/ipv6/route.c
4 BUG: KMSAN: use of uninitialized memory in rt6_mtu_change_route+0x4d8/0xa70 net/ipv6/route.c:3822
12 rt6_mtu_change_route+0x4d8/0xa70 net/ipv6/route.c:3822
13 fib6_clean_node+0x319/0x6b0 net/ipv6/ip6_fib.c:1918
14 fib6_walk_continue+0x9a1/0xbb0 net/ipv6/ip6_fib.c:1844
15 fib6_walk net/ipv6/ip6_fib.c:1892 [inline]
16 fib6_clean_tree net/ipv6/ip6_fib.c:1969 [inline]
17 __fib6_clean_all+0x501/0x810 net/ipv6/ip6_fib.c:1985
18 fib6_clean_all+0x90/0xa0 net/ipv6/ip6_fib.c:1996
19 rt6_mtu_change+0xd2/0x120 net/ipv6/route.c:3843
[all …]
D131 FILE: net/dccp/ipv6.c
21 dccp_v6_request_recv_sock+0xb5e/0x1960 net/dccp/ipv6.c:527
23 dccp_v6_rcv+0x69e/0x1d00 net/dccp/ipv6.c:711
24 ip6_input_finish+0x46d/0x17a0 net/ipv6/ip6_input.c:279
26 ip6_input+0xdb/0x590 net/ipv6/ip6_input.c:322
28 ip6_rcv_finish+0x289/0x890 net/ipv6/ip6_input.c:69
30 ipv6_rcv+0x12ec/0x23d0 net/ipv6/ip6_input.c:203
44 ip6_finish_output2+0xbb0/0x23d0 net/ipv6/ip6_output.c:123
45 ip6_finish_output+0x302/0x960 net/ipv6/ip6_output.c:148
47 ip6_output+0x1cb/0x8d0 net/ipv6/ip6_output.c:162
[all …]
D01 FILE: net/ipv6/ip6_output.c
4 BUG: KASAN: use-after-free in ip6_send_skb+0x2f5/0x330 net/ipv6/ip6_output.c:1748
16 ip6_send_skb+0x2f5/0x330 net/ipv6/ip6_output.c:1748
17 ip6_push_pending_frames+0xb8/0xe0 net/ipv6/ip6_output.c:1763
18 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline]
19 rawv6_sendmsg+0x2ede/0x4400 net/ipv6/raw.c:932
D3524 translate_table+0x21b/0x3890 net/ipv6/netfilter/ip6_tables.c:703
25 do_replace net/ipv6/netfilter/ip6_tables.c:1164 [inline]
26 do_ip6t_set_ctl+0x60e/0x930 net/ipv6/netfilter/ip6_tables.c:1690
29 ipv6_setsockopt+0x1e8/0x360 net/ipv6/ipv6_sockglue.c:927
62 translate_table+0x21b/0x3890 net/ipv6/netfilter/ip6_tables.c:703
63 do_replace net/ipv6/netfilter/ip6_tables.c:1164 [inline]
64 do_ip6t_set_ctl+0x60e/0x930 net/ipv6/netfilter/ip6_tables.c:1690
67 ipv6_setsockopt+0x1e8/0x360 net/ipv6/ipv6_sockglue.c:927
D11 FILE: net/ipv6/ip6_output.c
35 ip6_finish_output2+0x109a/0x2540 net/ipv6/ip6_output.c:123
36 ip6_finish_output+0x302/0x930 net/ipv6/ip6_output.c:149
38 ip6_output+0x1c2/0x8a0 net/ipv6/ip6_output.c:163
40 inet6_csk_xmit+0x331/0x600 net/ipv6/inet6_connection_sock.c:139
43 tcp_v6_connect+0x1c0b/0x20f0 net/ipv6/tcp_ipv6.c:304
/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-lib.sh51 SYSCTL_ALL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.all.force_mld_version)
52 SYSCTL_FORCE_MLD_VERSION=$(sysctl -b net.ipv6.conf.$(tst_iface).force_mld_version)
53 SYSCTL_MLD_MAX_MSF=$(sysctl -b net.ipv6.mld_max_msf)
55 ROD sysctl -q -w net.ipv6.conf.all.force_mld_version=0
56 ROD sysctl -q -w net.ipv6.conf.$(tst_iface).force_mld_version=0
57 ROD sysctl -q -w net.ipv6.mld_max_msf=$default_mld_max_msf
85 …[ -n "$SYSCTL_ALL_FORCE_MLD_VERSION" ] && sysctl -q -w net.ipv6.conf.all.force_mld_version=$SYSCTL…
86 …[ -n "$SYSCTL_FORCE_MLD_VERSION" ] && sysctl -q -w net.ipv6.conf.$(tst_iface).force_mld_version=$S…
87 [ -n "$SYSCTL_MLD_MAX_MSF" ] && sysctl -q -w net.ipv6.mld_max_msf=$SYSCTL_MLD_MAX_MSF
/external/ltp/runtest/
Dcontainers29 netns_breakns_ns_exec_ipv6_netlink netns_breakns.sh ns_exec ipv6 netlink
31 netns_breakns_ns_exec_ipv6_ioctl netns_breakns.sh ns_exec ipv6 ioctl
33 netns_breakns_ip_ipv6_netlink netns_breakns.sh ip ipv6 netlink
35 netns_breakns_ip_ipv6_ioctl netns_breakns.sh ip ipv6 ioctl
37 netns_comm_ns_exec_ipv6_netlink netns_comm.sh ns_exec ipv6 netlink
39 netns_comm_ns_exec_ipv6_ioctl netns_comm.sh ns_exec ipv6 ioctl
41 netns_comm_ip_ipv6_netlink netns_comm.sh ip ipv6 netlink
43 netns_comm_ip_ipv6_ioctl netns_comm.sh ip ipv6 ioctl
/external/grpc-grpc/test/core/client_channel/resolvers/
Dsockaddr_resolver_test.cc94 grpc_core::ResolverFactory* ipv6 = in main() local
105 test_fails(ipv6, "ipv6:["); in main()
106 test_fails(ipv6, "ipv6:[::]"); in main()
107 test_succeeds(ipv6, "ipv6:[::]:1234"); in main()
108 test_fails(ipv6, "ipv6:[::]:123456"); in main()
109 test_fails(ipv6, "ipv6:www.google.com"); in main()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c133 int offset, bool ipv6) in send_fragment() argument
138 uint8_t *frag_start = ipv6 ? ip_frame + IP6_HLEN + FRAG_HLEN : in send_fragment()
147 if (ipv6) in send_fragment()
154 if (ipv6) { in send_fragment()
202 socklen_t alen, bool ipv6) in send_udp_frags() argument
217 if (ipv6) { in send_udp_frags()
245 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
253 if (ipv6) { in send_udp_frags()
277 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
282 static void run_test(struct sockaddr *addr, socklen_t alen, bool ipv6) in run_test() argument
[all …]
Dreuseaddr_conflict.c21 int open_port(int ipv6, int any) in open_port() argument
29 int family = ipv6 ? AF_INET6 : AF_INET; in open_port()
43 if (ipv6) { in open_port()
56 if (ipv6 && setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, (void*)&v6only, in open_port()
/external/bcc/tools/
Ddcsnoop_example.txt22 0.003245 1643 snmpd M ipv6/neigh/eth0/retrans_time_ms
60 0.015900 1643 snmpd R proc/sys/net/ipv6/conf/lo/forwarding
61 0.015901 1643 snmpd R sys/net/ipv6/conf/lo/forwarding
62 0.015901 1643 snmpd R net/ipv6/conf/lo/forwarding
63 0.015902 1643 snmpd R ipv6/conf/lo/forwarding
69 0.015937 1643 snmpd R proc/sys/net/ipv6/neigh/lo/base_reachable_time_ms
70 0.015937 1643 snmpd R sys/net/ipv6/neigh/lo/base_reachable_time_ms
71 0.015938 1643 snmpd R net/ipv6/neigh/lo/base_reachable_time_ms
72 0.015939 1643 snmpd R ipv6/neigh/lo/base_reachable_time_ms
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress.ipp43 : type_(ipv6),
89 type_ = ipv6;
107 if (type_ != ipv6)
117 if (type_ == ipv6)
124 if (type_ == ipv6)
144 tmp.type_ = ipv6;
198 if (a1.type_ == address::ipv6)
209 if (a1.type_ == address::ipv6)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DConnectivityEvents.java149 String ipv6 = anc.getPeerIpv6Addr().toString(); in toJSON() local
150 if (ipv6.charAt(0) == '/') { in toJSON()
151 ipv6 = ipv6.substring(1); in toJSON()
153 json.put("aware_ipv6", ipv6); in toJSON()
/external/iptables/extensions/
Dlibip6t_MASQUERADE.c79 if (entry->ipv6.proto == IPPROTO_TCP || in MASQUERADE_parse()
80 entry->ipv6.proto == IPPROTO_UDP || in MASQUERADE_parse()
81 entry->ipv6.proto == IPPROTO_SCTP || in MASQUERADE_parse()
82 entry->ipv6.proto == IPPROTO_DCCP || in MASQUERADE_parse()
83 entry->ipv6.proto == IPPROTO_ICMP) in MASQUERADE_parse()
Dlibip6t_icmp6.t3 -p ipv6-icmp -m icmp6 --icmpv6-type 1/0;=;OK
4 -p ipv6-icmp -m icmp6 --icmpv6-type 2;=;OK
6 -p ipv6-icmp -m icmp6 --icmpv6-type no-route --icmpv6-type packet-too-big;;FAIL
Dlibip6t_REDIRECT.c80 if (entry->ipv6.proto == IPPROTO_TCP in REDIRECT_parse()
81 || entry->ipv6.proto == IPPROTO_UDP in REDIRECT_parse()
82 || entry->ipv6.proto == IPPROTO_SCTP in REDIRECT_parse()
83 || entry->ipv6.proto == IPPROTO_DCCP in REDIRECT_parse()
84 || entry->ipv6.proto == IPPROTO_ICMP) in REDIRECT_parse()
/external/android-clat/
DBUGS3 - assumes the handset has its own (routed) /64 ipv6 subnet
4 - assumes the /128 ipv6 subnet it generates can use the nat64 gateway
5 …- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it …
/external/curl/tests/data/
Dtest12034 GOPHER-ipv6
23 ipv6
26 gopher-ipv6

12345678910>>...20