Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
sk_buff Struct Reference

#include <skbuff.h>

Public Member Functions

char cb[48] __aligned (8)
 
 kmemcheck_bitfield_begin (flags1)
 
 kmemcheck_bitfield_end (flags1)
 
 kmemcheck_bitfield_begin (flags2)
 
 kmemcheck_bitfield_end (flags2)
 

Data Fields

struct sk_buffnext
 
struct sk_buffprev
 
ktime_t tstamp
 
struct socksk
 
struct net_devicedev
 
unsigned long _skb_refdst
 
unsigned int len
 
unsigned int data_len
 
__u16 mac_len
 
__u16 hdr_len
 
union {
   __wsum   csum
 
   struct {
      __u16   csum_start
 
      __u16   csum_offset
 
   } 
 
}; 
 
__u32 priority
 
__u8 local_df:1
 
__u8 cloned:1
 
__u8 ip_summed:2
 
__u8 nohdr:1
 
__u8 nfctinfo:3
 
__u8 pkt_type:3
 
__u8 fclone:2
 
__u8 ipvs_property:1
 
__u8 peeked:1
 
__u8 nf_trace:1
 
__be16 protocol
 
void(* destructor )(struct sk_buff *skb)
 
int skb_iif
 
__u32 rxhash
 
__u16 vlan_tci
 
__u16 queue_mapping
 
__u8 pfmemalloc:1
 
__u8 ooo_okay:1
 
__u8 l4_rxhash:1
 
__u8 wifi_acked_valid:1
 
__u8 wifi_acked:1
 
__u8 no_fcs:1
 
__u8 head_frag:1
 
union {
   __u32   mark
 
   __u32   dropcount
 
   __u32   avail_size
 
}; 
 
sk_buff_data_t transport_header
 
sk_buff_data_t network_header
 
sk_buff_data_t mac_header
 
sk_buff_data_t tail
 
sk_buff_data_t end
 
unsigned charhead
 
unsigned chardata
 
unsigned int truesize
 
atomic_t users
 

Detailed Description

Definition at line 388 of file skbuff.h.

Member Function Documentation

char cb [48] __aligned ( )
kmemcheck_bitfield_begin ( flags1  )
kmemcheck_bitfield_begin ( flags2  )
kmemcheck_bitfield_end ( flags1  )
kmemcheck_bitfield_end ( flags2  )

Field Documentation

union { ... }
union { ... }
unsigned long _skb_refdst

Definition at line 406 of file skbuff.h.

__u32 avail_size

Definition at line 484 of file skbuff.h.

__u8 cloned

Definition at line 423 of file skbuff.h.

__wsum csum

Definition at line 415 of file skbuff.h.

__u16 csum_offset

Definition at line 418 of file skbuff.h.

__u16 csum_start

Definition at line 417 of file skbuff.h.

unsigned char * data

Definition at line 493 of file skbuff.h.

unsigned int data_len

Definition at line 410 of file skbuff.h.

void(* destructor)(struct sk_buff *skb)

Definition at line 436 of file skbuff.h.

Definition at line 396 of file skbuff.h.

__u32 dropcount

Definition at line 483 of file skbuff.h.

Definition at line 492 of file skbuff.h.

__u8 fclone

Definition at line 428 of file skbuff.h.

__u16 hdr_len

Definition at line 412 of file skbuff.h.

unsigned char* head

Definition at line 493 of file skbuff.h.

__u8 head_frag

Definition at line 471 of file skbuff.h.

__u8 ip_summed

Definition at line 423 of file skbuff.h.

__u8 ipvs_property

Definition at line 428 of file skbuff.h.

__u8 l4_rxhash

Definition at line 467 of file skbuff.h.

unsigned int len

Definition at line 410 of file skbuff.h.

__u8 local_df

Definition at line 423 of file skbuff.h.

Definition at line 489 of file skbuff.h.

__u16 mac_len

Definition at line 412 of file skbuff.h.

__u32 mark

Definition at line 482 of file skbuff.h.

sk_buff_data_t network_header

Definition at line 488 of file skbuff.h.

struct sk_buff* next

Definition at line 390 of file skbuff.h.

__u8 nf_trace

Definition at line 428 of file skbuff.h.

__u8 nfctinfo

Definition at line 423 of file skbuff.h.

__u8 no_fcs

Definition at line 470 of file skbuff.h.

__u8 nohdr

Definition at line 423 of file skbuff.h.

__u8 ooo_okay

Definition at line 466 of file skbuff.h.

__u8 peeked

Definition at line 428 of file skbuff.h.

__u8 pfmemalloc

Definition at line 465 of file skbuff.h.

__u8 pkt_type

Definition at line 428 of file skbuff.h.

struct sk_buff* prev

Definition at line 391 of file skbuff.h.

__u32 priority

Definition at line 421 of file skbuff.h.

Definition at line 434 of file skbuff.h.

__u16 queue_mapping

Definition at line 460 of file skbuff.h.

__u32 rxhash

Definition at line 449 of file skbuff.h.

struct sock* sk

Definition at line 395 of file skbuff.h.

int skb_iif

Definition at line 447 of file skbuff.h.

Definition at line 491 of file skbuff.h.

sk_buff_data_t transport_header

Definition at line 487 of file skbuff.h.

unsigned int truesize

Definition at line 495 of file skbuff.h.

ktime_t tstamp

Definition at line 393 of file skbuff.h.

atomic_t users

Definition at line 496 of file skbuff.h.

__u16 vlan_tci

Definition at line 451 of file skbuff.h.

__u8 wifi_acked

Definition at line 469 of file skbuff.h.

__u8 wifi_acked_valid

Definition at line 468 of file skbuff.h.


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