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

/freebsd-11-stable/tools/regression/sockets/unix_bindconnect/
H A Dunix_bindconnect.c87 char socket_path[PATH_MAX]; local
97 if (snprintf(socket_path, sizeof(socket_path), "%s/%s",
99 warn("bind_test: snprintf(socket_path)");
107 if (snprintf(sun.sun_path, sizeof(sun.sun_path), "%s", socket_path)
120 push_path(socket_path);
179 unlink(socket_path);
198 char socket_path[PATH_MAX]; local
208 if (snprintf(socket_path, sizeof(socket_path), "
[all...]
/freebsd-11-stable/tools/regression/sockets/unix_close_race/
H A Dunix_close_race.c57 static char socket_path[] = "tmp.XXXXXXXX"; variable
78 if (mkstemp(socket_path) == -1)
80 unlink(socket_path);
88 (void)unlink(socket_path);
91 strcpy(servaddr.sun_path, socket_path);
110 strcpy(servaddr.sun_path, socket_path);
/freebsd-11-stable/tools/regression/sockets/pr_atomic/
H A Dpr_atomic.c45 static char socket_path[] = "tmp.XXXXXX"; variable
61 if (mkstemp(socket_path) == -1)
68 unlink(socket_path);
69 strcpy(un.sun_path, socket_path);
/freebsd-11-stable/usr.sbin/nscd/
H A Dnscdcli.h33 char *socket_path; member in struct:nscd_connection_params
H A Dconfig.h99 char *socket_path; member in struct:configuration
H A Dconfig.c542 if (config->socket_path != NULL)
543 free(config->socket_path);
546 config->socket_path = calloc(1, len + 1);
547 assert(config->socket_path != NULL);
548 memcpy(config->socket_path, DEFAULT_SOCKET_PATH, len);
577 free(config->socket_path);
H A Dnscd.c173 unlink(config->socket_path);
177 strlcpy(serv_addr.sun_path, config->socket_path,
188 "%s", config->socket_path);
193 config->socket_path);
199 chmod(config->socket_path, config->socket_mode);
695 connection_params.socket_path = DEFAULT_SOCKET_PATH;
H A Dnscdcli.c194 strlcpy(client_address.sun_path, params->socket_path,
/freebsd-11-stable/tools/regression/sockets/unix_sendtorace/
H A Dunix_sendtorace.c50 static char socket_path[] = "tmp.XXXXXX"; variable
79 strcpy(sun.sun_path, socket_path);
108 strcpy(sun.sun_path, socket_path);
128 (void)unlink(socket_path);
155 strcpy(sun.sun_path, socket_path);
184 strcpy(sun.sun_path, socket_path);
201 (void)unlink(socket_path);
208 if (mkstemp(socket_path) == -1)
210 (void)unlink(socket_path);
/freebsd-11-stable/crypto/openssh/
H A Dentropy.c71 * 'socket_path'.
72 * Either a non-zero tcp_port or a non-null socket_path must be
78 unsigned short tcp_port, char *socket_path)
88 if (socket_path == NULL && tcp_port == 0)
90 if (socket_path != NULL &&
91 strlen(socket_path) >= sizeof(addr_un->sun_path))
105 strlcpy(addr_un->sun_path, socket_path,
108 strlen(socket_path) + 1;
77 get_random_bytes_prngd(unsigned char *buf, int len, unsigned short tcp_port, char *socket_path) argument
/freebsd-11-stable/lib/libc/include/
H A Dnscachedcli.h58 char *socket_path; member in struct:cached_connection_params
/freebsd-11-stable/contrib/unbound/dnstap/
H A Ddtstream.h218 char* socket_path; member in struct:dt_io_thread
H A Ddtstream.c313 free(dtio->socket_path);
355 free(dtio->socket_path);
356 dtio->socket_path = strdup(nm);
357 if(!dtio->socket_path) {
730 char* to = dtio->socket_path;
741 else if(dtio->socket_path)
743 dtio->socket_path);
954 char* to = dtio->socket_path;
1928 (void)strlcpy(s.sun_path, dtio->socket_path, sizeof(s.sun_path));
1932 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-11-stable/lib/libc/net/
H A Dnscache.c72 params.socket_path = CACHED_SOCKET_PATH;
179 params.socket_path = CACHED_SOCKET_PATH;
244 params.socket_path = CACHED_SOCKET_PATH;
283 params.socket_path = CACHED_SOCKET_PATH;
348 params.socket_path = CACHED_SOCKET_PATH;
H A Dnscachedcli.c205 strncpy(client_address.sun_path, params->socket_path,
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp528 llvm::SmallString<128> socket_path; local
535 llvm::sys::fs::createUniqueFile(socket_path_spec.GetCString(), socket_path);
536 return FileSpec(socket_path.c_str());

Completed in 223 milliseconds