Home
last modified time | relevance | path

Searched refs:sin6 (Results 1 – 5 of 5) sorted by relevance

/PHP-7.0/ext/sockets/
H A Dsockaddr_conv.c16 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock) /* {{{ */ in php_set_inet6_addr() argument
26 memcpy(&(sin6->sin6_addr.s6_addr), &(tmp.s6_addr), sizeof(struct in6_addr)); in php_set_inet6_addr()
52 …memcpy(&(sin6->sin6_addr.s6_addr), ((struct sockaddr_in6*)(addrinfo->ai_addr))->sin6_addr.s6_addr,… in php_set_inet6_addr()
76 sin6->sin6_scope_id = scope_id; in php_set_inet6_addr()
H A Dsockaddr_conv.h19 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock);
H A Dsockets.c1209 struct sockaddr_in6 *sin6; local
1292 struct sockaddr_in6 *sin6; local
1429 struct sockaddr_in6 sin6 = {0}; local
1438 sin6.sin6_family = AF_INET6;
1682 struct sockaddr_in6 sin6; local
1759 slen = sizeof(sin6);
1760 memset(&sin6, 0, slen);
1761 sin6.sin6_family = AF_INET6;
1808 struct sockaddr_in6 sin6; local
1854 memset(&sin6, 0, sizeof(sin6));
[all …]
/PHP-7.0/main/
H A Dnetwork.c965 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr; local
966 sin6->sin6_family = AF_INET6;
967 sin6->sin6_port = htons(port);
968 sin6->sin6_addr = in6addr_any;
/PHP-7.0/ext/ftp/
H A Dftp.c766 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) sa; in ftp_pasv() local
789 sin6->sin6_port = htons((unsigned short) strtoul(ptr, &endptr, 10)); in ftp_pasv()

Completed in 27 milliseconds