netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
tns.c File Reference
#include "conntrackd.h"
#include "network.h"
#include "helper.h"
#include "myct.h"
#include "log.h"
#include <ctype.h>
#include <errno.h>
#include <netinet/tcp.h>
#include <libmnl/libmnl.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include <libnetfilter_queue/libnetfilter_queue.h>
#include <libnetfilter_queue/libnetfilter_queue_tcp.h>
#include <libnetfilter_queue/pktbuff.h>
#include <linux/netfilter.h>
Include dependency graph for tns.c:

Data Structures

struct  tns_header
 
struct  tns_redirect
 
struct  tns_info
 

Enumerations

enum  tns_types {
  TNS_TYPE_CONNECT = 1,
  TNS_TYPE_ACCEPT = 2,
  TNS_TYPE_ACK = 3,
  TNS_TYPE_REFUSE = 4,
  TNS_TYPE_REDIRECT = 5,
  TNS_TYPE_DATA = 6,
  TNS_TYPE_NULL = 7,
  TNS_TYPE_ABORT = 9,
  TNS_TYPE_RESEND = 11,
  TNS_TYPE_MARKER = 12,
  TNS_TYPE_ATTENTION = 13,
  TNS_TYPE_CONTROL = 14,
  TNS_TYPE_MAX = 19
}
 

Functions

void __attribute__ ((constructor))
 

Enumeration Type Documentation

enum tns_types
Enumerator
TNS_TYPE_CONNECT 
TNS_TYPE_ACCEPT 
TNS_TYPE_ACK 
TNS_TYPE_REFUSE 
TNS_TYPE_REDIRECT 
TNS_TYPE_DATA 
TNS_TYPE_NULL 
TNS_TYPE_ABORT 
TNS_TYPE_RESEND 
TNS_TYPE_MARKER 
TNS_TYPE_ATTENTION 
TNS_TYPE_CONTROL 
TNS_TYPE_MAX 

Function Documentation

void __attribute__ ( (constructor)  )

References helper_register().

Here is the call graph for this function: