/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | slinux.c | 19 #include <sys/socket.h> 55 if ((fd = socket(AF_INET, SOCK_PACKET, htons(ETHERTYPE_IP))) == -1) 57 perror("socket(SOCK_PACKET)");
|
H A D | sockraw.c | 13 #include <sys/socket.h> 46 if ((fd = socket(AF_INET, SOCK_RAW, IPPROTO_RAW)) < 0) 48 perror("socket(AF_INET, SOCK_RAW, IPPROTO_RAW)");
|
/freebsd-9.3-release/contrib/ofed/libsdp/src/ |
H A D | socket.c | 33 For non-i386 systems, we pass socket() through to library code using 50 #include <sys/socket.h> 84 /*..socket -- replacment socket call. */ 85 int socket function 141 /* Make the socket() system call directly, as described above */ 156 /* Use the standard library socket() to pass through the call */ 161 orig_socket = dlsym(RTLD_NEXT, "socket"); 167 } /* socket */
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | rresvport.c | 39 #include <sys/socket.h> 84 s = socket(af, SOCK_STREAM, 0);
|
/freebsd-9.3-release/libexec/bootpd/ |
H A D | trygetif.c | 8 #include <sys/socket.h> 59 s = socket(AF_INET, SOCK_DGRAM, 0); 61 perror("socket open");
|
/freebsd-9.3-release/sys/netatalk/ |
H A D | ddp_pcb.h | 56 int at_pcballoc(struct socket *so); 59 void at_pcbdetach(struct socket *so, struct ddpcb *ddp);
|
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_var.h | 92 u_short imo_num_memberships; /* no. memberships this socket */ 93 u_short imo_max_memberships; /* max memberships this socket */ 186 VNET_DECLARE(struct socket *, ip_rsvpd); /* reservation protocol daemon*/ 187 VNET_DECLARE(struct socket *, ip_mrouter); /* multicast routing daemon */ 210 int ip_ctloutput(struct socket *, struct sockopt *sopt); 235 int rip_ctloutput(struct socket *, struct sockopt *); 242 int rip_output(struct mbuf *, struct socket *, u_long); 245 int ip_rsvp_init(struct socket *); 247 extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); 248 extern void (*ip_rsvp_force_done)(struct socket *); [all...] |
/freebsd-9.3-release/sys/netncp/ |
H A D | ncp_login.c | 35 #include <sys/socket.h>
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_zcopy.c | 36 #include <linux/socket.h> 49 static int sdp_post_srcavail(struct socket *sk, struct tx_srcavail_state *tx_sa) 114 static int sdp_post_srcavail_cancel(struct socket *sk) 119 sdp_dbg_data(ssk->socket, "Posting srcavail cancel\n"); 136 struct socket *sk = ssk->socket; 151 struct socket *sk = ssk->socket; 209 sdp_dbg_data(ssk->socket, "woke up sleepers\n"); 241 struct socket *s [all...] |
/freebsd-9.3-release/sys/rpc/ |
H A D | rpc_com.h | 112 extern int __rpc_sockisbound(struct socket*); 113 extern int bindresvport(struct socket *so, struct sockaddr *sa);
|
/freebsd-9.3-release/sys/sys/ |
H A D | aio.h | 137 struct socket; 140 extern void (*aio_swake)(struct socket *, struct sockbuf *);
|
H A D | sockbuf.h | 53 #define SB_IN_TOE 0x400 /* socket buffer is in the middle of an operation */ 54 #define SB_AUTOSIZE 0x800 /* automatically size socket buffer */ 62 struct socket; 78 * Variables for socket buffering. 84 short sb_state; /* (c/d) socket state on sockbuf */ 89 * record in socket buffer */ 102 int (*sb_upcall)(struct socket *, void *, int); /* (c/d) */ 109 * Per-socket buffer mutex used to protect most fields in the socket 142 void sbdestroy(struct sockbuf *sb, struct socket *s [all...] |
/freebsd-9.3-release/tools/regression/file/newfileops_on_fork/ |
H A D | newfileops_on_fork.c | 40 #include <sys/socket.h> 104 listen_fd = socket(PF_INET, SOCK_STREAM, 0); 106 err(-1, "socket");
|
/freebsd-9.3-release/tools/regression/netinet/udpconnectjail/ |
H A D | udpconnectjail.c | 31 #include <sys/socket.h> 62 sock = socket(PF_INET, SOCK_DGRAM, 0); 64 errx(-1, "%s: socket(PF_INET, SOCK_DGRAM, 0): %s", context,
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/link/ |
H A D | 01.t | 16 for type in regular fifo block char socket; do
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/mknod/ |
H A D | 01.t | 15 for type in regular fifo block char socket; do
|
/freebsd-9.3-release/tools/regression/pjdfstest/tests/rename/ |
H A D | 12.t | 16 for type in regular fifo block char socket; do
|
H A D | 20.t | 18 for type in regular dir fifo block char socket symlink; do
|
/freebsd-9.3-release/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 30 #include <sys/socket.h> 77 s = socket(PF_INET, SOCK_DGRAM, 0); 79 perror("socket");
|
/freebsd-9.3-release/tools/tools/netrate/tcpreceive/ |
H A D | tcpreceive.c | 36 #include <sys/socket.h> 93 accept_sock = socket(PF_INET, SOCK_STREAM, 0); 95 err(-1, "socket(PF_INET, SOCKET_STREAM, 0)");
|
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | startdaemon.c | 40 #include <sys/socket.h> 66 s = socket(PF_LOCAL, SOCK_STREAM, 0); 68 warn("socket");
|
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | tun.c | 31 #include <sys/socket.h> /* For IFF_ defines */ 90 s = socket(PF_INET, SOCK_DGRAM, 0); 93 log_Printf(LogERROR, "tun_configure: socket(): %s\n", strerror(errno));
|
/freebsd-9.3-release/tools/regression/netinet/msocket_ifnet_remove/ |
H A D | msocket_ifnet_remove.c | 32 #include <sys/socket.h> 49 * network interface being used by an active multicast socket. This proves 52 * program can open a multicast socket, join a group on the interface, tear 53 * down the interface, and then close the multicast socket. We use the 57 * different IP socket types, we actually run the test twice: once for UDP 86 s = socket(PF_INET, SOCK_RAW, 0); 88 warn("disc_setup: socket(PF_INET, SOCK_RAW, 0)"); 112 s = socket(PF_INET, SOCK_RAW, 0); 114 warn("disc_done: socket(PF_INET, SOCK_RAW, 0)"); 137 s = socket(PF_INE [all...] |
/freebsd-9.3-release/tools/regression/sockets/unix_sendtorace/ |
H A D | unix_sendtorace.c | 30 * Attempts to exercise UNIX domain socket races relating to the non-atomic 40 #include <sys/socket.h> 80 fd = socket(PF_UNIX, SOCK_STREAM, 0); 82 warn("stream_client: socket"); 100 listenfd = socket(PF_UNIX, SOCK_STREAM, 0); 102 err(-1, "stream_test: socket"); 156 fd = socket(PF_UNIX, SOCK_DGRAM, 0); 158 warn("datagram_client: socket"); 176 serverfd = socket(PF_UNIX, SOCK_DGRAM, 0); 178 err(-1, "datagram_test: socket"); [all...] |
/freebsd-9.3-release/sys/dev/cxgbe/tom/ |
H A D | t4_tom.h | 176 struct inpcb *inp; /* listening socket's inp */ 232 void offload_socket(struct socket *, struct toepcb *); 233 void undo_offload_socket(struct socket *); 241 u_long select_rcv_wnd(struct socket *); 243 uint64_t calc_opt0(struct socket *, struct port_info *, struct l2t_entry *, 253 int t4_connect(struct toedev *, struct socket *, struct rtentry *, 267 void t4_offload_socket(struct toedev *, void *, struct socket *); 286 int t4_soreceive_ddp(struct socket *, struct sockaddr **, struct uio *,
|