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

/PHP_5_3/ext/sockets/
H A Dsockets.c1290 int retval, addr_len; local
1294 if (zend_parse_parameters(argc TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1339 if (addr_len >= sizeof(s_un.sun_path)) {
1347 memcpy(&s_un.sun_path, addr, addr_len);
1348 retval = connect(php_sock->bsd_socket, (struct sockaddr *) &s_un, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + addr_len);
1388 int addr_len; local
1392 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &arg1, &addr, &addr_len, &port) == FAILURE) {
1662 int retval, buf_len, addr_len; local
1667 if (zend_parse_parameters(argc TSRMLS_CC, "rslls|l", &arg1, &buf, &buf_len, &len, &flags, &addr, &addr_len, &port) == FAILURE) {
/PHP_5_3/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 );
/PHP_5_3/ext/standard/
H A Dbasic_functions.c3920 int addr_len; local
3927 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
3932 if (addr_len == 0 || inet_pton(AF_INET, addr, &ip) != 1) {
3937 if (addr_len == 0 || (ip = inet_addr(addr)) == INADDR_NONE) {
3941 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) {

Completed in 17 milliseconds