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

Data Structures

struct  nf_dn_rtmsg
 

Macros

#define NFC_DN_SRC   0x0001
 
#define NFC_DN_DST   0x0002
 
#define NFC_DN_IF_IN   0x0004
 
#define NFC_DN_IF_OUT   0x0008
 
#define NF_DN_PRE_ROUTING   0
 
#define NF_DN_LOCAL_IN   1
 
#define NF_DN_FORWARD   2
 
#define NF_DN_LOCAL_OUT   3
 
#define NF_DN_POST_ROUTING   4
 
#define NF_DN_HELLO   5
 
#define NF_DN_ROUTE   6
 
#define NF_DN_NUMHOOKS   7
 
#define NFDN_RTMSG(r)   ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg)))
 
#define DNRMG_L1_GROUP   0x01
 
#define DNRMG_L2_GROUP   0x02
 
#define DNRNG_NLGRP_NONE   DNRNG_NLGRP_NONE
 
#define DNRNG_NLGRP_L1   DNRNG_NLGRP_L1
 
#define DNRNG_NLGRP_L2   DNRNG_NLGRP_L2
 
#define DNRNG_NLGRP_MAX   (__DNRNG_NLGRP_MAX - 1)
 

Enumerations

enum  nf_dn_hook_priorities {
  NF_DN_PRI_FIRST = INT_MIN,
  NF_DN_PRI_CONNTRACK = -200,
  NF_DN_PRI_MANGLE = -150,
  NF_DN_PRI_NAT_DST = -100,
  NF_DN_PRI_FILTER = 0,
  NF_DN_PRI_NAT_SRC = 100,
  NF_DN_PRI_DNRTMSG = 200,
  NF_DN_PRI_LAST = INT_MAX
}
 
enum  {
  DNRNG_NLGRP_NONE,
  DNRNG_NLGRP_NONE,
  DNRNG_NLGRP_L1,
  DNRNG_NLGRP_L1,
  DNRNG_NLGRP_L2,
  DNRNG_NLGRP_L2,
  __DNRNG_NLGRP_MAX
}
 

Macro Definition Documentation

#define DNRMG_L1_GROUP   0x01
#define DNRMG_L2_GROUP   0x02
#define DNRNG_NLGRP_L1   DNRNG_NLGRP_L1
#define DNRNG_NLGRP_L2   DNRNG_NLGRP_L2
#define DNRNG_NLGRP_MAX   (__DNRNG_NLGRP_MAX - 1)
#define DNRNG_NLGRP_NONE   DNRNG_NLGRP_NONE
#define NF_DN_FORWARD   2
#define NF_DN_HELLO   5
#define NF_DN_LOCAL_IN   1
#define NF_DN_LOCAL_OUT   3
#define NF_DN_NUMHOOKS   7
#define NF_DN_POST_ROUTING   4
#define NF_DN_PRE_ROUTING   0
#define NF_DN_ROUTE   6
#define NFC_DN_DST   0x0002
#define NFC_DN_IF_IN   0x0004
#define NFC_DN_IF_OUT   0x0008
#define NFC_DN_SRC   0x0001
#define NFDN_RTMSG (   r)    ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg)))

Enumeration Type Documentation

anonymous enum
Enumerator
DNRNG_NLGRP_NONE 
DNRNG_NLGRP_NONE 
DNRNG_NLGRP_L1 
DNRNG_NLGRP_L1 
DNRNG_NLGRP_L2 
DNRNG_NLGRP_L2 
__DNRNG_NLGRP_MAX 
Enumerator
NF_DN_PRI_FIRST 
NF_DN_PRI_CONNTRACK 
NF_DN_PRI_MANGLE 
NF_DN_PRI_NAT_DST 
NF_DN_PRI_FILTER 
NF_DN_PRI_NAT_SRC 
NF_DN_PRI_DNRTMSG 
NF_DN_PRI_LAST