ReactOS 0.4.16-dev-321-g63bb46a
sk_buff Struct Reference

#include <tcpcore.h>

Collaboration diagram for sk_buff:

Public Attributes

struct sk_buffnext
 
struct sk_buffprev
 
struct sk_buff_headlist
 
struct socksk
 
struct timeval stamp
 
struct net_device * dev
 
union {
   struct tcphdr *   th
 
   struct udphdr *   uh
 
   struct icmphdr *   icmph
 
   struct igmphdr *   igmph
 
   struct iphdr *   ipiph
 
   struct spxhdr *   spxh
 
   unsigned char *   raw
 
h
 
union {
   struct iphdr *   iph
 
   struct ipv6hdr *   ipv6h
 
   struct arphdr *   arph
 
   struct ipxhdr *   ipxh
 
   unsigned char *   raw
 
nh
 
union {
   struct ethhdr *   ethernet
 
   unsigned char *   raw
 
mac
 
struct dst_entrydst
 
char cb [48]
 
unsigned int len
 
unsigned int data_len
 
unsigned int csum
 
unsigned char __unused
 
unsigned char cloned
 
unsigned char pkt_type
 
unsigned char ip_summed
 
__u32 priority
 
atomic_t users
 
unsigned short protocol
 
unsigned short security
 
unsigned int truesize
 
unsigned charhead
 
unsigned chardata
 
unsigned chartail
 
unsigned charend
 
void(* destructor )(struct sk_buff *)
 

Detailed Description

Definition at line 139 of file tcpcore.h.

Member Data Documentation

◆ __unused

unsigned char sk_buff::__unused

Definition at line 191 of file tcpcore.h.

◆ arph

struct arphdr* sk_buff::arph

Definition at line 166 of file tcpcore.h.

◆ cb

char sk_buff::cb[48]

Definition at line 186 of file tcpcore.h.

◆ cloned

unsigned char sk_buff::cloned

Definition at line 192 of file tcpcore.h.

Referenced by skb_cloned().

◆ csum

unsigned int sk_buff::csum

Definition at line 190 of file tcpcore.h.

◆ data

unsigned char* sk_buff::data

◆ data_len

unsigned int sk_buff::data_len

Definition at line 189 of file tcpcore.h.

Referenced by __pskb_trim(), __skb_pull(), __skb_trim(), skb_headlen(), and skb_is_nonlinear().

◆ destructor

void(* sk_buff::destructor) (struct sk_buff *)

Definition at line 206 of file tcpcore.h.

Referenced by skb_orphan().

◆ dev

struct net_device* sk_buff::dev

Definition at line 147 of file tcpcore.h.

◆ dst

struct dst_entry* sk_buff::dst

Definition at line 178 of file tcpcore.h.

◆ end

unsigned char* sk_buff::end

Definition at line 204 of file tcpcore.h.

Referenced by skb_put(), and skb_tailroom().

◆ ethernet

struct ethhdr* sk_buff::ethernet

Definition at line 174 of file tcpcore.h.

◆ 

union { ... } sk_buff::h

◆ head

unsigned char* sk_buff::head

Definition at line 201 of file tcpcore.h.

Referenced by skb_headroom(), and skb_push().

◆ icmph

struct icmphdr* sk_buff::icmph

Definition at line 154 of file tcpcore.h.

◆ igmph

struct igmphdr* sk_buff::igmph

Definition at line 155 of file tcpcore.h.

◆ ip_summed

unsigned char sk_buff::ip_summed

Definition at line 194 of file tcpcore.h.

◆ iph

struct iphdr* sk_buff::iph

Definition at line 164 of file tcpcore.h.

◆ ipiph

struct iphdr* sk_buff::ipiph

Definition at line 156 of file tcpcore.h.

◆ ipv6h

struct ipv6hdr* sk_buff::ipv6h

Definition at line 165 of file tcpcore.h.

◆ ipxh

struct ipxhdr* sk_buff::ipxh

Definition at line 167 of file tcpcore.h.

◆ len

◆ list

◆ 

union { ... } sk_buff::mac

◆ next

struct sk_buff* sk_buff::next

◆ 

union { ... } sk_buff::nh

◆ pkt_type

unsigned char sk_buff::pkt_type

Definition at line 193 of file tcpcore.h.

◆ prev

struct sk_buff* sk_buff::prev

◆ priority

__u32 sk_buff::priority

Definition at line 195 of file tcpcore.h.

◆ protocol

unsigned short sk_buff::protocol

Definition at line 197 of file tcpcore.h.

◆ raw

unsigned char* sk_buff::raw

Definition at line 158 of file tcpcore.h.

◆ security

unsigned short sk_buff::security

Definition at line 198 of file tcpcore.h.

◆ sk

◆ spxh

struct spxhdr* sk_buff::spxh

Definition at line 157 of file tcpcore.h.

◆ stamp

struct timeval sk_buff::stamp

Definition at line 146 of file tcpcore.h.

◆ tail

unsigned char* sk_buff::tail

Definition at line 203 of file tcpcore.h.

Referenced by __pskb_trim(), __skb_put(), __skb_trim(), skb_put(), skb_reserve(), and skb_tailroom().

◆ th

struct tcphdr* sk_buff::th

Definition at line 152 of file tcpcore.h.

◆ truesize

unsigned int sk_buff::truesize

Definition at line 199 of file tcpcore.h.

Referenced by tcp_alloc_skb(), and tcp_mem_reclaim().

◆ uh

struct udphdr* sk_buff::uh

Definition at line 153 of file tcpcore.h.

◆ users

atomic_t sk_buff::users

Definition at line 196 of file tcpcore.h.

Referenced by kfree_skb(), kfree_skb_fast(), skb_get(), and skb_shared().


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