Home
last modified time | relevance | path

Searched refs:ip6 (Results 1 – 25 of 55) sorted by relevance

123

/third_party/lwip/src/core/ipv6/
Dip6.c426 IP6_STATS_INC(ip6.rterr);
427 IP6_STATS_INC(ip6.drop);
449 IP6_STATS_INC(ip6.rterr);
450 IP6_STATS_INC(ip6.drop);
462 IP6_STATS_INC(ip6.rterr);
463 IP6_STATS_INC(ip6.drop);
471 IP6_STATS_INC(ip6.rterr);
472 IP6_STATS_INC(ip6.drop);
486 IP6_STATS_INC(ip6.drop);
497 IP6_STATS_INC(ip6.drop);
[all …]
/third_party/ltp/testcases/network/sctp/
Dsctp_big_chunk.c88 struct ip6_hdr ip6; in setup_client() local
89 const size_t ip6_hdr_len = sizeof(ip6); in setup_client()
94 memset(&ip6, 0, sizeof(ip6)); in setup_client()
95 ip6.ip6_flow = htonl(6 << 28 | 2 << 20); in setup_client()
96 ip6.ip6_hops = 64; in setup_client()
97 ip6.ip6_nxt = IPPROTO_SCTP; in setup_client()
98 ip6.ip6_src.s6_addr[15] = 1; in setup_client()
99 ip6.ip6_dst.s6_addr[15] = 1; in setup_client()
158 ip6.ip6_plen = htons(pkt_len - ip6_hdr_len); in setup_client()
159 memcpy(packet, &ip6, ip6_hdr_len); in setup_client()
/third_party/curl/tests/data/
Dtest24133 HTTP-IPv6 GET (using ip6-localhost)
36 -g "http://ip6-localhost:%HTTP6PORT/%TESTNUMBER"
39 ./server/resolve --ipv6 ip6-localhost
48 Host: ip6-localhost:%HTTP6PORT
Dtest108336 HTTP-IPv6 GET with ip6-localhost --interface
39 -g "http://%HOST6IP:%HTTP6PORT/%TESTNUMBER" --interface ip6-localhost
42 …es default test client host address';} else {exec './server/resolve --ipv6 ip6-localhost'; print '…
/third_party/ltp/testcases/lib/
Dtst_net_vars.c127 const struct in6_addr *mask, const struct in6_addr *ip6) in is_in_subnet_ipv6() argument
132 if (((((int *) ip6)[i] & ((int *) mask)[i])) != in is_in_subnet_ipv6()
261 static char *get_ipv6_net32_unused(const struct in6_addr *ip6, in get_ipv6_net32_unused() argument
287 if (!is_in_subnet_ipv6(ip6, &mask, &network)) in get_ipv6_net32_unused()
294 (rand() % 128) + (ip6->s6_addr[1] < 128 ? 128 : 0), in get_ipv6_net32_unused()
300 if (!is_in_subnet_ipv6(ip6, &mask, &network)) in get_ipv6_net32_unused()
305 256 * (rand() % 128) + (256 * ip6->s6_addr[0] < 128 ? in get_ipv6_net32_unused()
311 if (!is_in_subnet_ipv6(ip6, &mask, &network)) in get_ipv6_net32_unused()
577 struct in6_addr ip6; in main() local
594 tst_get_in6_addr(lip_str, &ip6); in main()
[all …]
Dtst_net_ip_prefix.c54 struct in6_addr ip6; in main() local
77 tst_get_in6_addr(ip_str, &ip6); in main()
Dtst_net_iface_prefix.c112 struct in6_addr ip6; in main() local
140 tst_get_in6_addr(ip_str, &ip6); in main()
/third_party/lwip/
D0081-ip6-hdr.patch1 diff -Nur lwip-ipv6/src/core/ipv6/ip6.c lwip-ipv6-hdr/src/core/ipv6/ip6.c
2 --- lwip-ipv6/src/core/ipv6/ip6.c 2023-11-15 19:48:02.864481010 +0800
3 +++ lwip-ipv6-hdr/src/core/ipv6/ip6.c 2023-11-15 20:05:30.388481010 +0800
23 IP6_STATS_INC(ip6.recv);
286 diff -Nur lwip-ipv6/src/include/lwip/prot/ip6.h lwip-ipv6-hdr/src/include/lwip/prot/ip6.h
287 --- lwip-ipv6/src/include/lwip/prot/ip6.h 2023-11-15 19:48:02.868481010 +0800
288 +++ lwip-ipv6-hdr/src/include/lwip/prot/ip6.h 2023-11-17 13:24:56.832481010 +0800
331 /* Point to ip6 header and align copies of src/dest addresses. */
D0080-enable-ipv6.patch10 src/core/ipv6/ip6.c | 18 ++++++++++++++++--
72 + ipv6/ethip6.c ipv6/ip6.c ipv6/dhcp6.c ipv6/inet6.c \
90 diff --git a/src/core/ipv6/ip6.c b/src/core/ipv6/ip6.c
92 --- a/src/core/ipv6/ip6.c
93 +++ b/src/core/ipv6/ip6.c
292 + qtuple.src_ip6[i] = pcb->local_ip.u_addr.ip6.addr[i];
293 + qtuple.dst_ip6[i] = pcb->remote_ip.u_addr.ip6.addr[i];
DBUILD.gn41 "src/core/ipv6/ip6.c",
D0089-add-struct-gz-addr.patch66 + struct gz_ip6 ip6;
/third_party/lwip/src/netif/ppp/
Dppp.c1232 #define IN6_LLADDR_FROM_EUI64(ip6, eui64) do { \ argument
1233 ip6.addr[0] = PP_HTONL(0xfe800000); \
1234 ip6.addr[1] = 0; \
1235 eui64_copy(eui64, ip6.addr[2]); \
1243 ip6_addr_t ip6; in sif6addr() local
1246 IN6_LLADDR_FROM_EUI64(ip6, our_eui64); in sif6addr()
1247 netif_ip6_addr_set(pcb->netif, 0, &ip6); in sif6addr()
/third_party/iptables/
Dtests-extensions-add-some-testcases.patch65 @@ -9,3 +9,6 @@ nft add rule ip6 nat prerouting meta l4proto tcp counter dnat to [fec0::1234]:80
68 nft add rule ip6 nat prerouting meta l4proto tcp counter dnat to [fec0::1234]:80 random,persistent
71 +nft add rule ip6 nat prerouting meta l4proto tcp counter dnat to dead::beef
87 @@ -6,3 +6,12 @@ nft add rule ip6 filter FORWARD meta l4proto tcp counter log level debug
90 nft add rule ip6 filter FORWARD meta l4proto tcp counter log prefix \"Checking log\"
93 +nft add rule ip6 filter FORWARD meta l4proto tcp counter log flags tcp sequence,options flags ip o…
96 +nft add rule ip6 filter FORWARD meta l4proto tcp counter log flags all
99 +nft add rule ip6 filter FORWARD meta l4proto tcp counter log flags tcp sequence flags ether
202 @@ -12,3 +12,6 @@ nft add rule ip6 filter INPUT rt type 0 rt hdrlength 22 counter drop
205 nft add rule ip6 filter INPUT rt type 0 rt seg-left != 26 rt hdrlength 22 counter accept
[all …]
/third_party/ltp/lib/
Dtst_net.c135 void tst_get_in6_addr(const char *ip_str, struct in6_addr *ip6) in tst_get_in6_addr() argument
137 if (inet_pton(AF_INET6, ip_str, ip6) <= 0) in tst_get_in6_addr()
/third_party/ltp/include/
Dtst_net.h16 void tst_get_in6_addr(const char *ip_str, struct in6_addr *ip6);
/third_party/curl/lib/
Dsocks.c914 char ip6[16]; in do_SOCKS5() local
915 if(1 != Curl_inet_pton(AF_INET6, sx->hostname, ip6)) in do_SOCKS5()
918 memcpy(&socksreq[len], ip6, sizeof(ip6)); in do_SOCKS5()
919 len += sizeof(ip6); in do_SOCKS5()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-icmpv6_sender.c249 struct in6_addr ip6; in create_mld_query() local
319 if (inet_pton(AF_INET6, sp, &ip6) <= 0) { in create_mld_query()
324 query_p->srcs[idx] = ip6; in create_mld_query()
/third_party/lwip/test/unit/
DFilelists.mk44 $(TESTDIR)/ip6/test_ip6.c \
DFilelists.cmake24 ${LWIP_TESTDIR}/ip6/test_ip6.c
/third_party/libcoap/examples/riot/examples_libcoap_client/
DREADME.md15 coapc coap://[ip6-address]/some/path
/third_party/libcoap/examples/lwip/
Dserver.c109 printf("IP6 [%s]\n", ip6addr_ntoa(&netif.ip6_addr[0].u_addr.ip6)); in main()
/third_party/lwip/src/include/lwip/
Dstats.h279 struct stats_proto ip6; member
426 #define IP6_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip6, "IPv6")
Dip_addr.h71 ip6_addr_t ip6; member
116 #define ip_2_ip6(ipaddr) (&((ipaddr)->u_addr.ip6))
/third_party/lwip/test/sockets/
Dsockets_stresstest.c701 ip6_addr_t ip6; in sockets_stresstest_init_client() local
717 if (ip6addr_aton(remote_ip, &ip6)) { in sockets_stresstest_init_client()
/third_party/lwip/src/
DFilelists.mk69 $(LWIPDIR)/core/ipv6/ip6.c \

123