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 | 837 struct sockaddr_un *sau) in bind_unix_socket() argument 843 memset(sau, 0, sizeof(struct sockaddr_un)); in bind_unix_socket() 844 sau->sun_family = AF_UNIX; in bind_unix_socket() 845 if(len >= sizeof(sau->sun_path) - 1) { in bind_unix_socket() 849 strcpy(sau->sun_path, unix_socket); in bind_unix_socket() 850 rc = bind(sock, (struct sockaddr*)sau, sizeof(struct sockaddr_un)); in bind_unix_socket() 861 rc = connect(unixfd, (struct sockaddr*)sau, sizeof(struct sockaddr_un)); in bind_unix_socket() 895 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 | 876 rc = bind_unix_socket(sock, unix_socket, &listener.sau); in sockdaemon() 1035 struct sockaddr_un sau; in main() local 1037 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main() 1040 sizeof(sau.sun_path), unix_socket); in main()
|
H A D | sws.c | 2084 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main() 2087 sizeof(me.sau.sun_path), unix_socket); in main() 2224 rc = bind_unix_socket(sock, unix_socket, &me.sau); in main()
|
Completed in 20 milliseconds