Lines Matching refs:addr
308 const struct sockaddr *addr, argument
323 if ((n = connect(sockfd, addr, addrlen)) != 0) {
513 PHPAPI int php_network_parse_network_address_with_port(const char *addr, zend_long addrlen, struct … argument
531 if (*addr == '[') {
532 colon = memchr(addr + 1, ']', addrlen-1);
537 addr++;
539 colon = memchr(addr, ':', addrlen);
546 tmp = estrndup(addr, colon - addr);
614 struct sockaddr **addr, argument
618 if (addr) {
619 *addr = emalloc(sl);
620 memcpy(*addr, sa, sl);
679 struct sockaddr **addr, argument
690 addr, addrlen
699 struct sockaddr **addr, argument
710 addr, addrlen
730 struct sockaddr **addr, argument
757 addr, addrlen
975 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port) argument
977 memset(addr, 0, sizeof(php_sockaddr_storage));
981 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr;
989 struct sockaddr_in *sin = (struct sockaddr_in *) addr;
1002 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr) argument
1004 switch (((struct sockaddr *)addr)->sa_family) {