HomeSort by: relevance | last modified time | path
    Searched defs:server (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/lib/libwrap/
socket.c 5 * socket address and port, the server socket address and port. In addition,
84 static struct sockaddr_storage server; local in function:sock_host
120 * Determine the server binding. This is used for client username
121 * lookups, and for access control rules that trigger on the server
125 if (request->server->sin == NULL) {
126 len = sizeof(server);
127 if (getsockname(fd, (struct sockaddr *) & server, &len) < 0) {
131 request->server->sin = (struct sockaddr *)&server;
226 * may be a transient problem or a botched name server setup
    [all...]
tcpd.h 31 struct host_info server[1]; /* server endpoint info */ member in struct:request_info
114 #define RQ_DAEMON 2 /* server process (argv[0]) */
119 #define RQ_SERVER_NAME 7 /* server host name */
120 #define RQ_SERVER_ADDR 8 /* server host address */
121 #define RQ_SERVER_SIN 9 /* server endpoint (internal) */
  /src/usr.bin/eject/
am_glue.c 93 static const char *server = "localhost"; local in function:am_init
106 clnt = clnt_create(server, xAMQ_PROGRAM, xAMQ_VERSION, "tcp");
111 clnt = clnt_create(server, xAMQ_PROGRAM, xAMQ_VERSION, "udp");
  /src/usr.sbin/sdpd/
main.c 65 server_t server; local in function:main
133 /* Initialize server */
134 if (!server_init(&server, control, sgroup))
141 if (!server_do(&server))
145 server_shutdown(&server);
sdpd.h 90 bool server; /* descriptor is listening */ member in struct:fd_idx
101 * SDP server
103 struct server { struct
119 typedef struct server server_t;
151 /* server.c */
  /src/lib/libc/rpc/
svc_raw.c 50 * Interface to create an rpc client and server in the same UNIX process.
79 SVCXPRT server; member in struct:svc_raw_private
114 srp->server.xp_fd = -1;
115 srp->server.xp_port = 0;
116 srp->server.xp_p3 = NULL;
117 svc_raw_ops(&srp->server);
118 srp->server.xp_verf.oa_base = srp->verf_body;
120 if (!xprt_register(&srp->server))
123 return (&srp->server);
  /src/tests/net/net/
t_pktinfo.c 59 server(struct sockaddr_in *sin) { function in typeref:typename:int
160 s = server(&sin);
t_pktinfo_send.c 162 try_sendmsg_pktinfo(int client, int server, const char *data, size_t datalen,
174 RL(rv = rump_sys_recvfrom(server, buf, sizeof(buf), 0,
183 do_send_pktinfo_tests(int client, int server, const char *data, size_t datalen)
200 try_sendmsg_pktinfo(client, server, data, datalen,
202 try_sendmsg_pktinfo(client, server, data, datalen,
204 try_sendmsg_pktinfo(client, server, data, datalen,
206 try_sendmsg_pktinfo(client, server, data, datalen,
229 int client, server; local in function:ATF_TC_BODY
233 server = udp_server("127.0.0.1", SERVERPORT);
237 do_send_pktinfo_tests(client, server, message, strlen(message))
252 int client, server, rv; local in function:ATF_TC_BODY
276 int client, server, rv; local in function:ATF_TC_BODY
300 int client, server, rv; local in function:ATF_TC_BODY
324 int client, server, rv; local in function:ATF_TC_BODY
348 int client, server, other, rv; local in function:ATF_TC_BODY
375 int client, server, rv; local in function:ATF_TC_BODY
411 int client, server, rv; local in function:ATF_TC_BODY
443 int client, server, rv; local in function:ATF_TC_BODY
492 int client, server; local in function:ATF_TC_BODY
650 int server, rv; local in function:ATF_TC_BODY
745 int server, i, rv; local in function:ATF_TC_BODY
    [all...]
  /src/usr.sbin/tcpdmatch/
tcpdmatch.c 67 char *server; local in function:main
116 if ((server = split_at(argv[optind], '@')) == 0)
117 server = unknown;
170 * If a server hostname is specified, insist that the name maps to at
171 * most one address. eval_hostname() warns the user about name server
172 * problems, while using the request.server structure as a cache for host
175 if (NOT_INADDR(server) == 0 || HOSTNAME_KNOWN(server)) {
176 if ((res0 = find_inet_addr(server, 0)) == NULL)
189 * Force evaluation of server host name and address. Host nam
    [all...]
  /src/tests/lib/libc/rpc/
t_rpc.c 97 server(struct svc_req *rqstp, SVCXPRT *transp) function in typeref:typename:void
101 DPRINTF("Starting server\n");
128 DPRINTF("Leaving server procedure.\n");
146 ERRX(EXIT_FAILURE, "Cannot create server %d", num);
147 if (!svc_reg(svc, PROGNUM, VERSNUM, server, NULL))
148 ERRX(EXIT_FAILURE, "Cannot register server %d", num);
181 if (!svc_create(server, PROGNUM, VERSNUM, transp))
182 SKIPX(EXIT_FAILURE, "Cannot create server %d", num);
  /src/usr.sbin/puffs/mount_9p/
ninepuffs.h 48 * refuse (no, not *that* refuse) to play if the server doesn't
105 size_t maxreq; /* negotiated with server */
108 int server; member in struct:puffs9p
ninepuffs.c 29 * 9puffs: access a 9P file server as a vfs via puffs
63 "[user@]server[:path] mountpoint\n", getprogname());
70 * TCP connection to 9P file server.
151 int server; local in function:main
168 server = P9P_SERVER_TCP;
185 server = P9P_SERVER_CDEV;
256 p9p.server = server;
274 if (server == P9P_SERVER_TCP && *srvhost == '[') {
301 if (p9p.server == P9P_SERVER_TCP)
    [all...]
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_test.c 11 char *server; variable in typeref:typename:char *
32 fprintf(stderr, "usage: %s server host printer user password [transport]\n",
37 server = argv[1];
45 cl = clnt_create(server, PCNFSDPROG, PCNFSDVERS, transport);
47 clnt_pcreateerror(server);
50 cl2 = clnt_create(server, PCNFSDPROG, PCNFSDV2, transport);
52 clnt_pcreateerror(server);
126 clnt_perror(cl2, server);
170 clnt_perror(cl2, server);
211 clnt_perror(cl2, server);
    [all...]
  /src/dist/pf/libexec/tftp-proxy/
tftp-proxy.c 96 struct sockaddr_storage from, proxy, server, proxy_to_server, s_in; local in function:main
250 /* find the un-rdr'd server and port the client wanted */
252 (struct sockaddr *)&proxy, (struct sockaddr *)&server,
258 /* establish a new outbound connection to the remote server */
273 if (connect(out_fd, (struct sockaddr *)&server,
274 ((struct sockaddr *)&server)->sa_len) < 0 && errno != EINPROGRESS) {
275 syslog(LOG_ERR, "couldn't connect to remote server: %m");
294 sock_ntop((struct sockaddr *)&server),
295 ntohs(((struct sockaddr_in *)&server)->sin_port),
305 /* rdr from server to us on our random port -> client on its port *
    [all...]
  /src/games/hunt/huntd/
driver.c 211 static bool server = false; local in function:main
218 server = true;
341 if (server) {
  /src/lib/libtelnet/
kerberos5.c 146 kerberos5_init(Authenticator *ap, int server)
156 if (server) {
260 printf("Sent Kerberos V5 credentials to server\r\n");
272 krb5_principal server; local in function:kerberos5_is
305 KRB5_NT_SRV_HST, &server);
316 server, NULL, NULL, &ticket);
317 krb5_free_principal(telnet_context, server);
698 ret = krb5_build_principal(telnet_context, &creds.server,
728 printf("Forwarded local Kerberos V5 credentials to server\r\n");
  /src/sys/arch/playstation2/playstation2/
sifbios.h 107 /* server service function */
140 struct sifrpc_server *server; member in struct:sifrpc_client
143 /* server */
165 /* server request queue */
180 * Server side
  /src/usr.bin/nfsstat/
nfsstat.c 306 printf("Server Info:\n");
352 printf("Server Errors:\n");
358 printf("Server Cache Stats:\n");
366 printf("Server Write Gathering:\n");
393 int server[NSHORTPROC]; member in struct:sidewaysintpr::stats
418 current.server[i] += nfsstats.srvrpccnt[idx];
430 printf("Server:");
433 current.server[i] - last.server[i]);
  /src/usr.bin/whois/
whois.c 81 #define WHOIS_SERVER_ID "Registrar WHOIS Server:"
168 const char *server = local in function:main
170 rval += whois(name, server, port_whois, flags);
177 whois(const char *query, const char *server, const char *port, int flags)
190 error = getaddrinfo(server, port, &hints, &res);
195 warnx("%s: %s", server, gai_strerror(error));
219 warn("%s: %s", server, reason);
225 if (strcmp(server, "whois.denic.de") == 0 ||
226 strcmp(server, "de" QNICHOST_TAIL) == 0)
228 else if (strcmp(server, "whois.dk-hostmaster.dk") == 0 |
303 static char *server; local in function:choose_server
    [all...]
  /src/usr.sbin/acpitools/acpidump/
acpidump.h 64 } server; member in union:TCPAbody::__anon148bc058010a
  /src/usr.sbin/timed/timedc/
cmds.c 242 struct sockaddr_in server; local in function:clockdiff
249 if ((hostname = getaddr(*argv, &server, port)) == NULL)
253 measure_status = measure(10000,100, *argv, &server, 1);
280 avg = daydiff(*argv, &server);
  /src/usr.sbin/altq/altqstat/
quip_client.c 46 * in order to retrieve information from the server.
48 * client-server style communication.
106 static FILE *server = NULL; variable in typeref:typename:FILE *
129 if ((server = fdopen(fd, "r+")) == NULL) {
130 warn("fdopen: can't open stream to the quip server");
139 if (server != NULL)
140 return fclose(server);
174 * recv_response receives a response message from the server
273 printf(">>>Entering the raw interactive mode to the server:\n\n");
274 if (server == NULL)
    [all...]
  /src/usr.sbin/npf/npftest/libnpftest/
npf_rid_test.c 162 * we create our specific server socket here which listens on
169 struct sockaddr_in server; local in function:test_socket
173 memset(&server, 0, sizeof(server));
175 server.sin_len = sizeof(server);
176 server.sin_family = AF_INET;
177 p = &server.sin_addr.s_addr;
179 server.sin_port = htons(LOCAL_PORT);
200 if ((error = sobind(so, (struct sockaddr *)&server, cur)) != 0)
    [all...]
  /src/usr.bin/rdist/
server.c 1 /* $NetBSD: server.c,v 1.33 2019/02/03 03:19:29 mrg Exp $ */
35 static char sccsid[] = "@(#)server.c 8.1 (Berkeley) 6/9/93";
37 __RCSID("$NetBSD: server.c,v 1.33 2019/02/03 03:19:29 mrg Exp $");
88 * Server routine to read requests and process them.
95 server(void) function in typeref:typename:void
110 error("server: could not write remote end: %s\n",
118 error("server: expected control record\n");
162 error("server: too many 'E's\n");
214 error("server: options not delimited\n");
233 error("server: unknown command '%s'\n", cp)
    [all...]
  /src/usr.sbin/timed/timed/
timed.c 133 struct sockaddr_in server; local in function:main
223 (void)memset(&server, 0, sizeof(server));
224 server.sin_port = srvp->s_port;
225 server.sin_family = AF_INET;
233 if (bind(sock, (struct sockaddr*)(void *)&server, sizeof(server))) {

Completed in 140 milliseconds

1 2