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

1 2 3

  /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...]
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...]
  /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");
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);
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 */
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);
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.c 59 server(struct sockaddr_in *sin) { function in typeref:typename:int
160 s = server(&sin);
  /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...]
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);
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...]
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...]
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");

Completed in 36 milliseconds

1 2 3