Home
last modified time | relevance | path

Searched refs:unix_addr (Results 1 – 1 of 1) sorted by relevance

/PHP-5.4/main/streams/
H A Dxp_socket.c501 memset(unix_addr, 0, sizeof(*unix_addr)); in parse_unix_address()
502 unix_addr->sun_family = AF_UNIX; in parse_unix_address()
506 if (xparam->inputs.namelen >= sizeof(unix_addr->sun_path)) { in parse_unix_address()
512 xparam->inputs.namelen = sizeof(unix_addr->sun_path) - 1; in parse_unix_address()
515 "and was truncated", (unsigned long)sizeof(unix_addr->sun_path)); in parse_unix_address()
518 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen); in parse_unix_address()
576 struct sockaddr_un unix_addr; in php_tcp_sockop_bind() local
589 parse_unix_address(xparam, &unix_addr TSRMLS_CC); in php_tcp_sockop_bind()
591 return bind(sock->socket, (const struct sockaddr *)&unix_addr, in php_tcp_sockop_bind()
626 struct sockaddr_un unix_addr; in php_tcp_sockop_connect() local
[all …]

Completed in 5 milliseconds