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/ext/standard/
H A Ddns.c156 int addr_len; local
159 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
H A Dbasic_functions.c3891 int addr_len; local
3898 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
3903 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3908 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3912 if (addr_len == sizeof("255.255.255.255") - 1 &&
/PHP_5_4/sapi/cli/
H A Dphp_cli_server.c166 socklen_t addr_len; member in struct:php_cli_server_client
1729 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) /* {{{ */
1734 client->addr_len = addr_len;
1738 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, &addr_str_len, NULL, 0 TSRMLS_CC);
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c1401 int addr_len; local
1405 addr_len = 16;
1408 addr_len = sizeof( struct sockaddr_in6 );
1411 addr_len = sizeof( struct sockaddr_un );
1427 ret = bind( fd, pServerAddr, addr_len );

Completed in 22 milliseconds