Home
last modified time | relevance | path

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

123

/external/strace/xlat/
Dmsg_flags.h13 #if defined(MSG_PEEK) || (defined(HAVE_DECL_MSG_PEEK) && HAVE_DECL_MSG_PEEK)
15 static_assert((MSG_PEEK) == (0x2), "MSG_PEEK != 0x2");
18 # define MSG_PEEK 0x2
185 XLAT(MSG_PEEK),
Dmsg_flags.in2 MSG_PEEK 0x2
/external/rust/crates/gdbstub/src/connection/impls/
Dunixstream.rs22 const MSG_PEEK: c_int = 2; in peek() constant
42 MSG_PEEK, in peek()
/external/rust/crates/libc/src/unix/newlib/aarch64/
Dmod.rs47 pub const MSG_PEEK: ::c_int = 2; constant
/external/rust/crates/libc/src/unix/newlib/arm/
Dmod.rs49 pub const MSG_PEEK: ::c_int = 2; constant
/external/python/cpython2/Lib/plat-os2emx/
DSOCKET.py84 MSG_PEEK = 0x2 variable
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c70 R = recvmsg(sdr, &msghdr, MSG_PEEK); in verify_recvmsg()
/external/parameter-framework/asio-1.10.6/include/asio/
Dsocket_base.hpp42 message_peek = ASIO_OS_DEF(MSG_PEEK));
/external/rust/crates/libc/src/unix/newlib/xtensa/
Dmod.rs80 pub const MSG_PEEK: ::c_int = 0x01; constant
/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()
/external/ltp/utils/sctp/func_tests/
Dtest_recvmsg.c141 error = test_recvmsg(svr_sk, &inmessage, MSG_PEEK); in main()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_types.hpp102 # define ASIO_OS_DEF_MSG_PEEK MSG_PEEK
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c94 return recv(s, data, size, MSG_PEEK); in u_socket_peek()
/external/linux-kselftest/tools/testing/selftests/net/
Dtls.c609 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F()
626 EXPECT_NE(recv(self->cfd, buf, send_len, MSG_PEEK), -1); in TEST_F()
650 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F()
677 EXPECT_EQ(recv(self->cfd, buf, len, MSG_PEEK | MSG_WAITALL), len); in TEST_F()
700 MSG_PEEK | MSG_WAITALL)), -1); in TEST_F()
1072 EXPECT_EQ(recvmsg(self->cfd, &msg, MSG_WAITALL | MSG_PEEK), send_len); in TEST_F()
/external/libwebsockets/lib/tls/
Dtls-server.c188 context->pt_serv_buf_size, MSG_PEEK); in lws_server_socket_service_ssl()
/external/libcups/cups/
Drequest.c1027 if ((n = recv(cg->http->fd, &ch, 1, MSG_PEEK)) == 0 || in _cupsConnect()
1030 if ((n = recv(cg->http->fd, &ch, 1, MSG_PEEK | MSG_DONTWAIT)) == 0 || in _cupsConnect()
/external/dnsmasq/src/
Dnetlink.c86 … while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR) in netlink_recv()
/external/android-clat/
Dclatd.c409 recv(tunnel->read_fd6, NULL, 0, MSG_PEEK); in event_loop()
/external/crosvm/sys_util/src/
Dnet.rs22 socklen_t, AF_INET, AF_INET6, MSG_PEEK, MSG_TRUNC, SOCK_CLOEXEC, SOCK_STREAM,
438 MSG_TRUNC | MSG_PEEK, in next_packet_size()
/external/scapy/scapy/
Dsupersocket.py137 pkt = self.ins.recv(x, socket.MSG_PEEK)
/external/toybox/toys/pending/
Dtcpsvd.c309 if(recvfrom(fd, NULL, 0, MSG_PEEK, (struct sockaddr *)buf, &len) < 0) in tcpsvd_main()
/external/python/cpython2/Lib/plat-unixware7/
DIN.py326 MSG_PEEK = 0x2 variable
/external/webrtc/rtc_base/
Dphysical_socket_server.cc679 if (recv(s_, &ch, 1, MSG_PEEK) > 0) in CheckSignalClose()
708 ssize_t res = ::recv(s_, &ch, 1, MSG_PEEK); in IsDescriptorClosed()
/external/curl/lib/
Dconnect.c1432 #ifdef MSG_PEEK in Curl_connalive()
1439 (RECV_TYPE_ARG3)1, (RECV_TYPE_ARG4)MSG_PEEK) == 0) { in Curl_connalive()

123