MCPcopy Create free account
hub / github.com/F-Stack/f-stack / send

Function send

app/redis-6.2.6/src/anet_ff.c:203–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203ssize_t
204send(int sockfd, const void *buf, size_t len, int flags)
205{
206 if (unlikely(inited == 0)) {
207 INIT_FUNCTION(send);
208 return real_send(sockfd, buf, len, flags);
209 }
210
211 if (ff_fdisused(sockfd)) {
212 return ff_send(sockfd, buf, len, flags);
213 } else {
214 return real_send(sockfd, buf, len, flags);
215 }
216}
217
218ssize_t
219recv(int sockfd, void *buf, size_t len, int flags)

Callers 8

xo_send_syslogFunction · 0.50
kick_txFunction · 0.50
tap_nl_sendFunction · 0.50
vdev_netvsc_has_routeFunction · 0.50
redisNetWriteFunction · 0.50
win32_sendFunction · 0.50

Calls 2

ff_fdisusedFunction · 0.85
ff_sendFunction · 0.85

Tested by

no test coverage detected