Home
last modified time | relevance | path

Searched refs:ipv6addr (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dselfcheck.c52 struct sockaddr_in6 ipv6addr; in self_check() local
84 bzero(&ipv6addr, sizeof (ipv6addr)); in self_check()
85 ipv6addr.sin6_family = AF_INET6; in self_check()
86 ipv6addr.sin6_addr = *((struct in6_addr *)(*hostptr)); in self_check()
87 memcpy(&areq.sa_addr, (void *)&ipv6addr, sizeof (ipv6addr)); in self_check()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprint_toif.c28 char ipv6addr[INET6_ADDRSTRLEN]; local
30 inet_ntop(AF_INET6, &fdp->fd_ip6, ipv6addr,
31 sizeof(ipv6addr));
32 printf(":%s", ipv6addr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c317 struct in6_addr ipv6addr; in setpeer() local
350 IN6_IS_ADDR_V4MAPPED(&ipv6addr)) { in setpeer()
351 IN6_V4MAPPED_TO_INADDR(&ipv6addr, &ipv4addr); in setpeer()
438 struct in6_addr ipv6addr; in put() local
486 if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) && in put()
487 IN6_IS_ADDR_V4MAPPED(&ipv6addr)) { in put()
488 IN6_V4MAPPED_TO_INADDR(&ipv6addr, &ipv4addr); in put()
560 struct in6_addr ipv6addr; in get() local
610 if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) && in get()
611 IN6_IS_ADDR_V4MAPPED(&ipv6addr)) { in get()
[all …]
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c136 struct in6_addr ipv6addr; in translate_inet_addr() local
246 struct in6_addr ipv6addr; in process_rh() local
304 (void) memcpy(&ipv6addr, hp->h_addr, hp->h_length); in process_rh()
307 if (IN6_IS_ADDR_V4MAPPED(&ipv6addr)) { in process_rh()
309 IN6_V4MAPPED_TO_INADDR(&ipv6addr, in process_rh()
315 rhent.rh_address.ta_addr_v6 = ipv6addr; in process_rh()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Drmtab.c356 struct in6_addr ipv6addr; in rmtab_parse() local
376 if (inet_pton(AF_INET6, s, &ipv6addr) > 0) { in rmtab_parse()
487 struct in6_addr ipv6addr; in rmtab_insert() local
498 if (inet_pton(AF_INET6, host, &ipv6addr) > 0) { in rmtab_insert()
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dcommon.c86 struct in6_addr ipv6addr[1]; in is_listening() local
93 (void) memcpy(&ipv6addr, hp->h_addr_list[0], hp->h_length); in is_listening()
97 return (test_socket_access(ipv6addr, port)); in is_listening()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1190 struct in6_addr ipv6addr; in netfinger() local
1221 if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) && in netfinger()
1222 IN6_IS_ADDR_V4MAPPED(&ipv6addr)) { in netfinger()
1223 IN6_V4MAPPED_TO_INADDR(&ipv6addr, &ipv4addr); in netfinger()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c164 char ipv6addr[INET6_ADDRSTRLEN]; in get_ifi_info_linuxv6() local
165 plen_to_mask(plen, ipv6addr); in get_ifi_info_linuxv6()
173 inet_pton(AF_INET6, ipv6addr, &((struct sockaddr_in6 *)ifi->ifi_netmask)->sin6_addr); in get_ifi_info_linuxv6()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c178 struct in6_addr ipv6addr; in hookup() local
219 (inet_pton(AF_INET6, ai->ai_canonname, &ipv6addr) > 0) && in hookup()
220 IN6_IS_ADDR_V4MAPPED(&ipv6addr)) { in hookup()
223 IN6_V4MAPPED_TO_INADDR(&ipv6addr, &src4); in hookup()
231 if ((inet_pton(AF_INET6, host, &ipv6addr) > 0) && in hookup()
232 IN6_IS_ADDR_V4MAPPED(&ipv6addr) && in hookup()