| 57 | struct timeval write_timeout; |
| 58 | }; |
| 59 | static inline pid_t GetPid() |
| 60 | { |
| 61 | char **p = (char**)pthread_self(); |
| 62 | return p ? *(pid_t*)(p + 18) : getpid(); |
| 63 | } |
| 64 | static rpchook_t *g_rpchook_socket_fd[ 102400 ] = { 0 }; |
| 65 | |
| 66 | typedef int (*socket_pfn_t)(int domain, int type, int protocol); |
nothing calls this directly
no outgoing calls
no test coverage detected