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

Function recv

app/nginx-1.28.0/src/event/modules/ngx_ff_module.c:348–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346 }
347
348 ssize_t
349 recv(int sockfd, void *buf, size_t len, int flags)
350 {
351 if(is_fstack_fd(sockfd)){
352 sockfd = restore_fstack_fd(sockfd);
353 return ff_recv(sockfd, buf, len, flags);
354 }
355
356 return SYSCALL(recv)(sockfd, buf, len, flags);
357 }
358
359 ssize_t
360 __recv_chk (int fd, void *buf, size_t n, size_t buflen, int flags)

Callers 10

__recv_chkFunction · 0.70
ngx_http_ssl_handshakeFunction · 0.50
ngx_http_test_readingFunction · 0.50
ngx_unix_recvFunction · 0.50
ngx_udp_unix_recvFunction · 0.50
ngx_stream_preread_peekFunction · 0.50

Calls 3

ff_recvFunction · 0.85
is_fstack_fdFunction · 0.70
restore_fstack_fdFunction · 0.70

Tested by

no test coverage detected