Searched refs:sin6 (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/sockets/ |
H A D | sockaddr_conv.c | 16 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() 78 sin6->sin6_scope_id = scope_id; in php_set_inet6_addr()
|
H A D | sockaddr_conv.h | 19 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock);
|
H A D | sockets.c | 964 struct sockaddr_in6 *sin6; local 1035 struct sockaddr_in6 *sin6; local 1178 struct sockaddr_in6 sin6 = {0}; local 1187 sin6.sin6_family = AF_INET6; 1435 struct sockaddr_in6 sin6; local 1514 slen = sizeof(sin6); 1515 memset(&sin6, 0, slen); 1516 sin6.sin6_family = AF_INET6; 1558 struct sockaddr_in6 sin6; local 1616 memset(&sin6, 0, sizeof(sin6)); [all …]
|
/php-src/main/ |
H A D | network.c | 999 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr; in php_any_addr() local 1000 sin6->sin6_family = AF_INET6; in php_any_addr() 1001 sin6->sin6_port = htons(port); in php_any_addr() 1002 sin6->sin6_addr = in6addr_any; in php_any_addr()
|
/php-src/ext/ftp/ |
H A D | ftp.c | 822 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) sa; in ftp_pasv() local 845 sin6->sin6_port = htons((unsigned short) strtoul(ptr, &endptr, 10)); in ftp_pasv()
|
Completed in 21 milliseconds