Searched refs:socket (Results 176 - 200 of 2056) sorted by relevance

1234567891011>>

/freebsd-9.3-release/libexec/bootpd/
H A Dtrygetea.c8 #include <sys/socket.h>
/freebsd-9.3-release/sbin/atm/atmconfig/
H A Datmconfig.h35 #include <sys/socket.h>
/freebsd-9.3-release/sys/modules/netgraph/
H A DMakefile45 socket \
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_xauth.c50 #include <sys/socket.h>
/freebsd-9.3-release/sys/netatalk/
H A Dat_proto.c29 #include <sys/socket.h>
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dsocket.h31 #include <sys/socket.h>
/freebsd-9.3-release/sys/ofed/include/net/
H A Dip.h35 #include <sys/socket.h>
/freebsd-9.3-release/tools/regression/netinet/tcpsocktimewait/
H A Dtcpsocktimewait.c36 * which an open file descriptor / socket is associated with a closed TCP
41 #include <sys/socket.h>
77 sock = socket(PF_INET, SOCK_STREAM, 0);
82 err(-1, "socket");
124 * sleep so that the time wait terminates while the socket is open.
127 listen_fd = socket(PF_INET, SOCK_STREAM, 0);
129 err(-1, "socket");
133 * server socket.
175 listen_fd = socket(PF_INET, SOCK_STREAM, 0);
177 err(-1, "socket");
[all...]
/freebsd-9.3-release/tools/regression/netipx/spxloopback/
H A Dspxloopback.c30 * Simple netipx regression test that attempts to build an SPX stream socket
37 #include <sys/socket.h>
138 sock_listen = socket(PF_IPX, SOCK_STREAM, 0);
140 err(-1, "sock_listen = socket(PF_IPX, SOCK_STREAM, 0)");
186 sock_send = socket(PF_IPX, SOCK_STREAM, 0);
191 err(-1, "sock_send = socket(PF_IPX, SOCK_STREAM, 0)");
204 err(-1, "sock_send = socket(PF_IPX, SOCK_STREAM, 0)");
213 sock_send = socket(PF_IPX, SOCK_STREAM, 0);
218 err(-1, "sock_send = socket(PF_IPX, SOCK_STREAM, 0)");
/freebsd-9.3-release/tools/regression/pjdfstest/tests/rename/
H A D07.t32 for type in regular dir fifo block char socket symlink; do
50 for type in regular dir fifo block char socket symlink; do
/freebsd-9.3-release/tools/regression/sockets/listen_backlog/
H A Dlisten_backlog.c30 #include <sys/socket.h>
52 * - All this on multiple socket types -- i.e., PF_LOCAL.
66 * Retrieve the current socket listen queue limit using SO_LISTENQLIMIT.
96 * Create a socket, check the queue limit on creation, perform a listen(),
107 sock = socket(domain, type, protocol);
109 warn("%s: %s: socket_listen: socket(%s, %s)", testclass,
216 * Create a socket, set the initial listen() state, then update the queue
228 sock = socket(PF_INET, SOCK_STREAM, 0);
230 warn("%s: %s: socket_listen_update: socket(%s, %s)",
282 * This test tests using listen() to update the queue depth after a socket
[all...]
/freebsd-9.3-release/tools/regression/sockets/unix_sorflush/
H A Dunix_sorflush.c30 * - Process (a) is blocked in read on a socket waiting on data.
31 * - Process (b) is blocked in shutdown() on a socket waiting on (a).
41 #include <sys/socket.h>
/freebsd-9.3-release/tools/tools/ath/common/
H A Ddiag.h36 #include <sys/socket.h>
/freebsd-9.3-release/sys/netncp/
H A Dncp_sock.c26 * Low level socket routines
39 #include <sys/socket.h>
62 /*static int ncp_getsockname(struct socket *so, caddr_t asa, int *alen);*/
63 static int ncp_soconnect(struct socket *so, struct sockaddr *target,
68 * implemented on the socket level
71 ncp_soconnect(struct socket *so, struct sockaddr *target, struct thread *td)
107 ncp_getsockname(struct socket *so, caddr_t asa, int *alen) {
125 int ncp_sock_recv(struct socket *so, struct mbuf **mp, int *rlen)
151 ncp_sock_send(struct socket *so, struct mbuf *top, struct ncp_rq *rqp)
313 register struct socket *s
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/mib/
H A Dtst.tcp.ksh85 socket(S, AF_INET, SOCK_STREAM, getprotobyname('tcp'))
86 or die "socket() failed: \$!";
114 socket(S, AF_INET, SOCK_STREAM, getprotobyname('tcp'))
115 or die "socket() failed: \$!";
/freebsd-9.3-release/contrib/ipfilter/ipsd/
H A Dslinux.c18 #include <sys/socket.h>
111 if ((fd = socket(AF_INET, SOCK_PACKET, htons(ETHERTYPE_IP))) == -1)
113 perror("socket(SOCK_PACKET)");
/freebsd-9.3-release/crypto/heimdal/appl/push/
H A Dpush_locl.h65 #include <sys/socket.h>
/freebsd-9.3-release/crypto/heimdal/tests/ldap/
H A Dslapd-init.in37 slapd -d0 -f ${srcdir}/slapd.conf -h ldapi://.%2Fldap-socket &
/freebsd-9.3-release/lib/libipsec/
H A Dpolicy_token.l36 #include <sys/socket.h>
/freebsd-9.3-release/sbin/setkey/
H A Dtest-policy.c34 #include <sys/socket.h>
111 if ((so = socket(family, SOCK_DGRAM, 0)) < 0)
112 perror("socket");
H A Dtoken.l36 #include <sys/socket.h>
/freebsd-9.3-release/share/examples/find_interface/
H A Dfind_interface.c34 * routing mechanism using only a UDP socket. Pass it a hostname on
44 #include <sys/socket.h>
84 s = socket(PF_INET, SOCK_DGRAM, 0);
86 err(EX_OSERR, "socket");
/freebsd-9.3-release/sys/kern/
H A Duipc_socket.c36 * Comments on the socket life cycle:
38 * soalloc() sets of socket layer state for a socket, called only by
41 * sodealloc() tears down socket layer state for a socket, called only by
44 * pru_attach() associates protocol layer state with an allocated socket;
45 * called only once, may fail, aborting socket allocation. This is called
48 * pru_detach() disassociates protocol layer state from an attached socket,
54 * consumer of a socket is starting to tear down the socket, an
[all...]
/freebsd-9.3-release/sys/netipx/
H A Dipx_pcb.h75 struct socket *ipxp_socket; /* back pointer to socket */
77 struct ipx_addr ipxp_laddr; /* socket's address */
101 #define IPXP_IN_ABORT 0x1 /* Calling abort through socket. */
105 #define IPXP_CHECKSUM 0x10 /* Use checksum on this socket. */
117 * Nominal space allocated to an IPX socket.
123 int ipx_pcballoc(struct socket *so, struct ipxpcbhead *head,
/freebsd-9.3-release/tools/regression/netinet/arphold/
H A Darphold.c52 #include <sys/socket.h>
86 if ((sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
87 perror("not ok 1 - could not open socket");

Completed in 302 milliseconds

1234567891011>>