Lines Matching refs:addr
310 const struct sockaddr *addr, argument
326 if ((n = connect(sockfd, addr, addrlen)) != 0) {
399 return (connect(sockfd, addr, addrlen) == 0) ? 0 : -1;
522 PHPAPI int php_network_parse_network_address_with_port(const char *addr, zend_long addrlen, struct … argument
536 if (*addr == '[') {
537 colon = memchr(addr + 1, ']', addrlen-1);
542 addr++;
544 colon = memchr(addr, ':', addrlen);
551 tmp = estrndup(addr, colon - addr);
615 struct sockaddr **addr, argument
619 if (addr) {
620 *addr = emalloc(sl);
621 memcpy(*addr, sa, sl);
676 struct sockaddr **addr, argument
687 addr, addrlen
696 struct sockaddr **addr, argument
707 addr, addrlen
727 struct sockaddr **addr, argument
753 addr, addrlen
959 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port) argument
961 memset(addr, 0, sizeof(php_sockaddr_storage));
965 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) addr;
973 struct sockaddr_in *sin = (struct sockaddr_in *) addr;
986 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr) argument
988 switch (((struct sockaddr *)addr)->sa_family) {