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

/PHP_5_4/ext/sockets/
H A Dsockets.c1566 int retval, addr_len; local
1570 if (zend_parse_parameters(argc TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1621 if (addr_len >= sizeof(s_un.sun_path)) {
1627 memcpy(&s_un.sun_path, addr, addr_len);
1629 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1670 int addr_len; local
1674 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1944 int retval, buf_len, addr_len; local
1949 if (zend_parse_parameters(argc TSRMLS_CC, "rslls|l", &arg1, &buf, &buf_len, &len, &flags, &addr, &addr_len, &port) == FAILURE) {
2562 socklen_t addr_len local
[all...]
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c166 socklen_t addr_len; member in struct:php_cli_server_client
1730 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) /* {{{ */
1735 client->addr_len = addr_len;
1739 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, &addr_str_len, NULL, 0 TSRMLS_CC);
/PHP_5_4/ext/standard/
H A Dbasic_functions.c3892 int addr_len; local
3899 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
3904 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3909 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3913 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_4/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 );

Completed in 24 milliseconds