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

Go to the source code of this file.

Data Structures

struct  packet_diag_req
 
struct  packet_diag_msg
 
struct  packet_diag_info
 
struct  packet_diag_mclist
 
struct  packet_diag_ring
 

Macros

#define PACKET_SHOW_INFO   0x00000001 /* Basic packet_sk information */
 
#define PACKET_SHOW_MCLIST   0x00000002 /* A set of packet_diag_mclist-s */
 
#define PACKET_SHOW_RING_CFG   0x00000004 /* Rings configuration parameters */
 
#define PACKET_SHOW_FANOUT   0x00000008
 
#define PDI_RUNNING   0x1
 
#define PDI_AUXDATA   0x2
 
#define PDI_ORIGDEV   0x4
 
#define PDI_VNETHDR   0x8
 
#define PDI_LOSS   0x10
 

Enumerations

enum  {
  PACKET_DIAG_INFO, PACKET_DIAG_MCLIST, PACKET_DIAG_RX_RING, PACKET_DIAG_TX_RING,
  PACKET_DIAG_FANOUT, PACKET_DIAG_MAX
}
 

Macro Definition Documentation

#define PACKET_SHOW_FANOUT   0x00000008

Definition at line 18 of file packet_diag.h.

#define PACKET_SHOW_INFO   0x00000001 /* Basic packet_sk information */

Definition at line 15 of file packet_diag.h.

#define PACKET_SHOW_MCLIST   0x00000002 /* A set of packet_diag_mclist-s */

Definition at line 16 of file packet_diag.h.

#define PACKET_SHOW_RING_CFG   0x00000004 /* Rings configuration parameters */

Definition at line 17 of file packet_diag.h.

#define PDI_AUXDATA   0x2

Definition at line 48 of file packet_diag.h.

#define PDI_LOSS   0x10

Definition at line 51 of file packet_diag.h.

#define PDI_ORIGDEV   0x4

Definition at line 49 of file packet_diag.h.

#define PDI_RUNNING   0x1

Definition at line 47 of file packet_diag.h.

#define PDI_VNETHDR   0x8

Definition at line 50 of file packet_diag.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
PACKET_DIAG_INFO 
PACKET_DIAG_MCLIST 
PACKET_DIAG_RX_RING 
PACKET_DIAG_TX_RING 
PACKET_DIAG_FANOUT 
PACKET_DIAG_MAX 

Definition at line 29 of file packet_diag.h.