/freebsd-13-stable/contrib/ipfilter/ipsend/ |
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-13-stable/contrib/pjdfstest/tests/link/ |
H A D | 01.t | 17 for type in regular fifo block char socket; do
|
/freebsd-13-stable/contrib/pjdfstest/tests/mknod/ |
H A D | 01.t | 16 for type in regular fifo block char socket; do
|
/freebsd-13-stable/contrib/pjdfstest/tests/rename/ |
H A D | 12.t | 17 for type in regular fifo block char socket; do
|
H A D | 20.t | 19 for type in regular dir fifo block char socket symlink; do
|
/freebsd-13-stable/contrib/pjdfstest/tests/utimensat/ |
H A D | 00.t | 23 for type in regular dir fifo block char socket; do
|
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_getsockname.c | 29 #include <sys/socket.h> 51 sd = socket(AF_UNIX, SOCK_STREAM, 0);
|
/freebsd-13-stable/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_netget.c | 37 #include <sys/socket.h> 67 s = socket(PF_INET, SOCK_STREAM, 0); 69 err(EXIT_FAILURE, "socket"); 87 err(EXIT_FAILURE, "socket write"); 94 err(EXIT_FAILURE, "socket read");
|
/freebsd-13-stable/sys/netinet/ |
H A D | ip_var.h | 190 VNET_DECLARE(struct socket *, ip_rsvpd); /* reservation protocol daemon*/ 191 VNET_DECLARE(struct socket *, ip_mrouter); /* multicast routing daemon */ 214 int ip_ctloutput(struct socket *, struct sockopt *sopt); 234 int rip_ctloutput(struct socket *, struct sockopt *); 238 int rip_output(struct mbuf *, struct socket *, ...); 241 int ip_rsvp_init(struct socket *); 243 extern int (*ip_rsvp_vif)(struct socket *, struct sockopt *); 244 extern void (*ip_rsvp_force_done)(struct socket *);
|
/freebsd-13-stable/sys/rpc/ |
H A D | rpc_com.h | 114 extern int __rpc_sockisbound(struct socket*); 115 extern int bindresvport(struct socket *so, struct sockaddr *sa);
|
/freebsd-13-stable/sys/sys/ |
H A D | domain.h | 47 struct socket; 60 (struct socket *);
|
H A D | sockbuf.h | 51 #define SB_IN_TOE 0x400 /* socket buffer is in the middle of an operation */ 52 #define SB_AUTOSIZE 0x800 /* automatically size socket buffer */ 72 struct socket; 77 * Variables for socket buffering. 87 short sb_state; /* (a) socket state on sockbuf */ 92 * record in socket buffer */ 113 int (*sb_upcall)(struct socket *, void *, int); /* (a) */ 123 * Per-socket buffer mutex used to protect most fields in the socket 165 void sbdestroy(struct sockbuf *sb, struct socket *s [all...] |
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | rresvport.c | 39 #include <sys/socket.h> 84 s = socket(af, SOCK_STREAM, 0);
|
/freebsd-13-stable/usr.sbin/lpr/common_source/ |
H A D | startdaemon.c | 42 #include <sys/socket.h> 66 s = socket(PF_LOCAL, SOCK_STREAM, 0); 68 warn("socket");
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | tun.c | 33 #include <sys/socket.h> /* For IFF_ defines */ 92 s = socket(PF_INET, SOCK_DGRAM, 0); 95 log_Printf(LogERROR, "tun_configure: socket(): %s\n", strerror(errno));
|
/freebsd-13-stable/tools/test/net/ |
H A D | listen.c | 36 #include <sys/socket.h> 79 srv_sock = socket(AF_INET, SOCK_STREAM, 0);
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_zcopy.c | 38 #include <linux/socket.h> 51 static int sdp_post_srcavail(struct socket *sk, struct tx_srcavail_state *tx_sa) 116 static int sdp_post_srcavail_cancel(struct socket *sk) 121 sdp_dbg_data(ssk->socket, "Posting srcavail cancel\n"); 138 struct socket *sk = ssk->socket; 153 struct socket *sk = ssk->socket; 211 sdp_dbg_data(ssk->socket, "woke up sleepers\n"); 243 struct socket *s [all...] |
/freebsd-13-stable/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-13-stable/tests/sys/file/ |
H A D | newfileops_on_fork_test.c | 40 #include <sys/socket.h> 107 listen_fd = socket(PF_INET, SOCK_STREAM, 0); 109 err(1, "socket");
|
/freebsd-13-stable/tests/sys/netinet/ |
H A D | tcp_user_cookie.c | 38 #include <sys/socket.h> 71 sock = socket(PF_INET, SOCK_STREAM, 0); 73 err(EXIT_FAILURE, "socket"); 85 err(EX_OSERR, "failed to listen on socket");
|
/freebsd-13-stable/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-13-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Socket.h | 64 virtual Status Accept(Socket *&socket) = 0; 68 // the socket after it is initialized, but before entering a blocking accept. 81 Socket *&socket); 83 bool child_processes_inherit, Socket *&socket); 86 Socket *&socket); 89 Socket *&socket);
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | DomainSocket.cpp | 15 #include <sys/socket.h> 68 DomainSocket::DomainSocket(NativeSocket socket, argument 72 m_socket = socket; 79 return Status("Failed to set socket address"); 96 return Status("Failed to set socket address"); 113 Status DomainSocket::Accept(Socket *&socket) { argument 118 socket = new DomainSocket(conn_fd, *this);
|
/freebsd-13-stable/crypto/openssl/include/internal/ |
H A D | sockets.h | 29 # include <sys/socket.h> 54 # define socket(d,t,p) ((int)socket(d,t,p)) macro 69 # include <socket.h> 73 # include <sys/socket.h>
|
/freebsd-13-stable/sys/netinet/tcp_stacks/ |
H A D | rack_bbr_common.h | 91 uint32_t ctf_get_opt_tls_size(struct socket *so, uint32_t rwnd); 94 ctf_process_inbound_raw(struct tcpcb *tp, struct socket *so, 97 ctf_do_queued_segments(struct socket *so, struct tcpcb *tp, int have_pkt); 123 struct socket *so, struct tcpcb *tp); 137 ctf_calc_rwin(struct socket *so, struct tcpcb *tp);
|