MCPcopy Create free account
hub / github.com/apache/trafficserver / recvfrom

Method recvfrom

include/iocore/eventsystem/UnixSocket.h:165–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165inline int
166UnixSocket::recvfrom(void *buf, int size, int flags, struct sockaddr *addr, socklen_t *addrlen) const
167{
168 int r;
169 do {
170 r = ::recvfrom(this->fd, static_cast<char *>(buf), size, flags, addr, addrlen);
171 if (unlikely(r < 0)) {
172 r = -errno;
173 }
174 } while (r == -EINTR);
175 return r;
176}
177
178inline int
179UnixSocket::recvmsg(struct msghdr *m, int flags) const

Callers 3

recv_dnsMethod · 0.80
readPollEventMethod · 0.80
recvfrom_reMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected