Home
last modified time | relevance | path

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

/third_party/curl/tests/server/
Dutil.c821 int bind_unix_socket(curl_socket_t sock, const char *unix_socket, in bind_unix_socket() argument
828 strncpy(sau->sun_path, unix_socket, sizeof(sau->sun_path) - 1); in bind_unix_socket()
836 unix_socket, SOCKERRNO, sstrerror(SOCKERRNO)); in bind_unix_socket()
845 unix_socket, error, sstrerror(error)); in bind_unix_socket()
851 rc = curlx_win32_stat(unix_socket, &statbuf); in bind_unix_socket()
853 rc = lstat(unix_socket, &statbuf); in bind_unix_socket()
857 unix_socket, errno, strerror(errno)); in bind_unix_socket()
862 logmsg("Error binding socket, failed to stat %s", unix_socket); in bind_unix_socket()
867 rc = unlink(unix_socket); in bind_unix_socket()
870 unix_socket, errno, strerror(errno)); in bind_unix_socket()
Dsocksd.c789 , const char *unix_socket in sockdaemon() argument
861 rc = bind_unix_socket(sock, unix_socket, &listener.sau); in sockdaemon()
870 unix_socket, error, sstrerror(error)); in sockdaemon()
881 && !unix_socket in sockdaemon()
952 const char *unix_socket = NULL; in main() local
1021 unix_socket = argv[arg]; in main()
1022 if(strlen(unix_socket) >= sizeof(sau.sun_path)) { in main()
1025 sizeof(sau.sun_path), unix_socket); in main()
1086 , unix_socket in main()
1102 logmsg("Listening on unix socket %s", unix_socket); in main()
[all …]
Dutil.h95 int bind_unix_socket(curl_socket_t sock, const char *unix_socket,
Dsws.c1957 const char *unix_socket = NULL; in main() local
2037 unix_socket = argv[arg]; in main()
2038 if(strlen(unix_socket) >= sizeof(me.sau.sun_path)) { in main()
2041 sizeof(me.sau.sun_path), unix_socket); in main()
2046 location_str = unix_socket; in main()
2178 rc = bind_unix_socket(sock, unix_socket, &me.sau); in main()
2186 unix_socket, error, sstrerror(error)); in main()
2424 rc = unlink(unix_socket); in main()
2425 logmsg("unlink(%s) = %d (%s)", unix_socket, rc, strerror(rc)); in main()
/third_party/curl/tests/
Dhttp-server.pl47 my $unix_socket; # location to place a listening Unix socket
111 $unix_socket = $ARGV[1];
183 $flags .= "--unix-socket '$unix_socket' ";
/third_party/toybox/toys/pending/
Dsyslogd.c59 char *unix_socket;
413 if ((toys.optflags & FLAG_p) && (strlen(TT.unix_socket) > 108)) in syslogd_main()
421 tsd->path = (toys.optflags & FLAG_p) ? TT.unix_socket : "/dev/log"; // DEFLOGSOCK in syslogd_main()
/third_party/toybox/generated/
Dglobals.h890 char *unix_socket; member