/freebsd-9.3-release/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 29 #include <sys/socket.h> 53 listen_sock = socket(PF_INET, SOCK_STREAM, 0); 56 "socket(PF_INET, SOCK_STREAM, 0) for listen socket: %s", 66 errx(-1, "bind(%s, %d) for listen socket: %s", 71 errx(-1, "getsockname() for listen socket: %s", 76 errx(-1, "listen() for listen socket: %s", strerror(errno)); 78 connect_sock = socket(PF_INET, SOCK_STREAM, 0); 80 errx(-1, "socket(PF_INET, SOCK_STREAM, 0) for connect " 81 "socket [all...] |
/freebsd-9.3-release/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> 57 #define UNIXSTR_PATH "/tmp/mytest.socket" 78 * Create a UNIX domain socket that the child will repeatedly 81 if ((listenfd = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0) 82 err(1, "parent: socket error"); 99 * socket, attempting to induce the race. 107 if ((connfd = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0) { 109 err(1, "parent: socket erro [all...] |
/freebsd-9.3-release/usr.bin/talk/ |
H A D | ctl.c | 40 * get a socket to talk to. sockt is opened and connected in 45 #include <sys/socket.h> 77 sockt = socket(AF_INET, SOCK_STREAM, 0); 79 p_error("Bad socket"); 81 p_error("Binding local socket"); 84 p_error("Bad address for socket"); 87 /* open the ctl socket */ 98 ctl_sockt = socket(AF_INET, SOCK_DGRAM, 0); 100 p_error("Bad socket"); 103 p_error("Couldn't bind to control socket"); [all...] |
/freebsd-9.3-release/contrib/wpa/src/utils/ |
H A D | includes.h | 47 #include <sys/socket.h>
|
/freebsd-9.3-release/crypto/heimdal/appl/kf/ |
H A D | kf_locl.h | 50 #include <sys/socket.h>
|
/freebsd-9.3-release/lib/libc/gen/ |
H A D | getpeereid.c | 31 #include <sys/socket.h>
|
/freebsd-9.3-release/lib/libc/inet/ |
H A D | inet_ntoa.c | 40 #include <sys/socket.h>
|
/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_accept.c | 31 #include <sys/socket.h>
|
H A D | thr_connect.c | 31 #include <sys/socket.h>
|
/freebsd-9.3-release/sbin/atm/atmconfig/ |
H A D | private.h | 32 #include <sys/socket.h>
|
/freebsd-9.3-release/sys/ia64/ia32/ |
H A D | ia32_misc.c | 35 #include <sys/socket.h>
|
/freebsd-9.3-release/sys/mips/cavium/octe/ |
H A D | ethernet-sgmii.c | 39 #include <sys/socket.h>
|
H A D | ethernet-xaui.c | 39 #include <sys/socket.h>
|
/freebsd-9.3-release/sys/netatalk/ |
H A D | ddp_var.h | 35 struct socket *ddp_socket;
|
/freebsd-9.3-release/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-9.3-release/sys/netipsec/ |
H A D | key.h | 43 struct socket; 89 extern void key_freeso __P((struct socket *)); 103 extern void key_freereg __P((struct socket *)); 104 extern int key_parse __P((struct mbuf *, struct socket *));
|
H A D | keysock.c | 49 #include <sys/socket.h> 86 key_output(struct mbuf *m, struct socket *so) 133 * send message to the socket. 180 struct socket *so; 206 * to save socket buffer. We'll be generating many SADB_ACQUIRE 269 struct socket *so; 378 key_abort(struct socket *so) 388 key_attach(struct socket *so, int proto, struct thread *td) 431 key_bind(struct socket *so, struct sockaddr *nam, struct thread *td) 441 key_close(struct socket *s [all...] |
/freebsd-9.3-release/sys/netsmb/ |
H A D | smb_trantcp.h | 50 * socket specific data 54 struct socket * nbp_tso; /* transport socket */ 73 * Nominal space allocated per a NETBIOS socket.
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/rename/ |
H A D | 08.t | 32 for type in regular dir fifo block char socket symlink; do 47 for type in regular dir fifo block char socket symlink; do
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | probe.c | 30 #include <sys/socket.h>
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | test-init.c | 35 #include <sys/socket.h>
|
/freebsd-9.3-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_tom.h | 83 * toep list or in the synq of a listening socket in lctx hash. 135 struct inpcb *inp; /* listening socket's inp */ 247 int t3_push_frames(struct socket *, int); 248 int t3_connect(struct toedev *, struct socket *, struct rtentry *, 256 uint32_t calc_opt0h(struct socket *, int, int, struct l2t_entry *); 257 uint32_t calc_opt0l(struct socket *, int); 259 void offload_socket(struct socket *, struct toepcb *); 260 void undo_offload_socket(struct socket *); 262 unsigned long select_rcv_wnd(struct socket *); 264 void make_established(struct socket *, uint32_ [all...] |
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp.h | 16 #include <sys/socket.h> 379 struct socket *socket; member in struct:sdp_sock 486 sdp_prf(ssk->socket, NULL, "Arming RX cq"); 487 sdp_dbg_data(ssk->socket, "Arming RX cq\n"); 494 sdp_prf(ssk->socket, NULL, "Arming TX cq"); 495 sdp_dbg_data(ssk->socket, "Arming TX cq. credits: %d, posted: %d\n", 543 sdp_alloc_mb(struct socket *sk, u8 mid, int size, int wait) 558 sdp_alloc_mb_data(struct socket *sk, int wait) 564 sdp_alloc_mb_disconnect(struct socket *s [all...] |
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | larp.c | 15 #include <sys/socket.h> 77 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) 79 perror("arp: socket");
|
H A D | sirix.c | 16 #include <sys/socket.h> 39 if ((fd = socket(PF_RAW, SOCK_RAW, RAWPROTO_DRAIN)) < 0) 41 perror("socket(PF_RAW, SOCK_RAW, RAWPROTO_DRAIN)");
|