netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
server.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <fd.h>
#include <tcp.h>
#include <unistd.h>
#include <config.h>
#include <string.h>
#include <errno.h>
#include "init.h"
#include "logging.h"
#include "msg_buff.h"
#include "proto.h"
#include "mnl.h"
#include "utils.h"
Include dependency graph for server.c:

Functions

int tcp_server_start (struct nft_sync_inst *inst)
 

Function Documentation

int tcp_server_start ( struct nft_sync_inst 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().

Here is the call graph for this function:

Here is the caller graph for this function: