Home
last modified time | relevance | path

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

/dragonfly/usr.bin/logger/
H A Dlogger.c54 struct socks { struct
161 static struct socks *socks; in logmessage() local
186 socks = malloc(maxs * sizeof(struct socks)); in logmessage()
187 if (!socks) in logmessage()
194 memcpy(&socks[nsock].addr, r->ai_addr, r->ai_addrlen); in logmessage()
195 socks[nsock].addrlen = r->ai_addrlen; in logmessage()
196 socks[nsock++].sock = sock; in logmessage()
207 lsent = sendto(socks[i].sock, line, len, 0, in logmessage()
208 (struct sockaddr *)&socks[i].addr, in logmessage()
209 socks[i].addrlen); in logmessage()
/dragonfly/usr.sbin/pflogd/
H A Dprivsep.c68 int i, fd, socks[2], cmd; in priv_init() local
76 if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, socks) == -1) in priv_init()
104 close(socks[0]); in priv_init()
105 priv_fd = socks[1]; in priv_init()
119 close(socks[1]); in priv_init()
122 if (may_read(socks[0], &cmd, sizeof(int))) in priv_init()
128 must_read(socks[0], &snaplen, sizeof(int)); in priv_init()
137 must_write(socks[0], &ret, sizeof(int)); in priv_init()
148 send_fd(socks[0], fd); in priv_init()
161 must_write(socks[0], &ret, sizeof(int)); in priv_init()
/dragonfly/usr.sbin/lpr/lpd/
H A Dlpd.c849 int error, maxs, *s, *socks; in socksetup() local
865 socks = malloc((maxs + 1) * sizeof(int)); in socksetup()
866 if (!socks) { in socksetup()
871 *socks = 0; /* num of sockets counter at start of array */ in socksetup()
872 s = socks + 1; in socksetup()
908 (*socks)++; in socksetup()
915 if (*socks == 0) { in socksetup()
917 free(socks); in socksetup()
920 return(socks); in socksetup()
/dragonfly/sys/netgraph/socket/
H A Dng_socketvar.h51 LIST_ENTRY(ngpcb) socks; /* linked list of sockets */
H A Dng_socket.c536 LIST_INSERT_HEAD(&ngsocklist, pcbp, socks); in ng_attach_common()
573 LIST_REMOVE(pcbp, socks); in ng_detach_common()
/dragonfly/sys/netgraph7/socket/
H A Dng_socketvar.h52 LIST_ENTRY(ngpcb) socks; /* linked list of sockets */
/dragonfly/crypto/openssh/
H A Dauth-pam.c791 int result, socks[2]; in sshpam_init_ctx() local
811 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, socks) == -1) { in sshpam_init_ctx()
816 ctxt->pam_psock = socks[0]; in sshpam_init_ctx()
817 ctxt->pam_csock = socks[1]; in sshpam_init_ctx()
822 close(socks[0]); in sshpam_init_ctx()
823 close(socks[1]); in sshpam_init_ctx()
H A Dchannels.c4812 int gaierr, n, num_socks = 0, socks[NUM_SOCKS]; in x11_create_display_inet() local
4861 close(socks[n]); in x11_create_display_inet()
4865 socks[num_socks++] = sock; in x11_create_display_inet()
4879 sock = socks[n]; in x11_create_display_inet()
4890 sock = socks[n]; in x11_create_display_inet()
/dragonfly/usr.bin/nc/
H A DMakefile8 SRCS= netcat.c atomicio.c socks.c
/dragonfly/usr.sbin/syslogd/
H A Dsyslogd.c2621 int error, maxs, *s, *socks; in socksetup() local
2665 socks = malloc((maxs+1) * sizeof(int)); in socksetup()
2666 if (socks == NULL) { in socksetup()
2671 *socks = 0; /* num of sockets counter at start of array */ in socksetup()
2672 s = socks + 1; in socksetup()
2715 (*socks)++; in socksetup()
2719 if (*socks == 0) { in socksetup()
2720 free(socks); in socksetup()
2729 return (socks); in socksetup()
/dragonfly/usr.bin/netstat/
H A Dnetgraph.c137 next = LIST_NEXT(&ngpcb, socks); in netgraphprotopr()
/dragonfly/libexec/ftpd/
H A Dftpd.c3337 int error, maxs, *s, *socks; in socksetup() local
3355 socks = malloc((maxs + 1) * sizeof(int)); in socksetup()
3356 if (!socks) { in socksetup()
3362 *socks = 0; /* num of sockets counter at start of array */ in socksetup()
3363 s = socks + 1; in socksetup()
3385 (*socks)++; in socksetup()
3392 if (*socks == 0) { in socksetup()
3394 free(socks); in socksetup()
3397 return(socks); in socksetup()
/dragonfly/contrib/tcp_wrappers/
H A DREADME547 available from s1.gov in /pub/firewalls/socks.tar.Z.
550 ftp.nec.com, directory /pub/security/socks.cstc.
553 and telnet commands across a firewall. Unlike socks it can be used with
/dragonfly/etc/
H A Dservices1517 socks 1080/tcp
1518 socks 1080/udp
/dragonfly/games/fortune/datfiles/
H A Dzippy795 is a black hole and the pink socks are bus drivers who just fell in!!
H A Dlimerick1530 Its occupant cried, "Save my socks!
H A Dfortunes-o1779 5. A beer will never leave dirty socks on the floor.
7844 They tied their socks around their cocks
14828 They took off their socks and they took off their shoes.
H A Dfortunes19156 Men wear sensible socks. They wear standard white sweatsocks.
19157 Women wear strange socks. They are cut way below the ankles, have pictures
19307 Usually manages to put on socks before shoes. Can match the
24714 tennis socks, not my style at all, but that was what I was aiming for: If
25399 around here often?" She said, "You're wearing two different-color socks."
30062 laughter. I even took my socks off. In my circle, that means class.
34132 in his socks, was taking his first airplane trip. He took a seat next to a
40900 wear white socks.
57188 -- None of my socks match.
/dragonfly/share/dict/
H A Dweb2a6655 bobby socks