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

/PHP_5_5/ext/sockets/
H A Dsockets.c1381 int retval, addr_len; local
1385 if (zend_parse_parameters(argc TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1436 if (addr_len >= sizeof(s_un.sun_path)) {
1442 memcpy(&s_un.sun_path, addr, addr_len);
1444 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1485 int addr_len; local
1489 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1502 if (addr_len >= sizeof(sa->sun_path)) {
1508 memcpy(&sa->sun_path, addr, addr_len);
1511 offsetof(struct sockaddr_un, sun_path) + addr_len);
1764 int retval, buf_len, addr_len; local
2221 socklen_t addr_len = sizeof(addr); local
[all...]
/PHP_5_5/ext/standard/
H A Dbasic_functions.c3944 int addr_len; local
3951 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
3956 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3961 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3965 if (addr_len == sizeof("255.255.255.255") - 1 &&
H A Ddns.c156 int addr_len; local
159 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
/PHP_5_5/sapi/cli/
H A Dphp_cli_server.c169 socklen_t addr_len; member in struct:php_cli_server_client
1863 static int php_cli_server_client_ctor(php_cli_server_client *client, php_cli_server *server, int client_sock, struct sockaddr *addr, socklen_t addr_len TSRMLS_DC) /* {{{ */
1868 client->addr_len = addr_len;
1872 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, &addr_str_len, NULL, 0 TSRMLS_CC);
/PHP_5_5/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_5_5/sapi/fpm/fpm/
H A Dfpm_sockets.c247 int addr_len; local
268 addr_len = strlen(addr);
269 if (addr[0] == '[' && addr[addr_len - 1] == ']') {
270 addr[addr_len - 1] = '\0';

Completed in 30 milliseconds