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

Function convert_fstack_fd

adapter/syscall/ff_hook_syscall.c:253–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251void __chk_fail(void);
252
253static inline int convert_fstack_fd(int sockfd) {
254 return sockfd + ff_kernel_max_fd;
255}
256
257/* Restore socket fd. */
258static inline int restore_fstack_fd(int sockfd) {

Callers 7

ff_hook_socketFunction · 0.70
ff_hook_acceptFunction · 0.70
ff_hook_accept4Function · 0.70
ff_hook_epoll_createFunction · 0.70
kqueueFunction · 0.70
keventFunction · 0.70
ff_hook_selectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected