netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nfnetlink_log.h File Reference
#include <linux/types.h>
#include <linux/netfilter/nfnetlink.h>
Include dependency graph for nfnetlink_log.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  nfulnl_msg_packet_hdr
 
struct  nfulnl_msg_packet_hw
 
struct  nfulnl_msg_packet_timestamp
 
struct  nfulnl_msg_config_cmd
 
struct  nfulnl_msg_config_mode
 

Macros

#define aligned_be64   u_int64_t __attribute__((aligned(8)))
 
#define NFULA_MAX   (__NFULA_MAX - 1)
 
#define NFULA_CFG_MAX   (__NFULA_CFG_MAX -1)
 
#define NFULNL_COPY_NONE   0x00
 
#define NFULNL_COPY_META   0x01
 
#define NFULNL_COPY_PACKET   0x02
 
#define NFULNL_CFG_F_SEQ   0x0001
 
#define NFULNL_CFG_F_SEQ_GLOBAL   0x0002
 

Enumerations

enum  nfulnl_msg_types {
  NFULNL_MSG_PACKET,
  NFULNL_MSG_CONFIG,
  NFULNL_MSG_MAX,
  NFULNL_MSG_PACKET,
  NFULNL_MSG_CONFIG,
  NFULNL_MSG_MAX
}
 
enum  nfulnl_attr_type {
  NFULA_UNSPEC,
  NFULA_PACKET_HDR,
  NFULA_MARK,
  NFULA_TIMESTAMP,
  NFULA_IFINDEX_INDEV,
  NFULA_IFINDEX_OUTDEV,
  NFULA_IFINDEX_PHYSINDEV,
  NFULA_IFINDEX_PHYSOUTDEV,
  NFULA_HWADDR,
  NFULA_PAYLOAD,
  NFULA_PREFIX,
  NFULA_UID,
  NFULA_SEQ,
  NFULA_SEQ_GLOBAL,
  NFULA_GID,
  NFULA_HWTYPE,
  NFULA_HWHEADER,
  NFULA_HWLEN,
  __NFULA_MAX,
  NFULA_UNSPEC,
  NFULA_PACKET_HDR,
  NFULA_MARK,
  NFULA_TIMESTAMP,
  NFULA_IFINDEX_INDEV,
  NFULA_IFINDEX_OUTDEV,
  NFULA_IFINDEX_PHYSINDEV,
  NFULA_IFINDEX_PHYSOUTDEV,
  NFULA_HWADDR,
  NFULA_PAYLOAD,
  NFULA_PREFIX,
  NFULA_UID,
  NFULA_SEQ,
  NFULA_SEQ_GLOBAL,
  NFULA_GID,
  __NFULA_MAX
}
 
enum  nfulnl_msg_config_cmds {
  NFULNL_CFG_CMD_NONE,
  NFULNL_CFG_CMD_BIND,
  NFULNL_CFG_CMD_UNBIND,
  NFULNL_CFG_CMD_PF_BIND,
  NFULNL_CFG_CMD_PF_UNBIND,
  NFULNL_CFG_CMD_NONE,
  NFULNL_CFG_CMD_BIND,
  NFULNL_CFG_CMD_UNBIND,
  NFULNL_CFG_CMD_PF_BIND,
  NFULNL_CFG_CMD_PF_UNBIND
}
 
enum  nfulnl_attr_config {
  NFULA_CFG_UNSPEC,
  NFULA_CFG_CMD,
  NFULA_CFG_MODE,
  NFULA_CFG_NLBUFSIZ,
  NFULA_CFG_TIMEOUT,
  NFULA_CFG_QTHRESH,
  NFULA_CFG_FLAGS,
  __NFULA_CFG_MAX,
  NFULA_CFG_UNSPEC,
  NFULA_CFG_CMD,
  NFULA_CFG_MODE,
  NFULA_CFG_NLBUFSIZ,
  NFULA_CFG_TIMEOUT,
  NFULA_CFG_QTHRESH,
  NFULA_CFG_FLAGS,
  __NFULA_CFG_MAX
}
 

Functions

struct nfulnl_msg_config_cmd __attribute__ ((packed))
 

Variables

u_int8_t command
 
__be32 copy_range
 
u_int8_t copy_mode
 
u_int8_t _pad
 
enum nfulnl_attr_config __attribute__
 

Macro Definition Documentation

#define aligned_be64   u_int64_t __attribute__((aligned(8)))
#define NFULA_CFG_MAX   (__NFULA_CFG_MAX -1)
#define NFULA_MAX   (__NFULA_MAX - 1)
#define NFULNL_CFG_F_SEQ   0x0001
#define NFULNL_CFG_F_SEQ_GLOBAL   0x0002
#define NFULNL_COPY_META   0x01
#define NFULNL_COPY_NONE   0x00
#define NFULNL_COPY_PACKET   0x02

Enumeration Type Documentation

Enumerator
NFULA_CFG_UNSPEC 
NFULA_CFG_CMD 
NFULA_CFG_MODE 
NFULA_CFG_NLBUFSIZ 
NFULA_CFG_TIMEOUT 
NFULA_CFG_QTHRESH 
NFULA_CFG_FLAGS 
__NFULA_CFG_MAX 
NFULA_CFG_UNSPEC 
NFULA_CFG_CMD 
NFULA_CFG_MODE 
NFULA_CFG_NLBUFSIZ 
NFULA_CFG_TIMEOUT 
NFULA_CFG_QTHRESH 
NFULA_CFG_FLAGS 
__NFULA_CFG_MAX 
Enumerator
NFULA_UNSPEC 
NFULA_PACKET_HDR 
NFULA_MARK 
NFULA_TIMESTAMP 
NFULA_IFINDEX_INDEV 
NFULA_IFINDEX_OUTDEV 
NFULA_IFINDEX_PHYSINDEV 
NFULA_IFINDEX_PHYSOUTDEV 
NFULA_HWADDR 
NFULA_PAYLOAD 
NFULA_PREFIX 
NFULA_UID 
NFULA_SEQ 
NFULA_SEQ_GLOBAL 
NFULA_GID 
NFULA_HWTYPE 
NFULA_HWHEADER 
NFULA_HWLEN 
__NFULA_MAX 
NFULA_UNSPEC 
NFULA_PACKET_HDR 
NFULA_MARK 
NFULA_TIMESTAMP 
NFULA_IFINDEX_INDEV 
NFULA_IFINDEX_OUTDEV 
NFULA_IFINDEX_PHYSINDEV 
NFULA_IFINDEX_PHYSOUTDEV 
NFULA_HWADDR 
NFULA_PAYLOAD 
NFULA_PREFIX 
NFULA_UID 
NFULA_SEQ 
NFULA_SEQ_GLOBAL 
NFULA_GID 
__NFULA_MAX 
Enumerator
NFULNL_CFG_CMD_NONE 
NFULNL_CFG_CMD_BIND 
NFULNL_CFG_CMD_UNBIND 
NFULNL_CFG_CMD_PF_BIND 
NFULNL_CFG_CMD_PF_UNBIND 
NFULNL_CFG_CMD_NONE 
NFULNL_CFG_CMD_BIND 
NFULNL_CFG_CMD_UNBIND 
NFULNL_CFG_CMD_PF_BIND 
NFULNL_CFG_CMD_PF_UNBIND 
Enumerator
NFULNL_MSG_PACKET 
NFULNL_MSG_CONFIG 
NFULNL_MSG_MAX 
NFULNL_MSG_PACKET 
NFULNL_MSG_CONFIG 
NFULNL_MSG_MAX 

Function Documentation

struct nfulnl_msg_config_cmd __attribute__ ( (packed)  )

Variable Documentation

enum nfulnl_attr_config __attribute__
u_int8_t _pad
u_int8_t command
u_int8_t copy_mode
__be32 copy_range