Home
last modified time | relevance | path

Searched refs:socks (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/
H A Dkadm_conn.c127 spawn_child(krb5_context contextp, int *socks, in spawn_child() argument
141 s = accept(socks[this_sock], sa, &sa_size); in spawn_child()
162 rk_closesocket(socks[i]); in spawn_child()
176 krb5_socket_t *socks, unsigned int num_socks) in wait_for_connection() argument
187 if (socks[i] >= FD_SETSIZE) in wait_for_connection()
190 FD_SET(socks[i], &orig_read_set); in wait_for_connection()
191 max_fd = max(max_fd, socks[i]); in wait_for_connection()
214 if(FD_ISSET(socks[i], &read_set)) in wait_for_connection()
215 if(spawn_child(contextp, socks, num_socks, i) == 0) in wait_for_connection()
235 krb5_socket_t *socks = NULL, *tmp; in start_server() local
[all …]
/netbsd-src/usr.sbin/lpr/lpd/
H A Dlpd.c149 struct pollfd *socks; in main() local
284 socks = socksetup(PF_UNSPEC, options, port, &nfds); in main()
315 rv = poll(socks, nfds, INFTIM); in main()
323 if (socks[i].revents & POLLIN) { in main()
325 s = accept(socks[i].fd, in main()
343 (void)close(socks[i].fd); in main()
711 struct pollfd *socks, *newsocks; in socksetup() local
716 socks = malloc(1 * sizeof(socks[0])); in socksetup()
717 if (!socks) { in socksetup()
739 socks[*nfds].fd = s; in socksetup()
[all …]
/netbsd-src/dist/pf/sbin/pflogd/
H A Dprivsep.c77 int i, fd, socks[2], cmd; in priv_init() local
85 if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, socks) == -1) in priv_init()
123 close(socks[0]); in priv_init()
124 priv_fd = socks[1]; in priv_init()
138 close(socks[1]); in priv_init()
141 if (may_read(socks[0], &cmd, sizeof(int))) in priv_init()
147 must_read(socks[0], &snaplen, sizeof(int)); in priv_init()
156 must_write(socks[0], &ret, sizeof(int)); in priv_init()
167 send_fd(socks[0], fd); in priv_init()
180 must_write(socks[0], &ret, sizeof(int)); in priv_init()
/netbsd-src/libexec/identd/
H A Didentd.c97 int IPv4or6, ch, error, i, *socks, timeout; in main() local
108 socks = NULL; in main()
250 socks = socketsetup(address, portno, IPv4or6); in main()
270 rfds = malloc(*socks * sizeof(struct pollfd)); in main()
273 nfds = *socks; in main()
275 rfds[i].fd = socks[i+1]; in main()
584 int error, maxs, *s, *socks; in socketsetup() local
602 socks = malloc((maxs + 1) * sizeof(int)); in socketsetup()
603 if (socks == NULL) { in socketsetup()
608 *socks = 0; in socketsetup()
[all …]
/netbsd-src/external/bsd/ipf/dist/perl/
H A Dlogfilter.pl174 tcp 1080 socks.log
175 udp 1080 socks.log
H A DServices641 1080 socks Socks
/netbsd-src/external/bsd/iscsi/dist/src/lib/
H A Dutil.c689 struct pollfd socks[ISCSI_MAXSOCK]; in iscsi_waitfor_connection() local
694 socks[i].fd = sockv[i]; in iscsi_waitfor_connection()
695 socks[i].events = POLLIN; in iscsi_waitfor_connection()
696 socks[i].revents = 0; in iscsi_waitfor_connection()
698 switch(poll(socks, (unsigned)sockc, INFTIM)) { in iscsi_waitfor_connection()
707 if (socks[i].revents & POLLIN) { in iscsi_waitfor_connection()
/netbsd-src/usr.bin/nc/
H A DMakefile6 SRCS= netcat.c atomicio.c socks.c
/netbsd-src/usr.sbin/syslogd/
H A Dtls.c824 struct socketEvent *s, *socks; in socksetup_tls() local
846 socks = malloc((maxs+1) * sizeof(*socks)); in socksetup_tls()
847 if (!socks) { in socksetup_tls()
852 socks->fd = 0; /* num of sockets counter at start of array */ in socksetup_tls()
853 s = socks + 1; in socksetup_tls()
890 socks->fd = socks->fd + 1; /* num counter */ in socksetup_tls()
894 if (socks->fd == 0) { in socksetup_tls()
895 free (socks); in socksetup_tls()
904 return socks; in socksetup_tls()
H A Dsyslogd.c186 int SecureMode = 0; /* listen only on unix domain socks */
4127 struct socketEvent *s, *socks; in socksetup()
4146 socks = calloc(maxs+1, sizeof(*socks)); in socksetup()
4147 if (!socks) { in socksetup()
4152 socks->fd = 0; /* num of sockets counter at start of array */ in socksetup()
4153 s = socks + 1; in socksetup()
4187 socks->fd++; /* num counter */ in p_open()
4193 if (socks->fd == 0) { in p_open()
4194 free (socks); in p_open()
4095 struct socketEvent *s, *socks; socksetup() local
[all...]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauth-pam.c824 int result, socks[2]; in sshpam_init_ctx() local
844 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, socks) == -1) { in sshpam_init_ctx()
849 ctxt->pam_psock = socks[0]; in sshpam_init_ctx()
850 ctxt->pam_csock = socks[1]; in sshpam_init_ctx()
855 close(socks[0]); in sshpam_init_ctx()
856 close(socks[1]); in sshpam_init_ctx()
/netbsd-src/libexec/ftpd/
H A Dftpd.c510 int error, fd, i, n, *socks; in main() local
540 socks = malloc(n * sizeof(int)); in main()
542 if (socks == NULL || fds == NULL) { in main()
548 socks[n] = socket(res->ai_family, res->ai_socktype, in main()
550 if (socks[n] == -1) in main()
552 (void)setsockopt(socks[n], SOL_SOCKET, SO_REUSEADDR, in main()
554 if (bind(socks[n], res->ai_addr, res->ai_addrlen) in main()
556 (void)close(socks[n]); in main()
559 if (listen(socks[n], 12) == -1) { in main()
560 (void)close(socks[n]); in main()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DBIO_s_connect.pod69 list is http, telnet, socks, https, ssl, ftp, and gopher.
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dsocket.d3584 int[2] socks;
3585 if (socketpair(AF_UNIX, SOCK_STREAM, 0, socks) == -1)
3591 s.setSock(cast(socket_t) socks[id]);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dsocket.d3757 int[2] socks;
3758 if (socketpair(AF_UNIX, SOCK_STREAM, 0, socks) == -1)
3764 s.setSock(cast(socket_t) socks[id]);
/netbsd-src/games/fortune/datfiles/
H A Dfarber1048 It's enough to make you want to rot your socks.
1200 Let them fry in their socks.
1316 Nobody could fill his socks.
H A Dzippy784 is a black hole and the pink socks are bus drivers who just fell in!!
H A Dlimerick-o.real1641 Its occupant cried, "Save my socks!
H A Dfortunes2-o.real2166 5. A beer will never leave dirty socks on the floor.
7494 They tied their socks around their cocks
13170 They took off their socks and they took off their shoes.
H A Dfortunes217259 Men wear sensible socks. They wear standard white sweatsocks.
17260 Women wear strange socks. They are cut way below the ankles, have pictures
17410 Usually manages to put on socks before shoes. Can match the
22474 tennis socks, not my style at all, but that was what I was aiming for: If
23130 around here often?" She said, "You're wearing two different-color socks."
27408 laughter. I even took my socks off. In my circle, that means class.
31189 in his socks, was taking his first airplane trip. He took a seat next to a
52591 -- None of my socks match.
H A Dfortunes10767 wear white socks.
16136 monument to a dead tree? -- it holds my socks.
/netbsd-src/share/misc/
H A Dacronyms351 LMSO laughing my socks off
/netbsd-src/external/bsd/ipf/dist/etc/
H A Dservices821 socks 1080/tcp # Socks
822 socks 1080/udp # Socks
/netbsd-src/external/bsd/openldap/dist/tests/data/
H A Dnis_sample.ldif352 cn: socks-proxy-server.sgi.com
354 cn: socks-proxy
355 cn: socks
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/tests/
H A Dmm-viet.comp.po46810 #: src/socks.c:53
46814 #: src/socks.c:71
46819 #: src/socks.c:143
46825 #: src/socks.c:180 src/socks.c:399
46829 #: src/socks.c:183
46833 #: src/socks.c:186
46837 #: src/socks.c:189
46845 #: src/socks.c:193 src/socks.c:426
46849 #: src/socks.c:234
46853 #: src/socks.c:246
[all …]

12