Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
packet_sock Struct Reference

#include <internal.h>

Data Fields

struct sock sk
 
struct packet_fanoutfanout
 
struct tpacket_stats stats
 
union tpacket_stats_u stats_u
 
struct packet_ring_buffer rx_ring
 
struct packet_ring_buffer tx_ring
 
int copy_thresh
 
spinlock_t bind_lock
 
struct mutex pg_vec_lock
 
unsigned int running:1
 
unsigned int auxdata:1
 
unsigned int origdev:1
 
unsigned int has_vnet_hdr:1
 
int ifindex
 
__be16 num
 
struct packet_mclistmclist
 
atomic_t mapped
 
enum tpacket_versions tp_version
 
unsigned int tp_hdrlen
 
unsigned int tp_reserve
 
unsigned int tp_loss:1
 
unsigned int tp_tstamp
 
struct packet_type prot_hook ____cacheline_aligned_in_smp
 

Detailed Description

Definition at line 89 of file internal.h.

Field Documentation

struct packet_type prot_hook ____cacheline_aligned_in_smp

Definition at line 113 of file internal.h.

unsigned int auxdata

Definition at line 100 of file internal.h.

spinlock_t bind_lock

Definition at line 98 of file internal.h.

int copy_thresh

Definition at line 97 of file internal.h.

Definition at line 92 of file internal.h.

unsigned int has_vnet_hdr

Definition at line 100 of file internal.h.

int ifindex

Definition at line 104 of file internal.h.

atomic_t mapped

Definition at line 107 of file internal.h.

Definition at line 106 of file internal.h.

__be16 num

Definition at line 105 of file internal.h.

unsigned int origdev

Definition at line 100 of file internal.h.

struct mutex pg_vec_lock

Definition at line 99 of file internal.h.

unsigned int running

Definition at line 100 of file internal.h.

Definition at line 95 of file internal.h.

Definition at line 91 of file internal.h.

Definition at line 93 of file internal.h.

union tpacket_stats_u stats_u

Definition at line 94 of file internal.h.

unsigned int tp_hdrlen

Definition at line 109 of file internal.h.

unsigned int tp_loss

Definition at line 111 of file internal.h.

unsigned int tp_reserve

Definition at line 110 of file internal.h.

unsigned int tp_tstamp

Definition at line 112 of file internal.h.

enum tpacket_versions tp_version

Definition at line 108 of file internal.h.

Definition at line 96 of file internal.h.


The documentation for this struct was generated from the following file: