Lines Matching refs:addr
306 const struct sockaddr *addr, argument
321 if ((n = connect(sockfd, addr, addrlen)) != 0) {
511 PHPAPI int php_network_parse_network_address_with_port(const char *addr, zend_long addrlen, struct … argument
529 if (*addr == '[') {
530 colon = memchr(addr + 1, ']', addrlen-1);
535 addr++;
537 colon = memchr(addr, ':', addrlen);
544 tmp = estrndup(addr, colon - addr);
612 struct sockaddr **addr, argument
616 if (addr) {
617 *addr = emalloc(sl);
618 memcpy(*addr, sa, sl);
677 struct sockaddr **addr, argument
688 addr, addrlen
697 struct sockaddr **addr, argument
708 addr, addrlen
728 struct sockaddr **addr, argument
755 addr, addrlen
968 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port) argument
970 memset(addr, 0, sizeof(php_sockaddr_storage));
974 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr;
982 struct sockaddr_in *sin = (struct sockaddr_in *) addr;
995 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr) argument
997 switch (((struct sockaddr *)addr)->sa_family) {