Searched refs:socket (Results 451 - 475 of 2552) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/usr.sbin/bhyve/
H A Dmevent_test.c41 #include <sys/socket.h>
202 if ((s = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
203 perror("cannot create socket");
213 perror("cannot bind socket");
218 perror("cannot listen socket");
/freebsd-13-stable/usr.sbin/ppp/
H A Dtcp.c32 #include <sys/socket.h>
88 sock = socket(PF_INET, SOCK_STREAM, 0);
161 log_Printf(LogDEBUG, "%s: Opened tcp socket %s\n", p->link.name,
172 /* See if we're a tcp socket */
180 log_Printf(LogPHASE, "%s: Link is a closed socket !\n", p->link.name);
199 log_Printf(LogPHASE, "%s: Link is a tcp socket\n", p->link.name);
/freebsd-13-stable/usr.sbin/rip6query/
H A Drip6query.c47 #include <sys/socket.h>
105 if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
106 err(1, "socket");
/freebsd-13-stable/sys/netsmb/
H A Dsmb_trantcp.c42 #include <sys/socket.h>
82 nb_setsockopt_int(struct socket *so, int level, int name, int val)
105 nb_upcall(struct socket *so, void *arg, int waitflag)
149 struct socket *so;
294 struct socket *so = nbp->nbp_tso;
334 struct socket *so = nbp->nbp_tso;
567 struct socket *so;
573 nbp->nbp_tso = (struct socket *)NULL;
/freebsd-13-stable/tools/tools/netrate/netblast/
H A Dnetblast.c31 #include <sys/socket.h>
108 * For example, if the UDP socket gets back an ICMP from a
196 s = socket(res->ai_family, res->ai_socktype, 0);
198 cause = "socket";
/freebsd-13-stable/usr.bin/finger/
H A Dnet.c45 #include <sys/socket.h>
120 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
122 warn("socket(%d, %d, %d)", ai->ai_family, ai->ai_socktype,
/freebsd-13-stable/tools/regression/security/cap_test/
H A Dcap_test_capmode.c44 #include <sys/socket.h>
80 REQUIRE(fd_socket = socket(PF_INET, SOCK_DGRAM, 0));
/freebsd-13-stable/tools/regression/sockets/so_setfib/
H A Dso_setfib.c35 * Check that the expected domain(9) families all handle the socket option
50 #include <sys/socket.h>
94 * Try the setsockopt with given FIB number i on socket s.
128 * Main test. Open socket given domain family and type. For each FIB, out of
129 * bounds FIB numbers and 3 random FIB numbers set the socket option.
136 /* PF_ROUTE only supports RAW socket types, while PF_LOCAL does not. */
142 /* Open socket for given combination. */
143 s = socket(t_dom[dom].domain, t_type[type].type, 0);
145 printf("not ok %d %s_%s # socket(): %s\n", testno,
159 /* Close socket
[all...]
/freebsd-13-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd_locl.h56 #include <sys/socket.h>
/freebsd-13-stable/crypto/heimdal/appl/rsh/
H A Drsh_locl.h57 #include <sys/socket.h>
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet_locl.h126 #include <sys/socket.h>
/freebsd-13-stable/crypto/heimdal/kadmin/
H A Dkadmin_locl.h59 #include <sys/socket.h>
/freebsd-13-stable/crypto/heimdal/lib/ipc/
H A Dts-http.c90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
92 warn("socket");
/freebsd-13-stable/crypto/heimdal/lib/kafs/
H A Dkafs_locl.h70 #include <sys/socket.h>
/freebsd-13-stable/lib/libc/inet/
H A Dnsap_addr.c29 #include <sys/socket.h>
/freebsd-13-stable/lib/libc/rpc/
H A Drtime.c40 * on the udp/time socket. Since timeserver returns
51 #include <sys/socket.h>
/freebsd-13-stable/lib/libcasper/services/cap_dns/
H A Dcap_dns.h40 #include <sys/socket.h> /* socklen_t */
/freebsd-13-stable/contrib/tcp_wrappers/
H A Dfix_options.c2 * Routine to disable IP-level socket options. This code was taken from 4.4BSD
17 #include <sys/socket.h>
35 /* fix_options - get rid of IP-level socket options */
55 * check if this is AF_INET socket
/freebsd-13-stable/contrib/telnet/telnet/
H A Dnetwork.c39 #include <sys/socket.h>
75 * Check to see if any out-of-band data exists on a socket (for
/freebsd-13-stable/contrib/traceroute/
H A Drip_output.c5 struct socket *so;
/freebsd-13-stable/contrib/unbound/compat/
H A Dfake-rfc2553.h44 #include <sys/socket.h>
49 * First, socket and INET6 related definitions
/freebsd-13-stable/sbin/ifconfig/
H A Diffib.c35 #include <sys/socket.h>
H A Difmac.c42 #include <sys/socket.h>
/freebsd-13-stable/libexec/talkd/
H A Dtalkd.c53 #include <sys/socket.h>
/freebsd-13-stable/contrib/bsnmp/lib/
H A Dsnmpclient.h36 #include <sys/socket.h>

Completed in 307 milliseconds

<<11121314151617181920>>