netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libipt_SNAT.c File Reference
#include <stdio.h>
#include <netdb.h>
#include <string.h>
#include <stdlib.h>
#include <xtables.h>
#include <iptables.h>
#include <limits.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter/nf_nat.h>
Include dependency graph for libipt_SNAT.c:

Data Structures

struct  ipt_natinfo
 

Enumerations

enum  {
  O_TO_SRC = 0,
  O_RANDOM,
  O_RANDOM_FULLY,
  O_PERSISTENT,
  O_X_TO_SRC,
  F_TO_SRC = 1 << O_TO_SRC,
  F_RANDOM = 1 << O_RANDOM,
  F_RANDOM_FULLY = 1 << O_RANDOM_FULLY,
  F_X_TO_SRC = 1 << O_X_TO_SRC
}
 

Functions

void _init (void)
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_TO_SRC 
O_RANDOM 
O_RANDOM_FULLY 
O_PERSISTENT 
O_X_TO_SRC 
F_TO_SRC 
F_RANDOM 
F_RANDOM_FULLY 
F_X_TO_SRC 

Function Documentation

void _init ( void  )

References xtables_register_target().

Here is the call graph for this function: