Searched refs:socket_path (Results 1 - 21 of 21) sorted by relevance

/freebsd-current/tools/regression/sockets/unix_bindconnect/
H A Dunix_bindconnect.c85 char socket_path[PATH_MAX]; local
95 if (snprintf(socket_path, sizeof(socket_path), "%s/%s",
97 warn("bind_test: snprintf(socket_path)");
105 if (snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", socket_path)
118 push_path(socket_path);
177 unlink(socket_path);
196 char socket_path[PATH_MAX]; local
206 if (snprintf(socket_path, sizeof(socket_path), "
[all...]
/freebsd-current/tools/regression/sockets/unix_close_race/
H A Dunix_close_race.c55 static char socket_path[] = "tmp.XXXXXXXX"; variable
76 if (mkstemp(socket_path) == -1)
78 unlink(socket_path);
86 (void)unlink(socket_path);
89 strcpy(servaddr.sun_path, socket_path);
108 strcpy(servaddr.sun_path, socket_path);
/freebsd-current/tools/regression/sockets/pr_atomic/
H A Dpr_atomic.c43 static char socket_path[] = "tmp.XXXXXX"; variable
59 if (mkstemp(socket_path) == -1)
66 unlink(socket_path);
67 strcpy(un.sun_path, socket_path);
/freebsd-current/usr.sbin/nscd/
H A Dnscdcli.h31 char *socket_path; member in struct:nscd_connection_params
H A Dconfig.h97 char *socket_path; member in struct:configuration
H A Dconfig.c540 if (config->socket_path != NULL)
541 free(config->socket_path);
544 config->socket_path = calloc(1, len + 1);
545 assert(config->socket_path != NULL);
546 memcpy(config->socket_path, DEFAULT_SOCKET_PATH, len);
575 free(config->socket_path);
H A Dnscd.c169 unlink(config->socket_path);
173 strlcpy(serv_addr.sun_path, config->socket_path,
184 "%s", config->socket_path);
189 config->socket_path);
195 chmod(config->socket_path, config->socket_mode);
698 connection_params.socket_path = DEFAULT_SOCKET_PATH;
H A Dnscdcli.c187 strlcpy(client_address.sun_path, params->socket_path,
/freebsd-current/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c48 static char socket_path[] = "tmp.XXXXXX"; variable
77 strcpy(sun.sun_path, socket_path);
106 strcpy(sun.sun_path, socket_path);
126 (void)unlink(socket_path);
153 strcpy(sun.sun_path, socket_path);
182 strcpy(sun.sun_path, socket_path);
199 (void)unlink(socket_path);
206 if (mkstemp(socket_path) == -1)
208 (void)unlink(socket_path);
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dport-prngd.c53 * 'socket_path'.
54 * Either a non-zero tcp_port or a non-null socket_path must be
60 unsigned short tcp_port, char *socket_path)
70 if (socket_path == NULL && tcp_port == 0)
72 if (socket_path != NULL &&
73 strlen(socket_path) >= sizeof(addr_un->sun_path))
87 strlcpy(addr_un->sun_path, socket_path,
90 strlen(socket_path) + 1;
59 get_random_bytes_prngd(unsigned char *buf, int len, unsigned short tcp_port, char *socket_path) argument
/freebsd-current/lib/libc/include/
H A Dnscachedcli.h58 char *socket_path; member in struct:cached_connection_params
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp179 llvm::SmallString<0> socket_model, socket_path; local
183 llvm::sys::fs::createUniquePath(socket_model, socket_path, false);
184 } while (FileSystem::Instance().Exists(socket_path));
186 Args args({qemu.GetPath(), "-g", socket_path});
234 error = process_sp->ConnectRemote(("unix-connect://" + socket_path).str());
/freebsd-current/contrib/unbound/dnstap/
H A Ddtstream.h218 char* socket_path; member in struct:dt_io_thread
H A Ddtstream.c318 free(dtio->socket_path);
360 free(dtio->socket_path);
361 dtio->socket_path = strdup(nm);
362 if(!dtio->socket_path) {
735 char* to = dtio->socket_path;
746 else if(dtio->socket_path)
748 dtio->socket_path);
959 char* to = dtio->socket_path;
1933 (void)strlcpy(s.sun_path, dtio->socket_path, sizeof(s.sun_path));
1937 char* to = dtio->socket_path;
[all...]
H A Ddnstap.c120 check_socket_file(const char* socket_path) argument
124 if(stat(socket_path, &statbuf) < 0) {
126 socket_path, strerror(errno));
/freebsd-current/lib/libc/net/
H A Dnscache.c71 params.socket_path = CACHED_SOCKET_PATH;
178 params.socket_path = CACHED_SOCKET_PATH;
243 params.socket_path = CACHED_SOCKET_PATH;
282 params.socket_path = CACHED_SOCKET_PATH;
347 params.socket_path = CACHED_SOCKET_PATH;
H A Dnscachedcli.c201 strncpy(client_address.sun_path, params->socket_path,
/freebsd-current/crypto/heimdal/kcm/
H A Dkcm_locl.h167 extern char *socket_path;
H A Dconfig.c42 char *socket_path = NULL; variable
130 "socket-path", 's', arg_string, &socket_path,
/freebsd-current/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c62 static const char *socket_path; variable
953 if (socket_path)
954 unlink(socket_path);
1014 socket_path = default_socket_path;
1046 socket_path = optarg;
1074 serv_sock = open_socket(socket_path);
1078 printf("Listening for requests on %s\n", socket_path);
1088 socket_path = NULL;
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp583 llvm::SmallString<128> socket_path; local
591 socket_path);
592 return FileSpec(socket_path.c_str());

Completed in 373 milliseconds