Lines Matching refs:sl
552 …rse_network_address_with_port(const char *addr, size_t addrlen, struct sockaddr *sa, socklen_t *sl) in php_network_parse_network_address_with_port() argument
593 *sl = sizeof(struct sockaddr_in6); in php_network_parse_network_address_with_port()
601 *sl = sizeof(struct sockaddr_in); in php_network_parse_network_address_with_port()
623 *sl = sizeof(struct sockaddr_in6); in php_network_parse_network_address_with_port()
630 *sl = sizeof(struct sockaddr_in); in php_network_parse_network_address_with_port()
645 struct sockaddr *sa, socklen_t sl, in php_network_populate_name_from_sockaddr() argument
654 *addr = emalloc(sl); in php_network_populate_name_from_sockaddr()
655 memcpy(*addr, sa, sl); in php_network_populate_name_from_sockaddr()
656 *addrlen = sl; in php_network_populate_name_from_sockaddr()
691 int len = sl - sizeof(sa_family_t); in php_network_populate_name_from_sockaddr()
713 socklen_t sl = sizeof(sa); in php_network_get_peer_name() local
716 if (getpeername(sock, (struct sockaddr*)&sa, &sl) == 0) { in php_network_get_peer_name()
717 php_network_populate_name_from_sockaddr((struct sockaddr*)&sa, sl, in php_network_get_peer_name()
733 socklen_t sl = sizeof(sa); in php_network_get_sock_name() local
736 if (getsockname(sock, (struct sockaddr*)&sa, &sl) == 0) { in php_network_get_sock_name()
737 php_network_populate_name_from_sockaddr((struct sockaddr*)&sa, sl, in php_network_get_sock_name()
770 socklen_t sl; in php_network_accept_incoming() local
779 sl = sizeof(sa); in php_network_accept_incoming()
781 clisock = accept(srvsock, (struct sockaddr*)&sa, &sl); in php_network_accept_incoming()
784 php_network_populate_name_from_sockaddr((struct sockaddr*)&sa, sl, in php_network_accept_incoming()