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

Macros

#define IPPROTO_DCCP   33
 
#define DCCP_OPT_MAX   13
 
#define DCCP_VALID_FLAGS_MAX   2
 

Enumerations

enum  {
  CT_DCCP_ORIG_SPORT = (1 << 0),
  CT_DCCP_ORIG_DPORT = (1 << 1),
  CT_DCCP_REPL_SPORT = (1 << 2),
  CT_DCCP_REPL_DPORT = (1 << 3),
  CT_DCCP_MASK_SPORT = (1 << 4),
  CT_DCCP_MASK_DPORT = (1 << 5),
  CT_DCCP_STATE = (1 << 6),
  CT_DCCP_EXPTUPLE_SPORT = (1 << 7),
  CT_DCCP_EXPTUPLE_DPORT = (1 << 8),
  CT_DCCP_ROLE = (1 << 9)
}
 

Functions

void register_dccp (void)
 

Macro Definition Documentation

#define DCCP_OPT_MAX   13
#define DCCP_VALID_FLAGS_MAX   2
#define IPPROTO_DCCP   33

Enumeration Type Documentation

anonymous enum
Enumerator
CT_DCCP_ORIG_SPORT 
CT_DCCP_ORIG_DPORT 
CT_DCCP_REPL_SPORT 
CT_DCCP_REPL_DPORT 
CT_DCCP_MASK_SPORT 
CT_DCCP_MASK_DPORT 
CT_DCCP_STATE 
CT_DCCP_EXPTUPLE_SPORT 
CT_DCCP_EXPTUPLE_DPORT 
CT_DCCP_ROLE 

Function Documentation

void register_dccp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: