netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
linux_nfnetlink_log.h File Reference
Include dependency graph for linux_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_u64   unsigned long long __attribute__((aligned(8)))
 
#define NFULNL_PREFIXLEN   30 /* just like old log target */
 
#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_packet_hdr __attribute__ ((packed))
 

Variables

u_int16_t hw_protocol
 
u_int8_t hook
 
u_int8_t _pad
 
u_int16_t hw_addrlen
 
u_int8_t hw_addr [8]
 
aligned_u64 sec
 
aligned_u64 usec
 
enum nfulnl_attr_type __attribute__
 
u_int8_t command
 
u_int32_t copy_range
 
u_int8_t copy_mode
 

Macro Definition Documentation

#define aligned_u64   unsigned long long __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

Referenced by main().

#define NFULNL_PREFIXLEN   30 /* just like old log target */

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_packet_hdr __attribute__ ( (packed)  )

Variable Documentation

enum nfulnl_attr_config __attribute__
u_int8_t _pad
u_int8_t command

Referenced by parse_commandline().

u_int8_t copy_mode
u_int32_t copy_range
u_int8_t hook
u_int8_t hw_addr[8]
u_int16_t hw_addrlen
u_int16_t hw_protocol

Referenced by nft_timer_add().

Referenced by nft_timer_add().