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

/PHP_TRUNK/ext/sockets/
H A Dsockets.c1377 size_t addr_len; local
1381 if (zend_parse_parameters(argc TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1432 if (addr_len >= sizeof(s_un.sun_path)) {
1438 memcpy(&s_un.sun_path, addr, addr_len);
1440 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1481 size_t addr_len; local
1485 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1498 if (addr_len >= sizeof(sa->sun_path)) {
1504 memcpy(&sa->sun_path, addr, addr_len);
1507 offsetof(struct sockaddr_un, sun_path) + addr_len);
1764 size_t buf_len, addr_len; local
2218 socklen_t addr_len = sizeof(addr); local
[all...]
/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/cli/
H A Dphp_cli_server.c170 socklen_t addr_len; member in struct:php_cli_server_client
1788 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 TSRMLS_DC) /* {{{ */
1793 client->addr_len = addr_len;
1797 php_network_populate_name_from_sockaddr(addr, addr_len, &addr_str, NULL, 0 TSRMLS_CC);
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c3915 size_t addr_len; local
3922 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
3927 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3932 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3936 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() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {

Completed in 27 milliseconds