Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_listen_socket.c97 && sa->u.sockaddr_un.sun_path[0] != '\0') in nxt_listen_socket_create()
107 sa->u.sockaddr_un.sun_family = AF_UNIX; in nxt_listen_socket_create()
109 p = nxt_cpystr((u_char *) sa->u.sockaddr_un.sun_path, in nxt_listen_socket_create()
110 (u_char *) orig_sa->u.sockaddr_un.sun_path); in nxt_listen_socket_create()
115 (void) unlink(sa->u.sockaddr_un.sun_path); in nxt_listen_socket_create()
130 name = (nxt_file_name_t *) sa->u.sockaddr_un.sun_path; in nxt_listen_socket_create()
179 tmp = (nxt_file_name_t *) sa->u.sockaddr_un.sun_path; in nxt_listen_socket_create()
180 name = (nxt_file_name_t *) orig_sa->u.sockaddr_un.sun_path; in nxt_listen_socket_create()
199 name = (nxt_file_name_t *) sa->u.sockaddr_un.sun_path; in nxt_listen_socket_create()
278 ls->socklen = offsetof(struct sockaddr_un, sun_path) + 1; in nxt_listen_socket_remote_size()
H A Dnxt_sockaddr.c112 if (size <= offsetof(struct sockaddr_un, sun_path)) { in nxt_sockaddr_create()
132 size = offsetof(struct sockaddr_un, sun_path) + 1; in nxt_sockaddr_create()
143 size = offsetof(struct sockaddr_un, sun_path) + 1; in nxt_sockaddr_create()
289 p = (u_char *) sa->u.sockaddr_un.sun_path; in nxt_sockaddr_text()
408 if (nxt_memcmp(&sa1->u.sockaddr_un.sun_path, in nxt_sockaddr_cmp()
482 p = (u_char *) sa->u.sockaddr_un.sun_path; in nxt_sockaddr_ntop()
668 const size_t max_len = sizeof(struct sockaddr_un) in nxt_sockaddr_unix_parse()
705 sa->u.sockaddr_un.sun_family = AF_UNIX; in nxt_sockaddr_unix_parse()
706 nxt_memcpy(sa->u.sockaddr_un.sun_path, path, length); in nxt_sockaddr_unix_parse()
911 const size_t max_len = sizeof(struct sockaddr_un) in nxt_job_sockaddr_unix_parse()
[all …]
H A Dnxt_sockaddr.h55 struct sockaddr_un sockaddr_un; member
H A Dnxt_socket.h69 #define NXT_SOCKADDR_LEN sizeof(struct sockaddr_un)
H A Dnxt_runtime.c572 name = (nxt_file_name_t *) sa->u.sockaddr_un.sun_path; in nxt_runtime_exit()
H A Dnxt_main_process.c1194 filename = sa->u.sockaddr_un.sun_path; in nxt_main_listening_socket()
/unit/auto/
H A Dsockets96 nxt_feature="struct sockaddr_un size"
106 printf(\"%d\", (int) sizeof(struct sockaddr_un));