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

Macros

#define s   struct xt_recent_mtinfo
 
#define s   struct xt_recent_mtinfo_v1
 

Enumerations

enum  {
  O_SET = 0,
  O_RCHECK,
  O_UPDATE,
  O_REMOVE,
  O_SECONDS,
  O_REAP,
  O_HITCOUNT,
  O_RTTL,
  O_NAME,
  O_RSOURCE,
  O_RDEST,
  O_MASK,
  F_SET = 1 << O_SET,
  F_RCHECK = 1 << O_RCHECK,
  F_UPDATE = 1 << O_UPDATE,
  F_REMOVE = 1 << O_REMOVE,
  F_SECONDS = 1 << O_SECONDS,
  F_ANY_OP = F_SET | F_RCHECK | F_UPDATE | F_REMOVE
}
 
enum  {
  XT_RECENT_REV_0 = 0,
  XT_RECENT_REV_1
}
 

Functions

void _init (void)
 

Macro Definition Documentation

#define s   struct xt_recent_mtinfo
#define s   struct xt_recent_mtinfo_v1

Enumeration Type Documentation

anonymous enum
Enumerator
O_SET 
O_RCHECK 
O_UPDATE 
O_REMOVE 
O_SECONDS 
O_REAP 
O_HITCOUNT 
O_RTTL 
O_NAME 
O_RSOURCE 
O_RDEST 
O_MASK 
F_SET 
F_RCHECK 
F_UPDATE 
F_REMOVE 
F_SECONDS 
F_ANY_OP 
anonymous enum
Enumerator
XT_RECENT_REV_0 
XT_RECENT_REV_1 

Function Documentation

void _init ( void  )

References ARRAY_SIZE, and xtables_register_matches().

Here is the call graph for this function: