/freebsd-13-stable/usr.sbin/bhyve/ |
H A D | mevent_test.c | 41 #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 D | tcp.c | 32 #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 D | rip6query.c | 47 #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 D | smb_trantcp.c | 42 #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 D | netblast.c | 31 #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 D | net.c | 45 #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 D | cap_test_capmode.c | 44 #include <sys/socket.h> 80 REQUIRE(fd_socket = socket(PF_INET, SOCK_DGRAM, 0));
|
/freebsd-13-stable/tools/regression/sockets/so_setfib/ |
H A D | so_setfib.c | 35 * 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 D | ftpd_locl.h | 56 #include <sys/socket.h>
|
/freebsd-13-stable/crypto/heimdal/appl/rsh/ |
H A D | rsh_locl.h | 57 #include <sys/socket.h>
|
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet_locl.h | 126 #include <sys/socket.h>
|
/freebsd-13-stable/crypto/heimdal/kadmin/ |
H A D | kadmin_locl.h | 59 #include <sys/socket.h>
|
/freebsd-13-stable/crypto/heimdal/lib/ipc/ |
H A D | ts-http.c | 90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); 92 warn("socket");
|
/freebsd-13-stable/crypto/heimdal/lib/kafs/ |
H A D | kafs_locl.h | 70 #include <sys/socket.h>
|
/freebsd-13-stable/lib/libc/inet/ |
H A D | nsap_addr.c | 29 #include <sys/socket.h>
|
/freebsd-13-stable/lib/libc/rpc/ |
H A D | rtime.c | 40 * on the udp/time socket. Since timeserver returns 51 #include <sys/socket.h>
|
/freebsd-13-stable/lib/libcasper/services/cap_dns/ |
H A D | cap_dns.h | 40 #include <sys/socket.h> /* socklen_t */
|
/freebsd-13-stable/contrib/tcp_wrappers/ |
H A D | fix_options.c | 2 * 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 D | network.c | 39 #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 D | rip_output.c | 5 struct socket *so;
|
/freebsd-13-stable/contrib/unbound/compat/ |
H A D | fake-rfc2553.h | 44 #include <sys/socket.h> 49 * First, socket and INET6 related definitions
|
/freebsd-13-stable/sbin/ifconfig/ |
H A D | iffib.c | 35 #include <sys/socket.h>
|
H A D | ifmac.c | 42 #include <sys/socket.h>
|
/freebsd-13-stable/libexec/talkd/ |
H A D | talkd.c | 53 #include <sys/socket.h>
|
/freebsd-13-stable/contrib/bsnmp/lib/ |
H A D | snmpclient.h | 36 #include <sys/socket.h>
|