Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
netfilter_decnet.h File Reference
#include <linux/netfilter.h>
#include <limits.h>

Go to the source code of this file.

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

Definition at line 64 of file netfilter_decnet.h.

#define DNRMG_L2_GROUP   0x02

Definition at line 65 of file netfilter_decnet.h.

#define DNRNG_NLGRP_L1   DNRNG_NLGRP_L1

Definition at line 72 of file netfilter_decnet.h.

#define DNRNG_NLGRP_L2   DNRNG_NLGRP_L2

Definition at line 74 of file netfilter_decnet.h.

#define DNRNG_NLGRP_MAX   (__DNRNG_NLGRP_MAX - 1)

Definition at line 77 of file netfilter_decnet.h.

#define DNRNG_NLGRP_NONE   DNRNG_NLGRP_NONE

Definition at line 70 of file netfilter_decnet.h.

#define NF_DN_FORWARD   2

Definition at line 34 of file netfilter_decnet.h.

#define NF_DN_HELLO   5

Definition at line 40 of file netfilter_decnet.h.

#define NF_DN_LOCAL_IN   1

Definition at line 32 of file netfilter_decnet.h.

#define NF_DN_LOCAL_OUT   3

Definition at line 36 of file netfilter_decnet.h.

#define NF_DN_NUMHOOKS   7

Definition at line 43 of file netfilter_decnet.h.

#define NF_DN_POST_ROUTING   4

Definition at line 38 of file netfilter_decnet.h.

#define NF_DN_PRE_ROUTING   0

Definition at line 30 of file netfilter_decnet.h.

#define NF_DN_ROUTE   6

Definition at line 42 of file netfilter_decnet.h.

#define NFC_DN_DST   0x0002

Definition at line 21 of file netfilter_decnet.h.

#define NFC_DN_IF_IN   0x0004

Definition at line 23 of file netfilter_decnet.h.

#define NFC_DN_IF_OUT   0x0008

Definition at line 25 of file netfilter_decnet.h.

#define NFC_DN_SRC   0x0001

Definition at line 19 of file netfilter_decnet.h.

#define NFDN_RTMSG (   r)    ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg)))

Definition at line 60 of file netfilter_decnet.h.

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 

Definition at line 68 of file netfilter_decnet.h.

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 

Definition at line 45 of file netfilter_decnet.h.