Lines Matching refs:sin6
1088 struct sockaddr_in6 *sin6; local
1112 sin6 = (struct sockaddr_in6 *) sa;
1113 inet_ntop(AF_INET6, &sin6->sin6_addr, addr6, INET6_ADDRSTRLEN);
1117 ZEND_TRY_ASSIGN_REF_LONG(port, htons(sin6->sin6_port));
1160 struct sockaddr_in6 *sin6; local
1184 sin6 = (struct sockaddr_in6 *) sa;
1185 inet_ntop(AF_INET6, &sin6->sin6_addr, addr6, INET6_ADDRSTRLEN);
1190 ZEND_TRY_ASSIGN_REF_LONG(arg3, htons(sin6->sin6_port));
1290 struct sockaddr_in6 sin6 = {0}; local
1297 memset(&sin6, 0, sizeof(struct sockaddr_in6));
1299 sin6.sin6_family = AF_INET6;
1300 sin6.sin6_port = htons((unsigned short int)port);
1302 if (! php_set_inet6_addr(&sin6, addr, php_sock)) {
1306 retval = connect(php_sock->bsd_socket, (struct sockaddr *)&sin6, sizeof(struct sockaddr_in6));
1533 struct sockaddr_in6 sin6; local
1605 slen = sizeof(sin6);
1606 memset(&sin6, 0, slen);
1607 sin6.sin6_family = AF_INET6;
1614 …retval = recvfrom(php_sock->bsd_socket, ZSTR_VAL(recv_buf), arg3, arg4, (struct sockaddr *)&sin6, …
1625 inet_ntop(AF_INET6, &sin6.sin6_addr, addr6, INET6_ADDRSTRLEN);
1629 ZEND_TRY_ASSIGN_REF_LONG(arg6, ntohs(sin6.sin6_port));
1649 struct sockaddr_in6 sin6; local
1701 memset(&sin6, 0, sizeof(sin6));
1702 sin6.sin6_family = AF_INET6;
1703 sin6.sin6_port = htons((unsigned short) port);
1705 if (! php_set_inet6_addr(&sin6, addr, php_sock)) {
1709 …, ((size_t)len > buf_len) ? buf_len : (size_t)len, flags, (struct sockaddr *) &sin6, sizeof(sin6));