netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libct_proto_gre.c File Reference
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <libnetfilter_conntrack/libnetfilter_conntrack.h>
#include "conntrack.h"
Include dependency graph for libct_proto_gre.c:

Macros

#define GRE_OPT_MAX   11
 
#define GRE_VALID_FLAGS_MAX   2
 

Enumerations

enum  {
  CT_GRE_ORIG_SKEY = (1 << 0),
  CT_GRE_ORIG_DKEY = (1 << 1),
  CT_GRE_REPL_SKEY = (1 << 2),
  CT_GRE_REPL_DKEY = (1 << 3),
  CT_GRE_MASK_SKEY = (1 << 4),
  CT_GRE_MASK_DKEY = (1 << 5),
  CT_GRE_EXPTUPLE_SKEY = (1 << 6),
  CT_GRE_EXPTUPLE_DKEY = (1 << 7)
}
 

Functions

void register_gre (void)
 

Macro Definition Documentation

#define GRE_OPT_MAX   11
#define GRE_VALID_FLAGS_MAX   2

Enumeration Type Documentation

anonymous enum
Enumerator
CT_GRE_ORIG_SKEY 
CT_GRE_ORIG_DKEY 
CT_GRE_REPL_SKEY 
CT_GRE_REPL_DKEY 
CT_GRE_MASK_SKEY 
CT_GRE_MASK_DKEY 
CT_GRE_EXPTUPLE_SKEY 
CT_GRE_EXPTUPLE_DKEY 

Function Documentation

void register_gre ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: