libpcap  1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
  Fossies Dox: libpcap-1.10.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

nflog.h File Reference
Include dependency graph for nflog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nflog_hdr
 
struct  nflog_tlv
 
struct  nflog_packet_hdr
 
struct  nflog_hwaddr
 
struct  nflog_timestamp
 

Macros

#define NFULA_PACKET_HDR   1 /* nflog_packet_hdr_t */
 
#define NFULA_MARK   2 /* packet mark from skbuff */
 
#define NFULA_TIMESTAMP   3 /* nflog_timestamp_t for skbuff's time stamp */
 
#define NFULA_IFINDEX_INDEV   4 /* ifindex of device on which packet received (possibly bridge group) */
 
#define NFULA_IFINDEX_OUTDEV   5 /* ifindex of device on which packet transmitted (possibly bridge group) */
 
#define NFULA_IFINDEX_PHYSINDEV   6 /* ifindex of physical device on which packet received (not bridge group) */
 
#define NFULA_IFINDEX_PHYSOUTDEV   7 /* ifindex of physical device on which packet transmitted (not bridge group) */
 
#define NFULA_HWADDR   8 /* nflog_hwaddr_t for hardware address */
 
#define NFULA_PAYLOAD   9 /* packet payload */
 
#define NFULA_PREFIX   10 /* text string - null-terminated, count includes NUL */
 
#define NFULA_UID   11 /* UID owning socket on which packet was sent/received */
 
#define NFULA_SEQ   12 /* sequence number of packets on this NFLOG socket */
 
#define NFULA_SEQ_GLOBAL   13 /* sequence number of pakets on all NFLOG sockets */
 
#define NFULA_GID   14 /* GID owning socket on which packet was sent/received */
 
#define NFULA_HWTYPE   15 /* ARPHRD_ type of skbuff's device */
 
#define NFULA_HWHEADER   16 /* skbuff's MAC-layer header */
 
#define NFULA_HWLEN   17 /* length of skbuff's MAC-layer header */
 

Typedefs

typedef struct nflog_hdr nflog_hdr_t
 
typedef struct nflog_tlv nflog_tlv_t
 
typedef struct nflog_packet_hdr nflog_packet_hdr_t
 
typedef struct nflog_hwaddr nflog_hwaddr_t
 
typedef struct nflog_timestamp nflog_timestamp_t
 

Macro Definition Documentation

◆ NFULA_GID

#define NFULA_GID   14 /* GID owning socket on which packet was sent/received */

Definition at line 89 of file nflog.h.

◆ NFULA_HWADDR

#define NFULA_HWADDR   8 /* nflog_hwaddr_t for hardware address */

Definition at line 83 of file nflog.h.

◆ NFULA_HWHEADER

#define NFULA_HWHEADER   16 /* skbuff's MAC-layer header */

Definition at line 91 of file nflog.h.

◆ NFULA_HWLEN

#define NFULA_HWLEN   17 /* length of skbuff's MAC-layer header */

Definition at line 92 of file nflog.h.

◆ NFULA_HWTYPE

#define NFULA_HWTYPE   15 /* ARPHRD_ type of skbuff's device */

Definition at line 90 of file nflog.h.

◆ NFULA_IFINDEX_INDEV

#define NFULA_IFINDEX_INDEV   4 /* ifindex of device on which packet received (possibly bridge group) */

Definition at line 79 of file nflog.h.

◆ NFULA_IFINDEX_OUTDEV

#define NFULA_IFINDEX_OUTDEV   5 /* ifindex of device on which packet transmitted (possibly bridge group) */

Definition at line 80 of file nflog.h.

◆ NFULA_IFINDEX_PHYSINDEV

#define NFULA_IFINDEX_PHYSINDEV   6 /* ifindex of physical device on which packet received (not bridge group) */

Definition at line 81 of file nflog.h.

◆ NFULA_IFINDEX_PHYSOUTDEV

#define NFULA_IFINDEX_PHYSOUTDEV   7 /* ifindex of physical device on which packet transmitted (not bridge group) */

Definition at line 82 of file nflog.h.

◆ NFULA_MARK

#define NFULA_MARK   2 /* packet mark from skbuff */

Definition at line 77 of file nflog.h.

◆ NFULA_PACKET_HDR

#define NFULA_PACKET_HDR   1 /* nflog_packet_hdr_t */

Definition at line 76 of file nflog.h.

◆ NFULA_PAYLOAD

#define NFULA_PAYLOAD   9 /* packet payload */

Definition at line 84 of file nflog.h.

◆ NFULA_PREFIX

#define NFULA_PREFIX   10 /* text string - null-terminated, count includes NUL */

Definition at line 85 of file nflog.h.

◆ NFULA_SEQ

#define NFULA_SEQ   12 /* sequence number of packets on this NFLOG socket */

Definition at line 87 of file nflog.h.

◆ NFULA_SEQ_GLOBAL

#define NFULA_SEQ_GLOBAL   13 /* sequence number of pakets on all NFLOG sockets */

Definition at line 88 of file nflog.h.

◆ NFULA_TIMESTAMP

#define NFULA_TIMESTAMP   3 /* nflog_timestamp_t for skbuff's time stamp */

Definition at line 78 of file nflog.h.

◆ NFULA_UID

#define NFULA_UID   11 /* UID owning socket on which packet was sent/received */

Definition at line 86 of file nflog.h.

Typedef Documentation

◆ nflog_hdr_t

typedef struct nflog_hdr nflog_hdr_t

◆ nflog_hwaddr_t

typedef struct nflog_hwaddr nflog_hwaddr_t

◆ nflog_packet_hdr_t

◆ nflog_timestamp_t

◆ nflog_tlv_t

typedef struct nflog_tlv nflog_tlv_t