Home
last modified time | relevance | path

Searched refs:sockaddr_un (Results 1 – 8 of 8) 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.c108 if (size <= offsetof(struct sockaddr_un, sun_path)) { in nxt_sockaddr_create()
128 size = offsetof(struct sockaddr_un, sun_path) + 1; in nxt_sockaddr_create()
139 size = offsetof(struct sockaddr_un, sun_path) + 1; in nxt_sockaddr_create()
285 p = (u_char *) sa->u.sockaddr_un.sun_path; in nxt_sockaddr_text()
404 if (memcmp(&sa1->u.sockaddr_un.sun_path, in nxt_sockaddr_cmp()
405 &sa2->u.sockaddr_un.sun_path, length) in nxt_sockaddr_cmp()
588 const size_t max_len = sizeof(struct sockaddr_un) in nxt_sockaddr_unix_parse()
589 - offsetof(struct sockaddr_un, sun_path) - 1; in nxt_sockaddr_unix_parse()
602 socklen = offsetof(struct sockaddr_un, sun_path) + length + 1; in nxt_sockaddr_unix_parse()
626 sa->u.sockaddr_un.sun_family = AF_UNIX; in nxt_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_main_process.c1179 && sa->u.sockaddr_un.sun_path[0] != '\0') in nxt_main_listening_socket()
1184 filename = sa->u.sockaddr_un.sun_path; in nxt_main_listening_socket()
H A Dnxt_runtime.c572 name = (nxt_file_name_t *) sa->u.sockaddr_un.sun_path; in nxt_runtime_exit()
H A Dnxt_controller.c671 const char *path = ls->sockaddr->u.sockaddr_un.sun_path; in nxt_runtime_controller_socket()
/unit/auto/
H A Dsockets96 nxt_feature="struct sockaddr_un size"
106 printf(\"%d\", (int) sizeof(struct sockaddr_un));