netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libct_proto_udp.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_udp.c:

Macros

#define UDP_NUMBER_OF_OPT   9
 
#define UDP_VALID_FLAGS_MAX   2
 

Enumerations

enum  {
  CT_UDP_ORIG_SPORT = (1 << 0),
  CT_UDP_ORIG_DPORT = (1 << 1),
  CT_UDP_REPL_SPORT = (1 << 2),
  CT_UDP_REPL_DPORT = (1 << 3),
  CT_UDP_MASK_SPORT = (1 << 4),
  CT_UDP_MASK_DPORT = (1 << 5),
  CT_UDP_EXPTUPLE_SPORT = (1 << 6),
  CT_UDP_EXPTUPLE_DPORT = (1 << 7)
}
 

Functions

void register_udp (void)
 

Macro Definition Documentation

#define UDP_NUMBER_OF_OPT   9
#define UDP_VALID_FLAGS_MAX   2

Enumeration Type Documentation

anonymous enum
Enumerator
CT_UDP_ORIG_SPORT 
CT_UDP_ORIG_DPORT 
CT_UDP_REPL_SPORT 
CT_UDP_REPL_DPORT 
CT_UDP_MASK_SPORT 
CT_UDP_MASK_DPORT 
CT_UDP_EXPTUPLE_SPORT 
CT_UDP_EXPTUPLE_DPORT 

Function Documentation

void register_udp ( void  )

References register_proto().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: