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

Function fstack_accept

io/fstack-dpdk.cpp:285–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285int fstack_accept(int sockfd, struct sockaddr* addr, socklen_t* addrlen, Timeout timeout) {
286 return photon::net::DOIO_ONCE(ff_accept(sockfd, (linux_sockaddr*) addr, addrlen),
287 g_engine->wait_for_fd_readable(sockfd, timeout));
288}
289
290int fstack_close(int fd) {
291 return ff_close(fd);

Callers 1

do_acceptMethod · 0.85

Calls 1

wait_for_fd_readableMethod · 0.45

Tested by

no test coverage detected