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

Data Structures

struct  xt_mark_target_info
 
struct  xt_mark_target_info_v1
 

Enumerations

enum  {
  XT_MARK_SET =0,
  XT_MARK_AND,
  XT_MARK_OR
}
 
enum  {
  O_SET_MARK = 0,
  O_AND_MARK,
  O_OR_MARK,
  O_XOR_MARK,
  O_SET_XMARK,
  F_SET_MARK = 1 << O_SET_MARK,
  F_AND_MARK = 1 << O_AND_MARK,
  F_OR_MARK = 1 << O_OR_MARK,
  F_XOR_MARK = 1 << O_XOR_MARK,
  F_SET_XMARK = 1 << O_SET_XMARK,
  F_ANY
}
 

Functions

void _init (void)
 

Enumeration Type Documentation

anonymous enum
Enumerator
XT_MARK_SET 
XT_MARK_AND 
XT_MARK_OR 
anonymous enum
Enumerator
O_SET_MARK 
O_AND_MARK 
O_OR_MARK 
O_XOR_MARK 
O_SET_XMARK 
F_SET_MARK 
F_AND_MARK 
F_OR_MARK 
F_XOR_MARK 
F_SET_XMARK 
F_ANY 

Function Documentation

void _init ( void  )

References ARRAY_SIZE, and xtables_register_targets().

Here is the call graph for this function: