Searched refs:unix_addr (Results 1 – 1 of 1) sorted by relevance
588 static inline int parse_unix_address(php_stream_xport_param *xparam, struct sockaddr_un *unix_addr) in parse_unix_address() argument590 memset(unix_addr, 0, sizeof(*unix_addr)); in parse_unix_address()591 unix_addr->sun_family = AF_UNIX; in parse_unix_address()596 …unsigned long max_length = is_abstract_ns ? sizeof(unix_addr->sun_path) : sizeof(unix_addr->sun_pa… in parse_unix_address()612 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen); in parse_unix_address()672 struct sockaddr_un unix_addr; in php_tcp_sockop_bind() local685 parse_unix_address(xparam, &unix_addr); in php_tcp_sockop_bind()687 return bind(sock->socket, (const struct sockaddr *)&unix_addr, in php_tcp_sockop_bind()753 struct sockaddr_un unix_addr; in php_tcp_sockop_connect() local764 parse_unix_address(xparam, &unix_addr); in php_tcp_sockop_connect()[all …]
Completed in 7 milliseconds