Searched refs:sau (Results 1 – 5 of 5) sorted by relevance
/curl/tests/server/ |
H A D | server_sockaddr.h | 39 struct sockaddr_un sau; member
|
H A D | util.c | 841 struct sockaddr_un *sau) in bind_unix_socket() argument 847 memset(sau, 0, sizeof(struct sockaddr_un)); in bind_unix_socket() 848 sau->sun_family = AF_UNIX; in bind_unix_socket() 849 if(len >= sizeof(sau->sun_path) - 1) { in bind_unix_socket() 853 strcpy(sau->sun_path, unix_socket); in bind_unix_socket() 854 rc = bind(sock, (struct sockaddr*)sau, sizeof(struct sockaddr_un)); in bind_unix_socket() 865 rc = connect(unixfd, (struct sockaddr*)sau, sizeof(struct sockaddr_un)); in bind_unix_socket() 899 rc = bind(sock, (struct sockaddr*)sau, sizeof(struct sockaddr_un)); in bind_unix_socket()
|
H A D | util.h | 95 struct sockaddr_un *sau);
|
H A D | socksd.c | 899 rc = bind_unix_socket(sock, unix_socket, &listener.sau); in sockdaemon() 1058 struct sockaddr_un sau; in main() local 1060 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main() 1063 sizeof(sau.sun_path), unix_socket); in main()
|
H A D | sws.c | 2136 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main() 2139 sizeof(me.sau.sun_path), unix_socket); in main() 2276 rc = bind_unix_socket(sock, unix_socket, &me.sau); in main()
|
Completed in 16 milliseconds