/freebsd-13-stable/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 29 #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 D | unix_close_race.c | 31 * 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 D | includes.h | 36 #include <sys/socket.h>
|
/freebsd-13-stable/crypto/heimdal/appl/ftp/common/ |
H A D | sockbuf.c | 39 #include <sys/socket.h>
|
/freebsd-13-stable/crypto/heimdal/appl/kf/ |
H A D | kf_locl.h | 50 #include <sys/socket.h>
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | getpeereid.c | 34 #include <sys/socket.h>
|
H A D | sendmmsg.c | 34 #include <sys/socket.h> 50 * know about the data sent, socket
|
/freebsd-13-stable/lib/libc/inet/ |
H A D | inet_ntoa.c | 42 #include <sys/socket.h>
|
/freebsd-13-stable/lib/libc/sys/ |
H A D | recvfrom.c | 38 #include <sys/socket.h>
|
/freebsd-13-stable/contrib/ipfilter/lib/ |
H A D | connecttcp.c | 38 fd = socket(AF_INET, SOCK_STREAM, 0);
|
/freebsd-13-stable/contrib/libevent/test/ |
H A D | test-init.c | 35 #include <sys/socket.h>
|
/freebsd-13-stable/contrib/pjdfstest/tests/rename/ |
H A D | 08.t | 33 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 D | test-init.c | 35 #include <sys/socket.h>
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_connect.c | 29 #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 D | t_listen.c | 29 #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 D | t_raw.c | 3 #include <sys/socket.h>
|
/freebsd-13-stable/sys/netgraph/ |
H A D | ng_ksocket.h | 47 #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 D | ethernet-sgmii.c | 40 #include <sys/socket.h>
|
H A D | ethernet-xaui.c | 40 #include <sys/socket.h>
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | probe.c | 32 #include <sys/socket.h>
|
/freebsd-13-stable/sys/netsmb/ |
H A D | smb_trantcp.h | 51 * 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 D | Makefile | 12 SYS_SOCKET_H?= ${SRCTOP}/sys/sys/socket.h
|
/freebsd-13-stable/tools/regression/sockets/unix_cmsg/ |
H A D | t_generic.c | 31 #include <sys/socket.h>
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp.h | 18 #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 D | trygetif.c | 8 #include <sys/socket.h> 59 s = socket(AF_INET, SOCK_DGRAM, 0); 61 perror("socket open");
|