Searched refs:socket (Results 426 - 450 of 2552) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/sys/netinet/
H A Dsctp_pcb.h149 struct socket *udp4_tun_socket;
152 struct socket *udp6_tun_socket;
167 * hash and re-hash to find the right assoc/socket. If we find a UDP
168 * model socket we then must complete the lookup. If this fails,
170 * a sctp_peeloff()'d socket is in the tcpephash (a spun off socket
171 * acts like a TCP model connected socket).
216 /* socket queue zone info */
219 /* socket queue zone info */
384 /* back pointer to our socket */
[all...]
H A Dip_mroute.h223 uint64_t mrts_upq_sockfull; /* upcalls dropped - socket full */
353 extern int (*ip_mrouter_set)(struct socket *, struct sockopt *);
354 extern int (*ip_mrouter_get)(struct socket *, struct sockopt *);
/freebsd-13-stable/usr.bin/bluetooth/btsockstat/
H A Dbtsockstat.c39 #include <sys/socket.h>
221 struct socket so;
276 struct socket so;
332 struct socket so;
437 struct socket so;
502 struct socket so;
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Dinit_s.c75 ctx->log_context.socket_fd = socket (AF_UNIX, SOCK_DGRAM, 0);
77 ctx->log_context.socket_fd = socket (ctx->log_context.socket_info->ai_family,
/freebsd-13-stable/lib/libdevdctl/
H A Dconsumer.cc39 #include <sys/socket.h>
111 m_devdSockFD = socket(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK, 0);
113 err(1, "Unable to create socket");
247 "POLLERR detected on devd socket.");
251 "POLLHUP detected on devd socket.");
/freebsd-13-stable/contrib/tcp_wrappers/
H A Drfc931.c23 #include <sys/socket.h>
45 /* fsocket - open stdio stream on top of socket */
55 if ((s = socket(domain, type, protocol)) < 0) {
56 tcpd_warn("socket: %m");
74 /* rfc931 - return remote user name, given socket structures */
143 * Bind the local and remote ends of the query socket to the same
148 * addresses from the query socket.
201 * assume EOF when a read from a socket returns less than
/freebsd-13-stable/contrib/traceroute/
H A Das.c35 #include <sys/socket.h>
86 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
H A Dfindsaddr-socket.c40 "@(#) $Id: findsaddr-socket.c,v 1.1 2000/11/23 20:17:12 leres Exp $ (LBL)";
46 #include <sys/socket.h>
117 s = socket(PF_ROUTE, SOCK_RAW, AF_UNSPEC);
119 sprintf(errbuf, "socket: %.128s", strerror(errno));
/freebsd-13-stable/sbin/ifconfig/
H A Daf_link.c39 #include <sys/socket.h>
104 if ((sock_hw = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0) {
105 warn("socket(AF_LOCAL,SOCK_DGRAM)");
H A Daf_nd6.c35 #include <sys/socket.h>
159 if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
161 warn("socket(AF_INET6, SOCK_DGRAM)");
H A Difgroup.c35 #include <sys/socket.h>
120 s = socket(AF_LOCAL, SOCK_DGRAM, 0);
122 err(1, "socket(AF_LOCAL,SOCK_DGRAM)");
/freebsd-13-stable/contrib/blacklist/test/
H A Dsrvtest.c39 #include <sys/socket.h>
107 sfd = socket(af == AF_INET ? PF_INET : PF_INET6, type, 0);
109 err(1, "socket");
/freebsd-13-stable/contrib/ipfilter/tools/
H A Dipsyncm.c14 #include <sys/socket.h>
112 nfd = socket(AF_INET, SOCK_DGRAM, 0);
/freebsd-13-stable/contrib/libevent/test/
H A Dbench_httpclient.c35 #include <sys/socket.h>
146 if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0)
H A Dregress_testutils.c43 #include <sys/socket.h>
76 /* Helper: return the port that a socket is bound on, in host order. */
103 sock = socket(AF_INET, SOCK_DGRAM, 0);
105 tt_abort_perror("socket");
/freebsd-13-stable/contrib/apr/misc/unix/
H A Drand.c27 #include <sys/socket.h>
116 /* use EGD-compatible socket daemon (such as EGD or PRNGd).
153 egd_socket = socket(PF_UNIX, SOCK_STREAM, 0);
/freebsd-13-stable/contrib/pjdfstest/tests/chflags/
H A D08.t22 for type in regular dir fifo block char socket symlink; do
H A D11.t22 for type in regular dir fifo block char socket symlink; do
/freebsd-13-stable/contrib/pjdfstest/tests/chown/
H A D07.t22 for type in regular dir fifo block char socket symlink; do
/freebsd-13-stable/contrib/pjdfstest/tests/rename/
H A D06.t28 for type in regular dir fifo block char socket symlink; do
/freebsd-13-stable/contrib/pjdfstest/tests/unlink/
H A D11.t24 for type in regular fifo block char socket symlink; do
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c35 #include <sys/socket.h>
146 if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0)
H A Dregress_testutils.c43 #include <sys/socket.h>
76 /* Helper: return the port that a socket is bound on, in host order. */
103 sock = socket(AF_INET, SOCK_DGRAM, 0);
105 tt_abort_perror("socket");
/freebsd-13-stable/crypto/openssh/
H A Dentropy.c30 #include <sys/socket.h>
71 * listening either on 'tcp_port', or via Unix domain socket at *
90 fatal("You must specify a port or a socket");
117 fd = socket(addr.ss_family, SOCK_STREAM, 0);
119 error("Couldn't create socket: %s", strerror(errno));
128 error("Couldn't connect to PRNGD socket \"%s\": %s",
144 error("Couldn't write to PRNGD socket: %s",
155 error("Couldn't read from PRNGD socket: %s",
177 debug("trying egd/prngd socket %s", PRNGD_SOCKET);
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dopenbsd-compat.h35 #include <sys/socket.h>
327 /* rfc2553 socket API replacements */
345 # include <sys/socket.h> /* Ensure include guard is defined */

Completed in 197 milliseconds

<<11121314151617181920>>