Home
last modified time | relevance | path

Searched refs:ip6 (Results 1 - 25 of 29) sorted by relevance

12

/third_party/ltp/testcases/network/sctp/
H A Dsctp_big_chunk.c21 #include <netinet/ip6.h>
88 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 in setup_client()
[all...]
/third_party/lwip/src/core/ipv6/
H A Dip6.c50 #include "lwip/ip6.h"
310 * @ingroup ip6
426 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
[all...]
/third_party/ltp/testcases/lib/
H A Dtst_net_vars.c127 const struct in6_addr *mask, const struct in6_addr *ip6) in is_in_subnet_ipv6()
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()
126 is_in_subnet_ipv6(const struct in6_addr *network, const struct in6_addr *mask, const struct in6_addr *ip6) is_in_subnet_ipv6() argument
[all...]
H A Dtst_net_ip_prefix.c54 struct in6_addr ip6; in main() local
77 tst_get_in6_addr(ip_str, &ip6); in main()
H A Dtst_net_iface_prefix.c112 struct in6_addr ip6; in main() local
140 tst_get_in6_addr(ip_str, &ip6); in main()
/third_party/ltp/lib/
H A 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/testcases/network/tcp_cmds/include/
H A Dnetdefs.h30 #include <netinet/ip6.h>
/third_party/ltp/include/
H A Dtst_net.h16 void tst_get_in6_addr(const char *ip_str, struct in6_addr *ip6);
/third_party/lwip/test/unit/
H A DFilelists.mk44 $(TESTDIR)/ip6/test_ip6.c \
/third_party/lwip/src/netif/ppp/
H A Dppp.c99 #include "lwip/ip6.h" /* for ip6_input() */
889 PPPDEBUG(LOG_INFO, ("ppp_input[%d]: ip6 in pbuf len=%d\n", pcb->netif->num, pb->tot_len)); in ppp_input()
1232 #define IN6_LLADDR_FROM_EUI64(ip6, eui64) do { \
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/curl/lib/
H A 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/
H A 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()
H A Dns-traffic.h57 #include <netinet/ip6.h>
/third_party/libcoap/examples/lwip/
H A Dserver.c109 printf("IP6 [%s]\n", ip6addr_ntoa(&netif.ip6_addr[0].u_addr.ip6)); in main()
H A DMakefile136 LWIP_SRC += mld6.c ip6.c icmp6.c ethip6.c nd6.c ip6_addr.c ip6_frag.c
/third_party/lwip/src/include/lwip/
H A Dstats.h279 struct stats_proto ip6; member
426 #define IP6_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip6, "IPv6")
H A Dip_addr.h71 ip6_addr_t ip6; member
116 #define ip_2_ip6(ipaddr) (&((ipaddr)->u_addr.ip6))
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dndisc_snoop.c10 #include <netinet/ip6.h>
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dndisc_snoop.c10 #include <netinet/ip6.h>
/third_party/lwip/test/sockets/
H A 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/ltp/testcases/network/lib6/
H A Dasapi_03.c33 #include <netinet/ip6.h>
/third_party/lwip/src/
H A DFilelists.mk69 $(LWIPDIR)/core/ipv6/ip6.c \
/third_party/toybox/toys/pending/
H A Ddhcpd.c44 #include <netinet/ip6.h>
364 struct sockaddr_in6 ip6; in get_interface() local
399 if(inet_pton(AF_INET6, ipv6_addr, &ip6.sin6_addr) <= 0) in get_interface()
402 memcpy(oip6, ip6.sin6_addr.s6_addr32, sizeof(uint32_t)*4); in get_interface()
H A Ddhcp6.c40 #include <netinet/ip6.h>
/third_party/node/deps/npm/node_modules/ip-address/dist/
H A Dipv6.js250 * Return an address from ip6.arpa form
253 * @param {string} arpaFormAddress - an 'ip6.arpa' form address
256 * var address = Address6.fromArpa(e.f.f.f.3.c.2.6.f.f.f.e.6.6.8.e.1.0.6.7.9.4.e.c.0.0.0.0.1.0.0.2.ip6.arpa.)
260 // remove ending ".ip6.arpa." or just "."
261 let address = arpaFormAddress.replace(/(\.ip6\.arpa)?\.$/, '');
263 // correct ip6.arpa form with ending removed will be 63 characters
265 throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.");
441 * Return the reversed ip6.arpa form of the address
444 * @param {boolean} options.omitSuffix - omit the "ip6.arpa" suffix
463 return (0, sprintf_js_1.sprintf)('%s.ip6
[all...]

Completed in 18 milliseconds

12