Searched refs:socket (Results 126 - 150 of 2552) sorted by relevance

1234567891011>>

/freebsd-13-stable/tools/regression/sockets/shutdown/
H A Dshutdown.c29 #include <sys/socket.h>
55 listen_sock = socket(PF_INET, SOCK_STREAM, 0);
58 "socket(PF_INET, SOCK_STREAM, 0) for listen socket: %s",
68 errx(-1, "bind(%s, %d) for listen socket: %s",
73 errx(-1, "getsockname() for listen socket: %s",
78 errx(-1, "listen() for listen socket: %s", strerror(errno));
80 connect_sock = socket(PF_INET, SOCK_STREAM, 0);
82 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect "
83 "socket
[all...]
/freebsd-13-stable/tools/regression/sockets/unix_close_race/
H A Dunix_close_race.c31 * endpoints of a connected UNIX domain socket are closed at once. The two
33 * already-closed socket in kernel. Before it was fixed, this might lead to
42 #include <sys/socket.h>
83 * Create a UNIX domain socket that the child will repeatedly
86 if ((listenfd = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0)
87 err(1, "parent: socket error");
104 * socket, attempting to induce the race.
112 if ((connfd = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0) {
114 err(1, "parent: socket error");
/freebsd-13-stable/contrib/wpa/src/utils/
H A Dincludes.h36 #include <sys/socket.h>
/freebsd-13-stable/crypto/heimdal/appl/ftp/common/
H A Dsockbuf.c39 #include <sys/socket.h>
/freebsd-13-stable/crypto/heimdal/appl/kf/
H A Dkf_locl.h50 #include <sys/socket.h>
/freebsd-13-stable/lib/libc/gen/
H A Dgetpeereid.c34 #include <sys/socket.h>
H A Dsendmmsg.c34 #include <sys/socket.h>
50 * know about the data sent, socket
/freebsd-13-stable/lib/libc/inet/
H A Dinet_ntoa.c42 #include <sys/socket.h>
/freebsd-13-stable/lib/libc/sys/
H A Drecvfrom.c38 #include <sys/socket.h>
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dconnecttcp.c38 fd = socket(AF_INET, SOCK_STREAM, 0);
/freebsd-13-stable/contrib/libevent/test/
H A Dtest-init.c35 #include <sys/socket.h>
/freebsd-13-stable/contrib/pjdfstest/tests/rename/
H A D08.t33 for type in regular dir fifo block char socket symlink; do
48 for type in regular dir fifo block char socket symlink; do
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dtest-init.c35 #include <sys/socket.h>
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_connect.c29 #include <sys/socket.h>
53 slist = socket(AF_INET, SOCK_STREAM, 0);
54 sd = socket(AF_INET, SOCK_STREAM, 0);
59 /* bind listening socket */
101 atf_tc_set_md_var(tc, "descr", "Checks that connecting a socket "
117 int sock = socket(AF_LOCAL, SOCK_STREAM, 0);
H A Dt_listen.c29 #include <sys/socket.h>
66 fda = socket(AF_INET, SOCK_STREAM, 0);
67 fdb = socket(AF_INET, SOCK_STREAM, 0);
80 * According to IEEE Std 1003.1-2008: if the socket is
109 sd = socket(AF_INET, SOCK_STREAM, 0);
110 ATF_REQUIRE_MSG(sd != -1, "socket failed: %s", strerror(errno));
/freebsd-13-stable/contrib/netbsd-tests/net/net/
H A Dt_raw.c3 #include <sys/socket.h>
/freebsd-13-stable/sys/netgraph/
H A Dng_ksocket.h47 #include <sys/socket.h>
60 /* Max length socket option we can return via NGM_KSOCKET_GETOPT
/freebsd-13-stable/sys/mips/cavium/octe/
H A Dethernet-sgmii.c40 #include <sys/socket.h>
H A Dethernet-xaui.c40 #include <sys/socket.h>
/freebsd-13-stable/usr.sbin/ppp/
H A Dprobe.c32 #include <sys/socket.h>
/freebsd-13-stable/sys/netsmb/
H A Dsmb_trantcp.h51 * socket specific data
55 struct socket * nbp_tso; /* transport socket */
74 * Nominal space allocated per a NETBIOS socket.
/freebsd-13-stable/usr.bin/getaddrinfo/
H A DMakefile12 SYS_SOCKET_H?= ${SRCTOP}/sys/sys/socket.h
/freebsd-13-stable/tools/regression/sockets/unix_cmsg/
H A Dt_generic.c31 #include <sys/socket.h>
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h18 #include <sys/socket.h>
338 struct socket *socket; member in struct:sdp_sock
447 sdp_prf(ssk->socket, NULL, "Arming RX cq");
448 sdp_dbg_data(ssk->socket, "Arming RX cq\n");
455 sdp_prf(ssk->socket, NULL, "Arming TX cq");
456 sdp_dbg_data(ssk->socket, "Arming TX cq. credits: %d, posted: %d\n",
504 sdp_alloc_mb(struct socket *sk, u8 mid, int size, int wait)
519 sdp_alloc_mb_data(struct socket *sk, int wait)
525 sdp_alloc_mb_disconnect(struct socket *s
[all...]
/freebsd-13-stable/libexec/bootpd/
H A Dtrygetif.c8 #include <sys/socket.h>
59 s = socket(AF_INET, SOCK_DGRAM, 0);
61 perror("socket open");

Completed in 245 milliseconds

1234567891011>>