| /dflybsd-src/usr.sbin/ppp/ |
| H A D | server.c | 54 struct server *s = descriptor2server(d); in server_UpdateSet() 76 struct server *s = descriptor2server(d); in server_IsSet() 92 struct server *s = descriptor2server(d); in server_Read() 203 struct server server = { variable 218 char name[sizeof server.cfg.sockname]; in server_Reopen() 224 if (server.cfg.sockname[0] != '\0') { in server_Reopen() 225 strcpy(name, server.cfg.sockname); in server_Reopen() 226 mask = server.cfg.mask; in server_Reopen() 228 if (server.cfg.sockname[0] != '\0' && stat(server.cfg.sockname, &st) == 0) in server_Reopen() 229 if (!(st.st_mode & S_IFSOCK) || unlink(server.cfg.sockname) != 0) in server_Reopen() [all …]
|
| H A D | server.h | 32 struct server { struct 54 ((d)->type == SERVER_DESCRIPTOR ? (struct server *)(d) : NULL) argument 56 extern struct server server;
|
| /dflybsd-src/contrib/wpa_supplicant/src/crypto/ |
| H A D | tls_internal.c | 23 int server; member 35 struct tlsv1_server *server; member 104 if (!global->server) { in tls_connection_init() 115 if (global->server) { in tls_connection_init() 116 conn->server = tlsv1_server_init(global->server_cred); in tls_connection_init() 117 if (conn->server == NULL) { in tls_connection_init() 132 if (conn->server) in tls_connection_set_test_flags() 133 tlsv1_server_set_test_flags(conn->server, flags); in tls_connection_set_test_flags() 144 if (conn->server) in tls_connection_set_log_cb() 145 tlsv1_server_set_log_cb(conn->server, log_cb, ctx); in tls_connection_set_log_cb() [all …]
|
| /dflybsd-src/contrib/tcp_wrappers/ |
| H A D | tli.c | 72 static struct sockaddr_storage server; local 75 static struct sockaddr_in server; 102 if (request->server->unit != 0) { 104 server = *(struct sockaddr_storage *) request->server->unit->addr.buf; 105 request->server->sin = (struct sockaddr *) &server; 107 server = *(struct sockaddr_in *) request->server->unit->addr.buf; 108 request->server->sin = &server; 129 if (request->server->unit != 0) 130 t_free((char *) request->server->unit, T_UNITDATA); 138 struct t_unitdata *server; local [all …]
|
| H A D | tcpdmatch.c | 67 char *server; local 122 if ((server = split_at(argv[optind], '@')) == 0) 123 server = unknown; 181 if (NOT_INADDR(server) == 0 || HOSTNAME_KNOWN(server)) { 182 if ((hp = find_inet_addr(server)) == 0) 204 if (STR_EQ(eval_hostname(request.server), unknown)) 206 eval_hostaddr(request.server)); 209 fprintf(stderr, "Error: %s has more than one address\n", server); 219 request_set(&request, RQ_SERVER_NAME, server, 0);
|
| H A D | ptx.c | 42 static struct sockaddr_in server; local 54 if (getmyinaddr(request->fd, &server, sizeof(server)) == 0) { 55 request->server->sin = &server;
|
| H A D | update.c | 56 request->server->sin = va_arg(ap, struct sockaddr *); 58 request->server->sin = va_arg(ap, struct sockaddr_in *); 79 ptr = request->server->name; 82 ptr = request->server->addr; 109 request->server->request = request; in request_init()
|
| /dflybsd-src/usr.sbin/yppush/ |
| H A D | yppush_main.c | 76 char *server; member 140 job->map, job->server, status == YPXFR_SUCC ? in yppush_show_status() 171 jptr->server); in yppush_exit() 175 jptr->server); in yppush_exit() 201 to %s (transid = %lu) still pending", jptr->server, jptr->tid); in yppush_exit() 319 if ((clnt = clnt_create(job->server, YPPROG, YPVERS, "udp")) == NULL) { in yppush_send_xfr() 320 yp_error("%s: %s",job->server,clnt_spcreateerror("couldn't \ in yppush_send_xfr() 348 yp_error("%s: %s", job->server, clnt_sperror(clnt, in yppush_send_xfr() 367 yp_push(char *server, char *map, unsigned long tid) in yp_push() argument 401 job->server = strdup(server); in yp_push() [all …]
|
| /dflybsd-src/share/examples/sunrpc/msg/ |
| H A D | rprintmsg.c | 15 char *server; local 26 server = argv[1]; 34 cl = clnt_create(server, MESSAGEPROG, MESSAGEVERS, "tcp"); 40 clnt_pcreateerror(server); 53 clnt_perror(cl, server); 66 argv[0], server); 73 printf("Message delivered to %s!\n", server);
|
| /dflybsd-src/lib/librpcsvc/ |
| H A D | yp_passwd.c | 56 char *server; in _yppasswd() local 67 if (yp_master(domain, "passwd.byname", &server)) in _yppasswd() 70 rval = getrpcport(server, YPPASSWDPROG, in _yppasswd() 74 free(server); in _yppasswd() 78 rval = callrpc(server, YPPASSWDPROG, YPPASSWDVERS, YPPASSWDPROC_UPDATE, in _yppasswd() 82 free(server); in _yppasswd()
|
| /dflybsd-src/games/hunt/ |
| H A D | README.protocol | 11 The game of hunt is played with one server and several clients. The clients 13 user's keystrokes to the server, and the server usually only ever sends 14 screen-drawing commands to the client. ie, the server does all the work. 16 The game server (huntd) listens on three different network ports which 27 client (hunt) or server (huntd) respectively. 31 This server port is used only to query simple information about the 48 clients can extract a particular server's network address from 66 However, the server will NOT reply if there are no players in 74 If the server receives the C_MESSAGE message it will 85 The server's statistics port is queried with the C_SCORES message. [all …]
|
| /dflybsd-src/crypto/libressl/ssl/ |
| H A D | ssl_methods.c | 65 .server = 1, 86 .server = 0, 107 .server = 1, 128 .server = 0, 149 .server = 1, 170 .server = 0, 246 .server = 1, 268 .server = 1, 290 .server = 0, 313 .server = 0, [all …]
|
| /dflybsd-src/usr.sbin/ftp-proxy/ |
| H A D | filter.c | 322 struct sockaddr *server) in server_lookup() argument 326 satosin(server))); in server_lookup() 330 satosin6(server))); in server_lookup() 338 struct sockaddr_in *server) in server_lookup4() argument 354 memset(server, 0, sizeof(struct sockaddr_in)); in server_lookup4() 355 server->sin_len = sizeof(struct sockaddr_in); in server_lookup4() 356 server->sin_family = AF_INET; in server_lookup4() 357 memcpy(&server->sin_addr.s_addr, &pnl.rdaddr.v4, in server_lookup4() 358 sizeof server->sin_addr.s_addr); in server_lookup4() 359 server->sin_port = pnl.rdport; in server_lookup4() [all …]
|
| /dflybsd-src/lib/libypclnt/ |
| H A D | ypclnt_new.c | 43 ypclnt_new(const char *domain, const char *map, const char *server) in ypclnt_new() argument 53 if (server != NULL && (ypclnt->server = strdup(server)) == NULL) in ypclnt_new() 59 free(ypclnt->server); in ypclnt_new()
|
| /dflybsd-src/share/examples/sunrpc/dir/ |
| H A D | rls.c | 16 char *server; local 30 server = argv[1]; 38 cl = clnt_create(server, DIRPROG, DIRVERS, "tcp"); 44 clnt_pcreateerror(server); 57 clnt_perror(cl, server);
|
| /dflybsd-src/lib/libc/rpc/ |
| H A D | svc_raw.c | 63 SVCXPRT server; member 98 srp->server.xp_fd = FD_SETSIZE; in svc_raw_create() 99 srp->server.xp_port = 0; in svc_raw_create() 100 srp->server.xp_p3 = NULL; in svc_raw_create() 101 svc_raw_ops(&srp->server); in svc_raw_create() 102 srp->server.xp_verf.oa_base = srp->verf_body; in svc_raw_create() 104 xprt_register(&srp->server); in svc_raw_create() 106 return (&srp->server); in svc_raw_create()
|
| /dflybsd-src/crypto/libressl/apps/openssl/ |
| H A D | s_socket.c | 176 struct sockaddr_in server; in init_server_long() local 179 memset((char *) &server, 0, sizeof(server)); in init_server_long() 180 server.sin_family = AF_INET; in init_server_long() 181 server.sin_port = htons((unsigned short) port); in init_server_long() 183 server.sin_addr.s_addr = INADDR_ANY; in init_server_long() 185 memcpy(&server.sin_addr.s_addr, ip, 4); in init_server_long() 204 if (bind(s, (struct sockaddr *) & server, sizeof(server)) == -1) { in init_server_long()
|
| /dflybsd-src/usr.sbin/bootparamd/callbootd/ |
| H A D | callbootd.c | 67 char *server; in main() local 88 server = argv[1]; in main() 89 if ( ! strcmp(server , "all") ) broadcast = 1; in main() 92 clnt = clnt_create(server,BOOTPARAMPROG, BOOTPARAMVERS, "udp"); in main() 96 errx(1, "could not contact bootparam server on host %s", server); in main() 110 errx(1, "bad answer returned from server %s", server); in main() 131 errx(1, "bad answer returned from server %s", server); in main()
|
| /dflybsd-src/crypto/openssh/ |
| H A D | PROTOCOL.mux | 14 Most messages from the client to the server contain a "request id" 28 signaled or the mux server closes the session. This mode is so named as 29 the client waits around while the mux server does all the driving. 36 this mode, the mux client/server connection socket will stop speaking 38 messages between the client and server. The client therefore must 90 If successful, the server will reply with MUX_S_SESSION_OPENED 99 Once the server has received the fds, it will respond with MUX_S_OK 101 session to end. When it does, the server will send an exit status 111 server disconnecting without sending an exit message. 135 A server may reply with a MUX_S_SESSION_OPENED, a MUX_S_PERMISSION_DENIED [all …]
|
| H A D | kex.c | 97 const char **defprop = ssh->kex->server ? defpropserver : defpropclient; in kex_proposal_populate_entries() 107 if ((cp = kex_names_cat(kexalgos, ssh->kex->server ? in kex_proposal_populate_entries() 480 const int max_ext_info = kex->server ? 1 : 2; in kex_input_ext_info() 508 if (kex->server) { in kex_input_ext_info() 544 kex->server ? in kex_input_newkeys() 796 choose_enc(struct sshenc *enc, char *client, char *server) in choose_enc() argument 798 char *name = match_list(client, server, NULL); in choose_enc() 818 choose_mac(struct ssh *ssh, struct sshmac *mac, char *client, char *server) in choose_mac() argument 820 char *name = match_list(client, server, NULL); in choose_mac() 836 choose_comp(struct sshcomp *comp, char *client, char *server) in choose_comp() argument [all …]
|
| /dflybsd-src/usr.sbin/ypset/ |
| H A D | ypset.c | 59 bind_tohost(struct sockaddr_in *sin, char *dom, char *server) in bind_tohost() argument 69 if ((port = htons(getrpcport(server, YPPROG, YPPROC_NULL, IPPROTO_UDP))) == 0) in bind_tohost() 70 errx(1, "%s not running ypserv", server); in bind_tohost() 74 if ((hp = gethostbyname (server)) != NULL) { in bind_tohost() 79 } else if ((long)(server_addr = inet_addr (server)) == -1) { in bind_tohost() 80 errx(1, "can't find address for %s", server); in bind_tohost()
|
| /dflybsd-src/etc/ |
| H A D | dntpd.conf | 5 server 0.dragonfly.pool.ntp.org 6 server 1.dragonfly.pool.ntp.org 7 server 2.dragonfly.pool.ntp.org 8 server 3.dragonfly.pool.ntp.org
|
| /dflybsd-src/lib/libtelnet/ |
| H A D | enc_des.c | 119 cfb64_init(int server __unused) in cfb64_init() 128 ofb64_init(int server __unused) in ofb64_init() 156 cfb64_start(int dir, int server) in cfb64_start() argument 158 return(fb64_start(&fb[CFB], dir, server)); in cfb64_start() 162 ofb64_start(int dir, int server) in ofb64_start() argument 164 return(fb64_start(&fb[OFB], dir, server)); in ofb64_start() 168 fb64_start(struct fb *fbp, int dir, int server __unused) in fb64_start() 365 cfb64_session(Session_Key *key, int server) in cfb64_session() argument 367 fb64_session(key, server, &fb[CFB]); in cfb64_session() 371 ofb64_session(Session_Key *key, int server) in ofb64_session() argument [all …]
|
| /dflybsd-src/lib/libalias/ |
| H A D | alias_db.c | 276 struct server /* LSNAT server pool (circular list) */ struct 280 struct server *next; argument 293 struct server *server; member 921 if (link->server != NULL) { in DeleteLink() 922 struct server *head, *curr, *next; in DeleteLink() 924 head = curr = link->server; in DeleteLink() 1009 link->server = NULL; in AddLink() 1175 && link->server == NULL in _FindLinkOut() 1348 (link->flags & LINK_PARTIALLY_SPECIFIED || link->server != NULL)) in _FindLinkIn() 1353 if (link->server != NULL) { /* LSNAT link */ in _FindLinkIn() [all …]
|
| /dflybsd-src/libexec/sftp-server/ |
| H A D | Makefile | 4 PROG= sftp-server 5 SRCS= sftp-server.c 6 SRCS+= sftp-common.c sftp-realpath.c sftp-server-main.c 7 MAN= sftp-server.8
|