netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libxt_policy.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <netdb.h>
#include <xtables.h>
#include <linux/netfilter/xt_policy.h>
Include dependency graph for libxt_policy.c:

Macros

#define PRINT_INVERT(x)
 

Enumerations

enum  {
  O_DIRECTION = 0,
  O_POLICY,
  O_STRICT,
  O_REQID,
  O_SPI,
  O_PROTO,
  O_MODE,
  O_TUNNELSRC,
  O_TUNNELDST,
  O_NEXT,
  F_STRICT = 1 << O_STRICT
}
 

Functions

void _init (void)
 

Macro Definition Documentation

#define PRINT_INVERT (   x)
Value:
do { \
if (x) \
printf(" !"); \
} while(0)

Enumeration Type Documentation

anonymous enum
Enumerator
O_DIRECTION 
O_POLICY 
O_STRICT 
O_REQID 
O_SPI 
O_PROTO 
O_MODE 
O_TUNNELSRC 
O_TUNNELDST 
O_NEXT 
F_STRICT 

Function Documentation

void _init ( void  )

References ARRAY_SIZE, and xtables_register_matches().

Here is the call graph for this function: