Lines Matching refs:sin6
1185 struct sockaddr_in6 *sin6; local
1208 sin6 = (struct sockaddr_in6 *) sa;
1209 inet_ntop(AF_INET6, &sin6->sin6_addr, addr6, INET6_ADDRSTRLEN);
1215 ZVAL_LONG(port, htons(sin6->sin6_port));
1262 struct sockaddr_in6 *sin6; local
1285 sin6 = (struct sockaddr_in6 *) sa;
1286 inet_ntop(AF_INET6, &sin6->sin6_addr, addr6, INET6_ADDRSTRLEN);
1292 ZVAL_LONG(arg3, htons(sin6->sin6_port));
1394 struct sockaddr_in6 sin6 = {0}; local
1401 memset(&sin6, 0, sizeof(struct sockaddr_in6));
1403 sin6.sin6_family = AF_INET6;
1404 sin6.sin6_port = htons((unsigned short int)port);
1406 if (! php_set_inet6_addr(&sin6, addr, php_sock TSRMLS_CC)) {
1410 retval = connect(php_sock->bsd_socket, (struct sockaddr *)&sin6, sizeof(struct sockaddr_in6));
1644 struct sockaddr_in6 sin6; local
1715 slen = sizeof(sin6);
1716 memset(&sin6, 0, slen);
1717 sin6.sin6_family = AF_INET6;
1724 …retval = recvfrom(php_sock->bsd_socket, recv_buf, arg3, arg4, (struct sockaddr *)&sin6, (socklen_t…
1737 inet_ntop(AF_INET6, &sin6.sin6_addr, addr6, INET6_ADDRSTRLEN);
1741 ZVAL_LONG(arg6, ntohs(sin6.sin6_port));
1762 struct sockaddr_in6 sin6; local
1805 memset(&sin6, 0, sizeof(sin6));
1806 sin6.sin6_family = AF_INET6;
1807 sin6.sin6_port = htons((unsigned short) port);
1809 if (! php_set_inet6_addr(&sin6, addr, php_sock TSRMLS_CC)) {
1813 …>bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockaddr *) &sin6, sizeof(sin6));