Searched refs:addr_len (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c2227 int addr_len; local
2232 addr_len = 16;
2235 addr_len = sizeof( struct sockaddr_in6 );
2238 addr_len = sizeof( struct sockaddr_un );
2254 ret = bind( fd, pServerAddr, addr_len );
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_sockets.c256 int addr_len; local
278 addr_len = strlen(addr);
279 if (addr[0] == '[' && addr[addr_len - 1] == ']') {
280 addr[addr_len - 1] = '\0';
/PHP_TRUNK/ext/sockets/
H A Dsockets.c1386 size_t addr_len; local
1390 if (zend_parse_parameters(argc, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1441 if (addr_len >= sizeof(s_un.sun_path)) {
1447 memcpy(&s_un.sun_path, addr, addr_len);
1449 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1490 size_t addr_len; local
1494 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1507 if (addr_len >= sizeof(sa->sun_path)) {
1513 memcpy(&sa->sun_path, addr, addr_len);
1516 offsetof(struct sockaddr_un, sun_path) + addr_len);
1773 size_t buf_len, addr_len; local
2227 socklen_t addr_len = sizeof(addr); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c3912 size_t addr_len; local
3919 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &addr, &addr_len) == FAILURE) {
3924 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3929 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3933 if (addr_len == sizeof("255.255.255.255") - 1 &&
H A Ddns.c156 size_t addr_len; local
159 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &addr, &addr_len) == FAILURE) {
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c170 socklen_t addr_len; member in struct:php_cli_server_client
1819 static int php_cli_server_client_ctor(php_cli_server_client *client, php_cli_server *server, php_socket_t client_sock, struct sockaddr *addr, socklen_t addr_len) /* {{{ */ argument
1824 client->addr_len = addr_len;
1828 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0);

Completed in 42 milliseconds