Searched refs:recv (Results 1 - 25 of 115) sorted by relevance

12345

/freebsd-10.0-release/lib/libc/net/
H A Drecv.c31 static char sccsid[] = "@(#)recv.c 8.2 (Berkeley) 2/21/94";
42 recv(s, buf, len, flags) function
48 * POSIX says recv() shall be a cancellation point, so call the
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dnet_read.c85 count = recv (sock, cbuf, rem, 0);
96 count = recv (sock, cbuf, rem, 0);
H A Dsocket_wrapper.h114 #ifdef recv
115 #undef recv macro
117 #define recv(s,buf,len,flags) swrap_recv(s,buf,len,flags) macro
/freebsd-10.0-release/tools/regression/netinet/udpzerobyte/
H A Dudpzerobyte.c81 size = recv(sock_receive, NULL, 0, 0);
83 errx(-1, "Protocol %s recv(sock_receive, NULL, 0) before: %zd",
86 err(-1, "Protocol %s recv(sock_receive, NULL, 0) before",
94 size = recv(sock_receive, NULL, 0, 0);
96 err(-1, "Protocol %s recv(sock_receive, NULL, 0) test",
99 size = recv(sock_receive, NULL, 0, 0);
101 errx(-1, "Protocol %s recv(sock_receive, NULL, 0) after: %zd",
104 err(-1, "Protocol %s recv(sock_receive, NULL, 0) after",
/freebsd-10.0-release/tools/regression/sockets/unix_sorflush/
H A Dunix_sorflush.c55 ssize = recv(s, &ch, sizeof(ch), 0);
57 err(-1, "receive_and_exit: recv");
/freebsd-10.0-release/sys/dev/ipmi/
H A Dipmi.c290 struct ipmi_recv *recv = (struct ipmi_recv *)data; local
297 struct ipmi_recv recv; member in union:__anon8526
323 recv = &thunk32.recv;
324 recv->addr = PTRIN(recv32->addr);
325 recv->addr_len = recv32->addr_len;
326 recv->msg.data_len = recv32->msg.data_len;
327 recv->msg.data = PTRIN(recv32->msg.data);
377 error = copyin(recv->addr, &addr, sizeof(addr));
389 recv
[all...]
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_qp.c261 wqe->recv.pagesz[0] = page_size[0];
262 wqe->recv.pagesz[1] = page_size[1];
263 wqe->recv.pagesz[2] = page_size[2];
264 wqe->recv.pagesz[3] = page_size[3];
265 wqe->recv.num_sgle = htobe32(wr->num_sge);
268 wqe->recv.sgl[i].stag = htobe32(wr->sg_list[i].lkey);
269 wqe->recv.sgl[i].len = htobe32(wr->sg_list[i].length);
270 wqe->recv.sgl[i].to = htobe64(((u32)wr->sg_list[i].addr) &
273 wqe->recv.pbl_addr[i] = cpu_to_be32(pbl_addr[i]);
276 wqe->recv
[all...]
/freebsd-10.0-release/tools/regression/sockets/sblock/
H A Dsblock.c38 * processes. Two processes block in recv(), the first on sbwait (wait for
64 * Process that will perform a blocking recv on a UNIX domain socket. This
73 len = recv(fd, &ch, sizeof(ch), 0);
75 err(-1, "FAIL: blocking_recver: recv");
77 errx(-1, "FAIL: blocking_recver: recv: eof");
79 errx(-1, "FAIL: blocking_recver: recv: %zd bytes", len);
85 * Process that will perform a locking recv on a UNIX domain socket.
88 * then recv() will return EOF, as the close() arrives before the signal,
100 len = recv(fd, &ch, sizeof(ch), 0);
102 err(-1, "FAIL: locking_recver: recv");
[all...]
/freebsd-10.0-release/contrib/lukemftpd/
H A Dacconfig.h98 #undef recv macro
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/ntlm/
H A Dntlm.h132 struct ntlmv2_key send, recv; member in struct:__anon4786::__anon4787::__anon4790
H A Dcrypto.c363 ctx->u.v2.recv.signkey,
364 ctx->u.v2.recv.signsealkey,
365 ctx->u.v2.recv.seq++,
551 ctx->u.v2.recv.signkey,
552 ctx->u.v2.recv.seq++,
553 &ctx->u.v2.recv.sealkey,
/freebsd-10.0-release/sys/arm/xscale/ixp425/
H A Dixp425_npevar.h120 const uint32_t send[2], uint32_t recv[2]);
/freebsd-10.0-release/tools/tools/netrate/tcpreceive/
H A Dtcpreceive.c70 recvlen = recv(s, buffer, BUFFERSIZE, 0);
/freebsd-10.0-release/usr.bin/talk/
H A Dctl_transact.c96 cc = recv(ctl_sockt, (char *)rp, sizeof (*rp), 0);
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/
H A Dmad.c1864 struct ib_mad_private *recv, *response = NULL; local
1875 recv = container_of(mad_priv_hdr, struct ib_mad_private, header);
1877 recv->header.mapping,
1883 recv->header.wc = *wc;
1884 recv->header.recv_wc.wc = &recv->header.wc;
1885 recv->header.recv_wc.mad_len = sizeof(struct ib_mad);
1886 recv->header.recv_wc.recv_buf.mad = &recv->mad.mad;
1887 recv
2610 struct ib_mad_private *recv; local
[all...]
/freebsd-10.0-release/crypto/openssl/
H A De_os.h150 #define readsocket(s,b,n) recv((s),(b),(n),0)
170 #define readsocket(s,b,n) recv((s),(b),(n),0)
184 #define readsocket(s,b,n) recv((s),(b),(n),0)
193 #define readsocket(s,b,n) recv((s),(b),(n),0)
196 #define readsocket(s,b,n) recv((s),(char*)(b),(n),0)
202 #define readsocket(s,b,n) recv((s),(b),(n),0)
522 # define SSLeay_Read(a,b,c) recv((a),(b),(c),0)
557 # define SSLeay_Read(a,b,c) recv((a),(b),(c),0)
/freebsd-10.0-release/lib/libc/sys/
H A DMakefile.inc208 recv.2 \
362 MLINKS+=recv.2 recvfrom.2 \
363 recv.2 recvmsg.2
/freebsd-10.0-release/libexec/talkd/
H A Dtalkd.c112 cc = recv(0, (char *)mp, sizeof(*mp), 0);
115 syslog(LOG_WARNING, "recv: %m");
/freebsd-10.0-release/tools/regression/netipx/ipxdgramloopback/
H A Dipxdgramloopback.c104 len = recv(sock_recv, packet, sizeof(packet), 0);
106 err(-1, "recv()");
108 errx(-1, "recv(): short receive (%zu length, %zd received)",
113 errx(-1, "recv(): byte %d wrong (%d instead of %d)",
/freebsd-10.0-release/sys/dev/firewire/
H A Dfwdev.c320 fp = &xfer->recv.hdr;
329 err = uiomove((void *)xfer->recv.payload, xfer->recv.pay_len, uio);
335 xfer->recv.pay_len = PAGE_SIZE;
728 tinfo = &fc->tcode[xfer->recv.hdr.mode.hdr.tcode];
729 if (xfer->recv.hdr.mode.hdr.tcode == FWTCODE_RRESB ||
730 xfer->recv.hdr.mode.hdr.tcode == FWTCODE_LRES) {
731 pay_len = xfer->recv.pay_len;
732 if (asyreq->req.len >= xfer->recv.pay_len + tinfo->hdr_len) {
733 asyreq->req.len = xfer->recv
[all...]
H A Dfwmem.c121 xfer->recv.pay_len = rlen;
150 xfer->recv.payload = (uint32_t *)data;
186 xfer->send.payload = xfer->recv.payload = NULL;
225 xfer->recv.payload = data;
263 xfer->recv.payload = NULL;
/freebsd-10.0-release/sys/netgraph/
H A Dng_mppc.c143 struct ng_mppc_dir recv; /* decompress/decrypt config */ member in struct:ng_mppc_private
228 hookPtr = &priv->recv.hook;
264 &priv->xmit : &priv->recv;
380 if (hook == priv->recv.hook) {
381 if (!priv->recv.cfg.enable) {
401 NG_FWD_NEW_DATA(error, item, priv->recv.hook, m);
421 if (priv->recv.history != NULL)
422 free(priv->recv.history, M_NETGRAPH_MPPC);
443 if (hook == priv->recv.hook)
444 priv->recv
[all...]
/freebsd-10.0-release/contrib/telnet/telnet/
H A Dsys_bsd.c1037 c = recv(net, netiring.supply, canread, MSG_OOB);
1039 c = recv(net, netiring.supply, canread, 0);
1047 * recv(MSG_OOB). So, we do one. If it
1056 i = recv(net, netiring.supply + c, canread - c, MSG_OOB);
1079 c = recv(net, netiring.supply, canread, 0);
1082 c = recv(net, netiring.supply, canread, 0);
1086 c = recv(net, (char *)netiring.supply, canread, 0);
/freebsd-10.0-release/crypto/heimdal/appl/telnet/telnet/
H A Dsys_bsd.c879 c = recv(net, netiring.supply, canread, MSG_OOB);
881 c = recv(net, netiring.supply, canread, 0);
889 * recv(MSG_OOB). So, we do one. If it
898 i = recv(net, netiring.supply + c, canread - c, MSG_OOB);
921 c = recv(net, netiring.supply, canread, 0);
924 c = recv(net, netiring.supply, canread, 0);
928 c = recv(net, (char *)netiring.supply, canread, 0);
/freebsd-10.0-release/tools/tools/net80211/w00t/redir/
H A Dbuddy.c107 rd = recv(raw, buf, sizeof(buf), 0);
109 err(1, "recv()");

Completed in 216 milliseconds

12345