MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / fstack_sendmsg

Function fstack_sendmsg

io/fstack-dpdk.cpp:303–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303ssize_t fstack_sendmsg(int sockfd, const struct msghdr* message, int flags, Timeout timeout) {
304 return photon::net::DOIO_ONCE(ff_sendmsg(sockfd, message, flags),
305 g_engine->wait_for_fd_writable(sockfd, timeout));
306}
307
308ssize_t fstack_recv(int sockfd, void* buf, size_t count, int flags, Timeout timeout) {
309 return photon::net::DOIO_ONCE(ff_recv(sockfd, buf, count, flags),

Callers 1

do_sendmsgMethod · 0.85

Calls 1

wait_for_fd_writableMethod · 0.45

Tested by

no test coverage detected