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 | 960 struct sockaddr_in6 *sin6; local 1031 struct sockaddr_in6 *sin6; local 1174 struct sockaddr_in6 sin6 = {0}; local 1183 sin6.sin6_family = AF_INET6; 1431 struct sockaddr_in6 sin6; local 1510 slen = sizeof(sin6); 1511 memset(&sin6, 0, slen); 1512 sin6.sin6_family = AF_INET6; 1554 struct sockaddr_in6 sin6; local 1612 memset(&sin6, 0, sizeof(sin6)); [all …]
|
/php-src/main/ |
H A D | network.c | 965 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-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