Home
last modified time | relevance | path

Searched refs:sau (Results 1 – 5 of 5) sorted by relevance

/curl/tests/server/
H A Dserver_sockaddr.h39 struct sockaddr_un sau; member
H A Dutil.c837 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 Dutil.h95 struct sockaddr_un *sau);
H A Dsocksd.c876 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 Dsws.c2084 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