Home
last modified time | relevance | path

Searched refs:sockaddr_in6 (Results 1 – 25 of 30) sorted by relevance

12

/glibc-2.36/conform/data/netinet/
Din.h-data22 type {struct sockaddr_in6}
24 element {struct sockaddr_in6} sa_family_t sin6_family
25 element {struct sockaddr_in6} in_port_t sin6_port
26 element {struct sockaddr_in6} uint32_t sin6_flowinfo
27 element {struct sockaddr_in6} {struct in6_addr} sin6_addr
28 element {struct sockaddr_in6} uint32_t sin6_scope_id
/glibc-2.36/resolv/
Dresolv_conf.c214 same_address_v6 (const struct sockaddr_in6 *left, in same_address_v6()
215 const struct sockaddr_in6 *right) in same_address_v6()
234 return same_address_v6 ((const struct sockaddr_in6 *) left, in same_address()
235 (const struct sockaddr_in6 *) right); in same_address()
366 _Static_assert (__alignof__ (struct sockaddr_in6) in __resolv_conf_allocate()
369 == __alignof__ (struct sockaddr_in6), "alignment"); in __resolv_conf_allocate()
381 address_space += sizeof (struct sockaddr_in6); in __resolv_conf_allocate()
436 struct sockaddr_in6 *sa = alloc_buffer_alloc in __resolv_conf_allocate()
437 (&buffer, struct sockaddr_in6); in __resolv_conf_allocate()
438 *sa = *(struct sockaddr_in6 *) init->nameserver_list[i]; in __resolv_conf_allocate()
[all …]
Dres_isourserver.c91 res_ourserver_p (const res_state statp, const struct sockaddr_in6 *inp) in res_ourserver_p()
116 const struct sockaddr_in6 *srv in res_ourserver_p()
117 = (struct sockaddr_in6 *) __res_get_nsaddr (statp, ns); in res_ourserver_p()
133 return res_ourserver_p (&_res, (const struct sockaddr_in6 *) inp); in res_isourserver()
Dres_send.c192 static int sock_eq(struct sockaddr_in6 *, struct sockaddr_in6 *);
301 && !sock_eq((struct sockaddr_in6 *) in __res_context_send()
325 malloc(sizeof (struct sockaddr_in6)); in __res_context_send()
331 sizeof (struct sockaddr_in6) in __res_context_send()
597 struct sockaddr_in6 peer; in send_vc()
602 || !sock_eq (&peer, (struct sockaddr_in6 *) nsap)) { in send_vc()
624 : sizeof (struct sockaddr_in6)) < 0) { in send_vc()
813 slen = sizeof (struct sockaddr_in6); in reopen()
938 struct sockaddr_in6 from; in send_dg()
1177 socklen_t fromlen = sizeof(struct sockaddr_in6); in send_dg()
[all …]
Dtst-resolv-threads.c196 struct sockaddr_in6 *sa = (struct sockaddr_in6 *) p->ai_addr; in check_addrinfo()
Dtst-resolv-edns.c255 struct sockaddr_in6 *pin = (struct sockaddr_in6 *) ai->ai_addr; in decode_addrinfo()
Dres_init.c426 struct sockaddr_in6 *sa6; in res_vinit_1()
Dtst-resolv-res_init-skeleton.c238 addrlen = sizeof (struct sockaddr_in6); in print_resp()
/glibc-2.36/sysdeps/posix/
Dgetaddrinfo.c1050 socklen = sizeof (struct sockaddr_in6); in generate_addrinfo()
1092 struct sockaddr_in6 *sin6p = (struct sockaddr_in6 *) ai->ai_addr; in generate_addrinfo()
1204 struct sockaddr_in6 source_addr;
1249 get_scope (const struct sockaddr_in6 *in6) in get_scope()
1382 match_prefix (const struct sockaddr_in6 *in6, in match_prefix()
1386 struct sockaddr_in6 in6_mem; in match_prefix()
1435 get_label (const struct sockaddr_in6 *in6) in get_label()
1443 get_precedence (const struct sockaddr_in6 *in6) in get_precedence()
1483 = get_scope ((struct sockaddr_in6 *) a1->dest_addr->ai_addr); in rfc3484_sort()
1486 = get_scope ((struct sockaddr_in6 *) a2->dest_addr->ai_addr); in rfc3484_sort()
[all …]
/glibc-2.36/posix/
Dtst-getaddrinfo3.c66 if (ai_res->ai_addrlen != sizeof (struct sockaddr_in6)) \ in do_test()
70 sizeof (struct sockaddr_in6)); \ in do_test()
75 &((struct sockaddr_in6 *) ai_res->ai_addr)->sin6_addr,\ in do_test()
82 & ((struct sockaddr_in6 *) ai_res->ai_addr)->sin6_addr, \ in do_test()
Dtst-rfc3484-2.c105 struct sockaddr_in6 so2; in do_test()
112 struct sockaddr_in6 sa2; in do_test()
/glibc-2.36/inet/
Dgetnameinfo.c241 const struct sockaddr_in6 *sin6p = (const struct sockaddr_in6 *) sa; in gni_host_inet_name()
339 const struct sockaddr_in6 *sin6p = (const struct sockaddr_in6 *) sa; in gni_host_inet_numeric()
441 == offsetof (struct sockaddr_in6, sin6_port) in gni_serv_inet()
443 && sizeof (((struct sockaddr_in6) {}).sin6_port) == sizeof (in_port_t), in gni_serv_inet()
525 if (addrlen < sizeof (struct sockaddr_in6)) in getnameinfo()
Dtst-inet6_scopeid_pton.c61 struct sockaddr_in6 *result) in call_gai()
98 const struct sockaddr_in6 *sa, in check_ai()
138 struct sockaddr_in6 sa; in expect_failure()
176 struct sockaddr_in6 sa; in expect_success()
Drcmd.c113 struct sockaddr_in6 sin6; in rcmd_af()
372 struct sockaddr_in6 in6; in rresvport_af()
384 len = sizeof(struct sockaddr_in6); in rresvport_af()
595 struct sockaddr_in6 in6; in iruserok_af()
609 ralen = sizeof(struct sockaddr_in6); in iruserok_af()
Dtst-getni2.c10 struct sockaddr_in6 s; in do_test()
Dtest-ifaddrs.c41 return inet_ntop (AF_INET6, &((struct sockaddr_in6 *) sa)->sin6_addr, in addr_string()
/glibc-2.36/support/
Dsupport_format_addrinfo.c36 return sizeof (struct sockaddr_in6); in socket_address_length()
184 struct sockaddr_in6 *sin = (struct sockaddr_in6 *) ai->ai_addr; in format_ai_one()
/glibc-2.36/inet/netinet/
Din.h260 struct sockaddr_in6 struct
513 extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)
553 struct sockaddr_in6 ip6m_addr; /* dst address including zone ID */
/glibc-2.36/socket/
Dsa_len.c84 return sizeof (struct sockaddr_in6); in __libc_sa_len()
/glibc-2.36/resolv/bits/types/
Dres_state.h48 struct sockaddr_in6 *nsaddrs[MAXNS];
/glibc-2.36/sysdeps/unix/sysv/linux/
Difaddrs.c67 struct sockaddr_in6 s6;
616 memcpy (&((struct sockaddr_in6 *) sa)->sin6_addr, in getifaddrs_internal()
620 ((struct sockaddr_in6 *) sa)->sin6_scope_id in getifaddrs_internal()
Dgetsourcefilter.c46 { SOL_IPV6, AF_INET6, sizeof (struct sockaddr_in6) },
/glibc-2.36/socket/sys/
Dsocket.h70 __SOCKADDR_ONETYPE (sockaddr_in6) \
/glibc-2.36/nss/
Dgetent.c398 struct sockaddr_in6 *addr6 in ahosts_keys_int()
399 = (struct sockaddr_in6 *) runp->ai_addr; in ahosts_keys_int()
/glibc-2.36/ChangeLog.old/
DChangeLog.177940 field. Use sockaddr_in6 for source_addr.
7941 (get_scope): Change type of parameter to sockaddr_in6. Adjust.
7946 Adjust to use of sockaddr_in6. Replace service_order test with

12