Restore socket fd. */
| 256 | |
| 257 | /* Restore socket fd. */ |
| 258 | static inline int restore_fstack_fd(int sockfd) { |
| 259 | if(sockfd < ff_kernel_max_fd) { |
| 260 | return sockfd; |
| 261 | } |
| 262 | |
| 263 | return sockfd - ff_kernel_max_fd; |
| 264 | } |
| 265 | |
| 266 | int is_fstack_fd(int sockfd) { |
| 267 | if (unlikely(inited == 0/* && ff_adapter_init() < 0*/)) { |
no outgoing calls
no test coverage detected