Searched refs:MSG_PEEK (Results 1 - 25 of 26) sorted by relevance

12

/external/strace/xlat/
H A Dmsg_flags.h7 #if defined(MSG_PEEK) || (defined(HAVE_DECL_MSG_PEEK) && HAVE_DECL_MSG_PEEK)
8 XLAT(MSG_PEEK),
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_network.c93 return recv(s, data, size, MSG_PEEK);
/external/ipsec-tools/src/racoon/
H A Dkmpstat.c149 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1)
H A Dadmin.c117 while ((len = recv(so2, (char *)&com, sizeof(com), MSG_PEEK)) < 0) {
H A Dprivsep.c116 sizeof(com), MSG_PEEK, NULL, NULL)) == -1) {
H A Dpfkey.c2839 *lenp = recv(so, (caddr_t)&buf, sizeof(buf), MSG_PEEK | MSG_DONTWAIT);
2854 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK);
H A Disakmp.c220 /* read message by MSG_PEEK */
222 MSG_PEEK, (struct sockaddr *)&remote, &remote_len,
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_network.c93 return recv(s, data, size, MSG_PEEK);
/external/chromium_org/tools/measure_page_load_time/ie_bho/
H A DMeasurePageLoadTimeBHO.cpp164 cbRead = recv(m_sockTransport, pbBuffer, MAX_URL-1, MSG_PEEK);
184 // MSG_PEEK that at least cbRead bytes are in the TCP receive buffer
/external/chromium_org/net/socket/
H A Dsocket_libevent.cc200 int rv = HANDLE_EINTR(recv(socket_fd_, &c, 1, MSG_PEEK));
218 int rv = HANDLE_EINTR(recv(socket_fd_, &c, 1, MSG_PEEK));
H A Dtcp_socket_win.cc459 int rv = recv(socket_, &c, 1, MSG_PEEK);
480 int rv = recv(socket_, &c, 1, MSG_PEEK);
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
H A Dsocket.h312 #define MSG_PEEK 0x2 /* peek at incoming message */ macro
/external/dnsmasq/contrib/wrt/
H A Ddhcp_release.c118 while ((rc = recvmsg(fd, &msg, MSG_PEEK)) == -1 && errno == EINTR);
120 /* 2.2.x doesn't suport MSG_PEEK at all, returning EOPNOTSUPP, so we just grab a
/external/dnsmasq/src/
H A Dnetlink.c91 while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR);
H A Ddhcp.c138 while ((sz = recvmsg(daemon->dhcpfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR);
/external/chromium_org/third_party/webrtc/base/
H A Dmacasyncsocket.cc428 amt = ::recv(this_socket->native_socket_, &ch, 1, MSG_PEEK);
H A Dwin32socketserver.cc574 return (::recv(socket_, &ch, 1, MSG_PEEK) <= 0);
H A Dphysicalsocketserver.cc839 ssize_t res = ::recv(s_, &ch, 1, MSG_PEEK);
1158 if (recv(s_, &ch, 1, MSG_PEEK) > 0)
/external/libnl/lib/
H A Dnl.c418 flags |= MSG_PEEK;
/external/openssl/crypto/bio/
H A Dbss_dgram.c1603 n = recvmsg(b->num, &msg, MSG_PEEK);
1687 n = recvmsg(b->num, &msg, MSG_PEEK);
1731 n = recvmsg(b->num, &msg, MSG_PEEK);
/external/dhcpcd/
H A Dif-linux.c159 flags | MSG_PEEK | MSG_DONTWAIT | MSG_TRUNC);
/external/iproute2/lib/
H A Dlibnetlink.c133 status = recv(rth->fd, resp, sizeof(resp), MSG_DONTWAIT|MSG_PEEK);
/external/netcat/
H A Dnetcat.c398 rv = recvfrom(s, buf, plen, MSG_PEEK,
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctputil.c5689 * MSG_PEEK - Look don't touch :-D (only valid with OUT mbuf copy
5725 if (in_flags & MSG_PEEK)
5745 if ((in_flags & MSG_PEEK) && (mp != NULL)) {
5845 if ((in_flags & MSG_PEEK) == 0)
5892 if ((in_flags & MSG_PEEK) == 0)
6354 if (in_flags & MSG_PEEK) {
6403 if ((in_flags & MSG_PEEK) == 0) {
6437 if (((stcb) && (in_flags & MSG_PEEK) == 0) &&
6448 if ((out_flags & MSG_EOR) && ((in_flags & MSG_PEEK) == 0)) {
6545 if (((stcb) && (in_flags & MSG_PEEK)
[all...]
/external/ipsec-tools/src/libipsec/
H A Dpfkey.c1846 while ((len = recv(so, (void *)&buf, sizeof(buf), MSG_PEEK)) < 0) {

Completed in 1400 milliseconds

12