MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / ~FstackDpdkSocketStream

Method ~FstackDpdkSocketStream

net/kernel_socket.cpp:663–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661 using KernelSocketStream::KernelSocketStream;
662
663 ~FstackDpdkSocketStream() override {
664 if (fd < 0) return;
665 fstack_shutdown(fd, (int) ShutdownHow::ReadWrite);
666 fstack_close(fd);
667 fd = -1;
668 }
669
670protected:
671 ssize_t do_send(int sockfd, const void* buf, size_t count, int flags, Timeout timeout) override {

Callers

nothing calls this directly

Calls 2

fstack_shutdownFunction · 0.85
fstack_closeFunction · 0.85

Tested by

no test coverage detected