/freebsd-9.3-release/tools/regression/sockets/unix_socket/ |
H A D | unix_socket.c | 30 * Simple UNIX domain socket regression test: create and tear down various 31 * supported and unsupported socket types. 35 #include <sys/socket.h> 47 sock = socket(PF_LOCAL, SOCK_STREAM, 0); 49 err(-1, "socket(PF_LOCAL, SOCK_STREAM, 0)"); 52 sock = socket(PF_LOCAL, SOCK_DGRAM, 0); 54 err(-1, "socket(PF_LOCAL, SOCK_DGRAM, 0)"); 57 sock = socket(PF_LOCAL, SOCK_RAW, 0); 60 errx(-1, "socket(PF_LOCAL, SOCK_RAW, 0) returned %d", sock); 63 err(-1, "socket(PF_LOCA [all...] |
/freebsd-9.3-release/share/doc/psd/20.ipctut/ |
H A D | dgramsend.c | 35 #include <sys/socket.h> 56 /* Create socket on which to send. */ 57 sock = socket(AF_INET, SOCK_DGRAM, 0); 59 perror("opening datagram socket"); 63 * Construct name, with no wildcards, of the socket to send to.
|
H A D | pipe.c | 41 * device. I can write to the output socket (sockets[1], the second socket 42 * of the array returned by pipe()) and read from the input socket 52 perror("opening stream socket pair");
|
/freebsd-9.3-release/sys/net/ |
H A D | raw_usrreq.c | 43 #include <sys/socket.h> 65 * Raw protocol input routine. Find the socket associated with the packet(s) 84 struct socket *last; 132 raw_uabort(struct socket *so) 141 raw_uclose(struct socket *so) 152 raw_uattach(struct socket *so, int proto, struct thread *td) 171 raw_ubind(struct socket *so, struct sockaddr *nam, struct thread *td) 178 raw_uconnect(struct socket *so, struct sockaddr *nam, struct thread *td) 188 raw_udetach(struct socket *so) 198 raw_udisconnect(struct socket *s [all...] |
H A D | raw_cb.h | 40 * Raw protocol interface control block. Used to tie a socket to the generic 45 struct socket *rcb_socket; /* back pointer to socket */ 52 * Nominal space allocated to a raw socket. 64 * Generic protosw entries for raw socket protocols. 70 * Library routines for raw socket usrreq functions; will always be wrapped 76 int raw_attach(struct socket *, int); 83 * Generic pr_usrreqs entries for raw socket protocols, usually wrapped so
|
/freebsd-9.3-release/sys/netipx/ |
H A D | ipx_var.h | 110 struct socket; 114 int ipx_control(struct socket *so, u_long cmd, caddr_t data, 117 int ipx_ctloutput(struct socket *so, struct sockopt *sopt); 123 int ipx_peeraddr(struct socket *so, struct sockaddr **nam); 125 int ipx_sockaddr(struct socket *so, struct sockaddr **nam);
|
/freebsd-9.3-release/sys/netnatm/ |
H A D | natm.c | 73 #include <sys/socket.h> 101 * User socket requests. 103 static int natm_usr_attach(struct socket *, int, struct thread *); 104 static void natm_usr_detach(struct socket *); 105 static int natm_usr_connect(struct socket *, struct sockaddr *, 107 static int natm_usr_disconnect(struct socket *); 108 static int natm_usr_shutdown(struct socket *); 109 static int natm_usr_send(struct socket *, int, struct mbuf *, 111 static int natm_usr_peeraddr(struct socket *, struct sockaddr **); 112 static int natm_usr_control(struct socket *, u_lon [all...] |
/freebsd-9.3-release/sys/netatalk/ |
H A D | at_extern.h | 45 struct socket; 55 int at_control(struct socket *so, u_long cmd, caddr_t data, 62 int ddp_output(struct mbuf *m, struct socket *so);
|
/freebsd-9.3-release/contrib/libpcap/lbl/ |
H A D | os-ultrix4.h | 38 int socket(int, int, int);
|
/freebsd-9.3-release/contrib/tcpdump/lbl/ |
H A D | os-ultrix4.h | 38 int socket(int, int, int);
|
/freebsd-9.3-release/etc/ |
H A D | mac.conf | 17 default_labels socket ?biba,?lomac,?mls
|
/freebsd-9.3-release/sys/netinet/ |
H A D | accf_data.c | 39 /* accept filter that holds a socket until data arrives */ 41 static int sohasdata(struct socket *so, void *arg, int waitflag); 59 sohasdata(struct socket *so, void *arg, int waitflag)
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | ip6protosw.h | 75 struct socket; 114 short pr_type; /* socket type used for */ 127 (struct socket *, struct sockopt *);
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/mkdir/ |
H A D | 10.t | 13 for type in regular dir fifo block char socket symlink; do
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/mkfifo/ |
H A D | 09.t | 13 for type in regular dir fifo block char socket symlink; do
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/symlink/ |
H A D | 08.t | 13 for type in regular dir fifo block char socket symlink; do
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_tx.c | 48 sdp_prf(ssk->socket, NULL, "%s", __func__); 94 sdp_dbg_data(ssk->socket, "SrcAvail cancelled " 115 sdp_prf1(ssk->socket, mb, "TX: %s bufs: %d mseq:%ld ack:%d", 119 SDP_DUMP_PACKET(ssk->socket, "TX", mb, h); 147 sdp_dbg(ssk->socket, 203 sdp_prf(ssk->socket, mb, "Send completion with error. " 205 sdp_dbg_data(ssk->socket, "Send completion with error. " 216 sdp_prf1(ssk->socket, mb, "tx completion. mseq:%d", ntohl(h->mseq)); 217 sdp_dbg(ssk->socket, "tx completion. %p %d mseq:%d", 237 sdp_dbg_data(ssk->socket, [all...] |
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | hpux.c | 16 #include <sys/socket.h> 27 if ((fd = socket(AF_DLI, SOCK_RAW, 0)) == -1) 28 perror("socket"); 72 #include <sys/socket.h> 83 if ((fd = socket(AF_DLI, SOCK_RAW, 0)) == -1) 84 perror("socket");
|
/freebsd-9.3-release/contrib/openbsm/compat/ |
H A D | compat.h | 36 #include <sys/socket.h>
|
/freebsd-9.3-release/crypto/heimdal/appl/ftp/common/ |
H A D | common.h | 55 #include <sys/socket.h>
|
H A D | sockbuf.c | 39 #include <sys/socket.h>
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | recv.c | 38 #include <sys/socket.h>
|
H A D | send.c | 38 #include <sys/socket.h>
|
/freebsd-9.3-release/sys/modules/netgraph/bluetooth/socket/ |
H A D | Makefile | 4 .PATH: ${.CURDIR}/../../../../netgraph/bluetooth/socket
|
/freebsd-9.3-release/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket_rfcomm.h | 233 struct socket *l2so; /* L2CAP socket */ 263 * Bluetooth RFCOMM socket PCB (DLC) 267 struct socket *so; /* RFCOMM socket */ 311 * Bluetooth RFCOMM socket methods 317 void ng_btsocket_rfcomm_abort (struct socket *); 318 void ng_btsocket_rfcomm_close (struct socket *); 319 int ng_btsocket_rfcomm_accept (struct socket *, struct sockaddr **); 320 int ng_btsocket_rfcomm_attach (struct socket *, in [all...] |