Functions | |
int | nft_sync_event_init (void) |
void | nft_sync_event_loop (void) |
void | nft_sync_event_fini (void) |
int | tcp_server_start (struct nft_sync_inst *) |
int | tcp_client_start (struct nft_sync_inst *inst) |
void nft_sync_event_fini | ( | void | ) |
int nft_sync_event_init | ( | void | ) |
void nft_sync_event_loop | ( | void | ) |
References nfts_inst, nfts_log, NFTS_LOG_INFO, NFTS_LOG_NOTICE, and nft_sync_inst::stop.
Referenced by main().
int tcp_client_start | ( | struct nft_sync_inst * | inst | ) |
References nft_fd_register(), nft_fd_setup(), NULL, nft_sync_inst::tcp, tcp_client_create(), tcp_client_get_fd(), and nft_sync_inst::tcp_client_nfd.
Referenced by main().
int tcp_server_start | ( | struct nft_sync_inst * | ) |
References tcp_conf::ipproto, nft_fd_register(), nft_fd_setup(), nfts_inst, NULL, tcp_conf::port, s, nft_sync_inst::tcp, tcp_server_create(), nft_sync_inst::tcp_server_fd, and tcp_server_get_fd().
Referenced by main().