Searched refs:socket (Results 101 - 125 of 2056) sorted by relevance

1234567891011>>

/freebsd-9.3-release/tools/regression/sockets/shutdown/
H A Dshutdown.c29 #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 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>
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 Dctl.c40 * 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 Dincludes.h47 #include <sys/socket.h>
/freebsd-9.3-release/crypto/heimdal/appl/kf/
H A Dkf_locl.h50 #include <sys/socket.h>
/freebsd-9.3-release/lib/libc/gen/
H A Dgetpeereid.c31 #include <sys/socket.h>
/freebsd-9.3-release/lib/libc/inet/
H A Dinet_ntoa.c40 #include <sys/socket.h>
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_accept.c31 #include <sys/socket.h>
H A Dthr_connect.c31 #include <sys/socket.h>
/freebsd-9.3-release/sbin/atm/atmconfig/
H A Dprivate.h32 #include <sys/socket.h>
/freebsd-9.3-release/sys/ia64/ia32/
H A Dia32_misc.c35 #include <sys/socket.h>
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dethernet-sgmii.c39 #include <sys/socket.h>
H A Dethernet-xaui.c39 #include <sys/socket.h>
/freebsd-9.3-release/sys/netatalk/
H A Dddp_var.h35 struct socket *ddp_socket;
/freebsd-9.3-release/sys/netgraph/
H A Dng_ksocket.h47 #include <sys/socket.h>
60 /* Max length socket option we can return via NGM_KSOCKET_GETOPT
/freebsd-9.3-release/sys/netipsec/
H A Dkey.h43 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 Dkeysock.c49 #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 Dsmb_trantcp.h50 * 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 D08.t32 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 Dprobe.c30 #include <sys/socket.h>
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dtest-init.c35 #include <sys/socket.h>
/freebsd-9.3-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_tom.h83 * 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 Dsdp.h16 #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 Dlarp.c15 #include <sys/socket.h>
77 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
79 perror("arp: socket");
H A Dsirix.c16 #include <sys/socket.h>
39 if ((fd = socket(PF_RAW, SOCK_RAW, RAWPROTO_DRAIN)) < 0)
41 perror("socket(PF_RAW, SOCK_RAW, RAWPROTO_DRAIN)");

Completed in 109 milliseconds

1234567891011>>