Searched refs:MSG_PEEK (Results 1 - 15 of 15) sorted by relevance
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | socket.h | 169 #define MSG_PEEK 0x2 /* peek at incoming message */ macro
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 208 * work around macos 10.4 recv(MSG_PEEK) bug that consumes pipe() data 219 recv_peek_ok = (!pipe(fds) && write(fds[1], tst, 2) && recv(fds[0], tst, 1, MSG_PEEK) == 1 && tst[0] == 'a' && recv(fds[0], tst, 1, MSG_PEEK) == 1 && tst[0] == 'a') ? 1 : -1; 230 while((r = recv(fd,(char*)buf,n,MSG_PEEK)) < 0)
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | socket.c | 107 if (recvfrom(fd, buf, sizeof(buf), MSG_PEEK,
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon_subr.c | 737 if (flags & MSG_PEEK) { 823 if (copied > 0 && !(flags & MSG_PEEK)) { 846 if ((flags & (MSG_PEEK|MSG_TRUNC))) { 847 if (flags & MSG_PEEK) { 917 !(flags & MSG_PEEK) && so->so_rcv_head != NULL) { 923 error = sogeterr(so, !(flags & MSG_PEEK)); 973 if (reset_atmark && partial_read && !(flags & MSG_PEEK)) { 1125 * Handle recv* calls that set MSG_OOB or MSG_OOB together with MSG_PEEK. 1162 if (flags & MSG_PEEK) {
|
H A D | sodirect.c | 79 uioasync.enabled && !(flags & MSG_PEEK) &&
|
H A D | socktpi.c | 2690 * with the T_EXDATA_IND MSG_PEEK code in sotpi_recvmsg. 2719 * with the T_EXDATA_IND MSG_PEEK code in sotpi_recvmsg. 3222 * Note that MSG_WAITALL set with MSG_PEEK is a noop. 3225 if (flags & MSG_PEEK) { 3274 !(flags & MSG_PEEK)) { 3308 !(flags & MSG_PEEK)) { 3347 !(flags & MSG_PEEK)) { 3454 !(flags & MSG_PEEK)) { 3554 if (flags & MSG_PEEK) { 3595 } /* end "if (flags & MSG_PEEK)" */ [all...] |
H A D | sockcommon_sops.c | 1610 if (msg->msg_flags & MSG_PEEK)
|
H A D | socksyscalls.c | 862 msg->msg_flags = flags & (MSG_OOB | MSG_PEEK | MSG_WAITALL |
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 493 n = recv(rmtape, cp, len-1, MSG_PEEK);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | socket.h | 409 #define MSG_PEEK 0x2 /* peek at incoming message */ macro
|
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 381 msghdr.msg_flags = flags & (MSG_OOB | MSG_PEEK | MSG_WAITALL | 434 msghdr.msg_flags = flags & (MSG_OOB | MSG_PEEK | MSG_WAITALL | 491 msg->msg_flags = flags & (MSG_OOB | MSG_PEEK | MSG_WAITALL |
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | socket.h | 418 #define MSG_PEEK 0x2 /* peek at incoming message */ macro
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 354 rv = recvfrom(s, buf, plen, MSG_PEEK,
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rds_recv.c | 578 if (!rdsv3_still_queued(rs, inc, !(msg_flags & MSG_PEEK))) {
|
/illumos-gate/usr/src/uts/common/inet/sockmods/ |
H A D | socksctp.c | 532 * MSG_PEEK Don't consume data 533 * MSG_WAITALL Wait for full quantity of data (ignored if MSG_PEEK) 604 if (!(flags & MSG_PEEK)) 662 if (!(flags & MSG_PEEK) && !(rval.r_val1 & MOREDATA)) {
|
Completed in 105 milliseconds