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

/freebsd-10-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-10-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-10-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-10-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-10-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-10-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-10-stable/lib/libc/include/
H A Dnscachedcli.h58 char *socket_path; member in struct:cached_connection_params
/freebsd-10-stable/contrib/unbound/dnstap/
H A Ddnstap.h87 * @param socket_path: path to dnstap logging socket, must be non-NULL.
92 dt_create(const char *socket_path, unsigned num_workers);
H A Ddnstap.c122 dt_create(const char *socket_path, unsigned num_workers) argument
131 verbose(VERB_OPS, "opening dnstap socket %s", socket_path);
132 log_assert(socket_path != NULL);
145 fstrm_unix_writer_options_set_socket_path(fuwopt, socket_path);
/freebsd-10-stable/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.c205 strncpy(client_address.sun_path, params->socket_path,
/freebsd-10-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-10-stable/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c55 static const char *socket_path; variable
898 unlink(socket_path);
949 socket_path = default_socket_path;
981 socket_path = optarg;
1008 serv_sock = open_socket(socket_path);
1012 printf("Listening for requests on %s\n", socket_path);

Completed in 309 milliseconds