Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dkmpstat.c149 if ((len = recv(so, &h, sizeof(h), MSG_PEEK)) == -1)
Dadmin.c117 while ((len = recv(so2, (char *)&com, sizeof(com), MSG_PEEK)) < 0) { in admin_handler()
Dprivsep.c116 sizeof(com), MSG_PEEK, NULL, NULL)) == -1) {
Dpfkey.c2839 *lenp = recv(so, (caddr_t)&buf, sizeof(buf), MSG_PEEK | MSG_DONTWAIT);
2854 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK);
Disakmp.c222 MSG_PEEK, (struct sockaddr *)&remote, &remote_len,
/external/kernel-headers/original/linux/
Dsocket.h235 #define MSG_PEEK 2 macro
/external/chromium/net/socket/
Dtcp_client_socket_libevent.cc353 int rv = HANDLE_EINTR(recv(socket_, &c, 1, MSG_PEEK)); in IsConnected()
371 int rv = HANDLE_EINTR(recv(socket_, &c, 1, MSG_PEEK)); in IsConnectedAndIdle()
Dtcp_client_socket_win.cc447 int rv = recv(socket_, &c, 1, MSG_PEEK); in IsConnected()
465 int rv = recv(socket_, &c, 1, MSG_PEEK); in IsConnectedAndIdle()
/external/bluetooth/bluez/src/
Dsdpd-server.c181 len = recv(sk, &hdr, sizeof(sdp_pdu_hdr_t), MSG_PEEK); in io_session_event()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c118 while ((rc = recvmsg(fd, &msg, MSG_PEEK)) == -1 && errno == EINTR); in netlink_recv()
/external/dnsmasq/src/
Dnetlink.c91 while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR); in netlink_recv()
Ddhcp.c138 while ((sz = recvmsg(daemon->dhcpfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR); in dhcp_packet()
/external/quake/quake/src/WinQuake/
Dnet_mp.cpp257 if (recvfrom (net_acceptsocket, buf, 4, MSG_PEEK, NULL, NULL) > 0) in MPATH_CheckNewConnections()
Dnet_wins.cpp388 if (precvfrom (net_acceptsocket, buf, sizeof(buf), MSG_PEEK, NULL, NULL) > 0) in WINS_CheckNewConnections()
Dmpdosock.h511 #define MSG_PEEK 0x2 /* peek at incoming message */ macro
Dmplpc.cpp769 if ((flags & MSG_PEEK) == 0) { in recvfrom()
/external/openssl/crypto/bio/
Dbss_dgram.c1563 n = recvmsg(b->num, &msg, MSG_PEEK); in BIO_dgram_sctp_wait_for_dry()
1647 n = recvmsg(b->num, &msg, MSG_PEEK); in BIO_dgram_sctp_wait_for_dry()
1691 n = recvmsg(b->num, &msg, MSG_PEEK); in BIO_dgram_sctp_msg_waiting()
/external/chromium/third_party/libjingle/source/talk/base/
Dphysicalsocketserver.cc805 ssize_t res = ::recv(s_, &ch, 1, MSG_PEEK); in IsDescriptorClosed()
1116 if (recv(s_, &ch, 1, MSG_PEEK) > 0) in CheckSignalClose()
Dwin32socketserver.cc558 return (::recv(socket_, &ch, 1, MSG_PEEK) <= 0); in HandleClosed()
/external/dhcpcd/
Dif-linux.c152 flags | MSG_PEEK | MSG_DONTWAIT | MSG_TRUNC); in get_netlink()
/external/strace/
Dnet.c550 #ifdef MSG_PEEK
551 { MSG_PEEK, "MSG_PEEK" },
/external/netcat/
Dnetcat.c398 rv = recvfrom(s, buf, plen, MSG_PEEK, in main()
/external/iproute2/lib/
Dlibnetlink.c126 status = recv(rth->fd, resp, sizeof(resp), MSG_DONTWAIT|MSG_PEEK); in rtnl_send_check()
/external/ipsec-tools/src/libipsec/
Dpfkey.c1846 while ((len = recv(so, (void *)&buf, sizeof(buf), MSG_PEEK)) < 0) {
/external/chromium/third_party/libjingle/
Dmods-since-v0_4_0.diff531 > return (0 == ::recv(s_, &ch, 1, MSG_PEEK));