struct sk_buff

Name

struct sk_buff --  socket buffer

Synopsis

struct sk_buff {
  struct sk_buff  * next;
  struct sk_buff  * prev;
  struct sk_buff_head * list;
  struct sock  * sk;
  struct timeval  stamp;
  struct net_device * dev;
  struct net_device * real_dev;
  union private;
  #endif#ifdef CONFIG_NET_SCHED__u32   tc_index;
  #endifunsigned int  truesize;
  atomic_t users;
};  

Members

next

Next buffer in list

prev

Previous buffer in list

list

List we are on

sk

Socket we are owned by

stamp

Time we arrived

dev

Device we arrived on/are leaving by

real_dev

The real device we are using

private

Data which is private to the HIPPI implementation

tc_index

Traffic control index

truesize

Buffer size

users

User count - see {datagram,tcp}.c