Home
last modified time | relevance | path

Searched refs:MSG_PEEK (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.1.9/tests/
H A Dscm_rights_leak.c90 ssize = recvmsg(pair[1], &mh, MSG_PEEK);
/xnu-12377.1.9/bsd/sys/
H A Dsocket.h614 #define MSG_PEEK 0x2 /* peek at incoming message */ macro
/xnu-12377.1.9/bsd/kern/
H A Duipc_socket.c2906 if (flags & MSG_PEEK) { in soreceive_addr()
2979 if (flags & MSG_PEEK) { in soreceive_ctl()
3018 if (!(flags & MSG_PEEK)) { in soreceive_ctl()
3302 error = (*pr->pr_usrreqs->pru_rcvoob)(so, m, flags & MSG_PEEK); in soreceive()
3412 if ((flags & MSG_PEEK) == 0) { in soreceive()
3537 if (!(flags & MSG_PEEK)) { in soreceive()
3562 if (!(flags & MSG_PEEK)) { in soreceive()
3572 if (!(flags & MSG_PEEK) && uio_resid(uio) > sorecvmincopy) { in soreceive()
3671 if (flags & MSG_PEEK) { in soreceive()
3707 if (flags & MSG_PEEK) { in soreceive()
[all …]
H A Duipc_syscalls.c2499 if (uap->flags & ~(MSG_PEEK | MSG_WAITALL | MSG_DONTWAIT | MSG_NEEDSA | MSG_NBIO)) { in recvmsg_x_array()
/xnu-12377.1.9/bsd/netinet/
H A Dtcp_usrreq.c1382 if ((flags & MSG_PEEK) == 0) { in tcp_usr_rcvoob()
H A Dmptcp_subr.c2055 if (flags & (MSG_PEEK | MSG_OOB | MSG_NEEDSA | MSG_WAITALL | MSG_WAITSTREAM)) { in mptcp_subflow_soreceive()