Lines Matching refs:addr
306 const struct sockaddr *addr, argument
321 if ((n = connect(sockfd, addr, addrlen)) != 0) {
511 PHPAPI zend_result php_network_parse_network_address_with_port(const char *addr, size_t addrlen, st… argument
529 if (*addr == '[') {
530 colon = memchr(addr + 1, ']', addrlen-1);
535 addr++;
537 colon = memchr(addr, ':', addrlen);
544 tmp = estrndup(addr, colon - addr);
608 struct sockaddr **addr, argument
612 if (addr) {
613 *addr = emalloc(sl);
614 memcpy(*addr, sa, sl);
667 struct sockaddr **addr, argument
678 addr, addrlen
687 struct sockaddr **addr, argument
698 addr, addrlen
718 struct sockaddr **addr, argument
745 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 socklen_t php_sockaddr_size(php_sockaddr_storage *addr) argument
988 switch (((struct sockaddr *)addr)->sa_family) {