MCPcopy Index your code
hub / github.com/F-Stack/f-stack / ff_hook_accept

Function ff_hook_accept

adapter/micro_thread/ff_hook.cpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160int ff_hook_accept(int fd, struct sockaddr *addr, socklen_t *addrlen)
161{
162 if (ff_fdisused(fd)) {
163 return ff_accept(fd, (struct linux_sockaddr *)addr, addrlen);
164 } else {
165 return mt_real_func(accept)(fd, addr, addrlen);
166 }
167}

Callers 2

acceptMethod · 0.70
acceptFunction · 0.70

Calls 2

ff_fdisusedFunction · 0.85
ff_acceptFunction · 0.85

Tested by

no test coverage detected