Lines Matching refs:sin6
964 struct sockaddr_in6 *sin6; local
991 sin6 = (struct sockaddr_in6 *) sa;
992 inet_ntop(AF_INET6, &sin6->sin6_addr, addrbuf, sizeof(addrbuf));
996 ZEND_TRY_ASSIGN_REF_LONG(port, htons(sin6->sin6_port));
1035 struct sockaddr_in6 *sin6; local
1062 sin6 = (struct sockaddr_in6 *) sa;
1063 inet_ntop(AF_INET6, &sin6->sin6_addr, addrbuf, sizeof(addrbuf));
1068 ZEND_TRY_ASSIGN_REF_LONG(arg3, htons(sin6->sin6_port));
1178 struct sockaddr_in6 sin6 = {0}; local
1185 memset(&sin6, 0, sizeof(struct sockaddr_in6));
1187 sin6.sin6_family = AF_INET6;
1188 sin6.sin6_port = htons((unsigned short int)port);
1190 if (! php_set_inet6_addr(&sin6, addr, php_sock)) {
1194 retval = connect(php_sock->bsd_socket, (struct sockaddr *)&sin6, sizeof(struct sockaddr_in6));
1435 struct sockaddr_in6 sin6; local
1514 slen = sizeof(sin6);
1515 memset(&sin6, 0, slen);
1516 sin6.sin6_family = AF_INET6;
1523 …retval = recvfrom(php_sock->bsd_socket, ZSTR_VAL(recv_buf), arg3, arg4, (struct sockaddr *)&sin6, …
1534 inet_ntop(AF_INET6, &sin6.sin6_addr, addrbuf, sizeof(addrbuf));
1538 ZEND_TRY_ASSIGN_REF_LONG(arg6, ntohs(sin6.sin6_port));
1558 struct sockaddr_in6 sin6; local
1616 memset(&sin6, 0, sizeof(sin6));
1617 sin6.sin6_family = AF_INET6;
1618 sin6.sin6_port = htons((unsigned short) port);
1620 if (! php_set_inet6_addr(&sin6, addr, php_sock)) {
1624 …, ((size_t)len > buf_len) ? buf_len : (size_t)len, flags, (struct sockaddr *) &sin6, sizeof(sin6));