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

Class tmp_msg_hdr

net/kernel_socket.cpp:184–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 struct tmp_msg_hdr : public ::msghdr {
185 tmp_msg_hdr(const iovec* iov, int iovcnt) : ::msghdr{} {
186 this->msg_iov = (iovec*) iov;
187 this->msg_iovlen = iovcnt;
188 }
189
190 explicit tmp_msg_hdr(iovector_view& view) :
191 tmp_msg_hdr(view.iov, view.iovcnt) { }
192
193 operator ::msghdr*() { return this; }
194 };
195};
196
197class KernelSocketClient : public SocketClientBase {

Callers 5

readvMethod · 0.70
writevMethod · 0.70
recvMethod · 0.70
sendMethod · 0.70
do_sendMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected