| /src/sys/dev/ |
| kttcp.c | 373 error = (*pr->pr_usrreqs->pr_recvoob)(so, m, flags & MSG_PEEK); 416 if ((flags & MSG_PEEK) == 0) 471 if (flags & MSG_PEEK) { 479 if (flags & MSG_PEEK) { 494 if ((flags & MSG_PEEK) == 0) { 510 if ((flags & MSG_PEEK) == 0) { 549 if (flags & MSG_PEEK) { 582 if (flags & MSG_PEEK) 596 if ((flags & MSG_PEEK) == 0) { 625 if ((flags & MSG_PEEK) && sbspace(&so->so_rcv) <= 0 [all...] |
| /src/tests/net/ipsec/ |
| natt_terminator.c | 119 e = recvfrom(s, buf, 64, MSG_PEEK,
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| kmpstat.c | 144 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1)
|
| admin.c | 121 while ((len = recv(so2, (char *)&com, sizeof(com), MSG_PEEK)) < 0) {
|
| /src/external/mit/libuv/dist/src/win/ |
| winsock.c | 289 if (*flags & MSG_PEEK) { 387 if (*flags & MSG_PEEK) {
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| socket.d | 129 MSG_PEEK 526 MSG_PEEK = 0x02, 666 MSG_PEEK = 0x2, 825 MSG_PEEK = 0x2, 997 MSG_PEEK = 0x0002, /* peek at incoming message */ 1168 MSG_PEEK = 0x002, 1317 MSG_PEEK = 0x00000002, 1505 MSG_PEEK = 0x2,
|
| /src/sys/kern/ |
| uipc_socket.c | 953 if ((flags & MSG_PEEK) == 0) 1194 error = (*pr->pr_usrreqs->pr_recvoob)(so, m, flags & MSG_PEEK); 1253 if ((flags & MSG_PEEK) == 0) 1323 if (flags & MSG_PEEK) { 1349 if (flags & MSG_PEEK) { 1371 * in the first mbuf chain on the socket buffer. If MSG_PEEK, we 1372 * just copy the data; if !MSG_PEEK, we call into the protocol to 1380 if (flags & MSG_PEEK) { 1396 if ((flags & MSG_PEEK) == 0) 1522 if (flags & MSG_PEEK) { [all...] |
| /src/lib/libwrap/ |
| socket.c | 107 if (recvfrom(fd, buf, sizeof(buf), MSG_PEEK,
|
| /src/sbin/iscsictl/ |
| iscsic_main.c | 407 ret = recv(sock, rsp, len, MSG_PEEK | MSG_WAITALL);
|
| /src/external/ibm-public/postfix/dist/src/postscreen/ |
| postscreen_early.c | 234 read_buf, sizeof(read_buf) - 1, MSG_PEEK)) <= 0) {
|
| /src/usr.sbin/perfused/ |
| msg.c | 137 if (recvmsg(fd, &msg, MSG_NOSIGNAL|MSG_PEEK) != (ssize_t)len) { 492 switch (readen = recv(fd, data, len, MSG_NOSIGNAL|MSG_PEEK)) {
|
| /src/dist/pf/libexec/tftp-proxy/ |
| tftp-proxy.c | 171 if ((reqsize = recvfrom(fd, req, sizeof(req), MSG_PEEK,
|
| /src/sbin/iscsid/ |
| iscsid_main.c | 589 ret = recvfrom(client_sock, req, len, MSG_PEEK |
|
| /src/sys/rump/net/lib/libsockin/ |
| sockin_user.c | 188 {RUMP_MSG_PEEK, MSG_PEEK},
|
| /src/sys/sys/ |
| socket.h | 492 #define MSG_PEEK 0x0002 /* peek at incoming message */
|
| /src/usr.sbin/inetd/ |
| ratelimit.c | 141 count = recvmsg(ctrl, &header, MSG_PEEK);
|
| /src/usr.sbin/ldpd/ |
| ldp_command.c | 224 int r = recv(cs->socket, recvspace, MAX_COMMAND_SIZE, MSG_PEEK);
|
| socketops.c | 938 sizeof(u_short), MSG_PEEK); 1117 c = recv(p->socket, (void *) recvspace, MAX_PDU_SIZE, MSG_PEEK);
|
| mpls_routes.c | 132 rv = recv(route_socket, s, max, MSG_PEEK);
|
| /src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| bss_dgram.c | 307 flags = MSG_PEEK; 1651 n = recvmsg(b->num, &msg, MSG_PEEK); 1738 n = recvmsg(b->num, &msg, MSG_PEEK); 1785 n = recvmsg(b->num, &msg, MSG_PEEK);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| bss_dgram.c | 315 flags = MSG_PEEK; 1663 n = recvmsg(b->num, &msg, MSG_PEEK); 1750 n = recvmsg(b->num, &msg, MSG_PEEK); 1792 n = recvmsg(b->num, &msg, MSG_PEEK);
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| haproxy_srvr.c | 597 if ((read_len = recv(fd, read_buf, sizeof(read_buf) - 1, MSG_PEEK)) <= 0) {
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/windows/ |
| winsock2.d | 526 MSG_PEEK = 0x2,
|
| /src/crypto/dist/ipsec-tools/src/setkey/ |
| setkey.c | 400 u_char rbuf[1024 * 32]; /* XXX: Enough ? Should I do MSG_PEEK ? */ 419 if ((l = recv(so, rbuf, sizeof(*base), MSG_PEEK)) < 0) { 621 u_char rbuf[1024 * 32]; /* XXX: Enough ? Should I do MSG_PEEK ? */ 837 u_char rbuf[1024 * 32]; /* XXX: Enough ? Should I do MSG_PEEK ? */
|
| /src/crypto/external/apache2/openssl/dist/crypto/bio/ |
| bss_dgram.c | 435 flags = MSG_PEEK; 2621 n = recvmsg(b->num, &msg, MSG_PEEK); 2705 n = recvmsg(b->num, &msg, MSG_PEEK); 2752 n = recvmsg(b->num, &msg, MSG_PEEK);
|