STRUCT SK_BUFF(9) | Linux Networking | STRUCT SK_BUFF(9) |
NAME¶
struct_sk_buff - socket buffer
SYNOPSIS¶
struct sk_buff { #ifdef __GENKSYMS__
struct sk_buff * next;
struct sk_buff * prev;
struct sock * sk; #else
union {unnamed_union};
__u16 vlan_tci; #ifndef __GENKSYMS__ #endif
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 char * head;
unsigned char * data;
unsigned int truesize;
atomic_t users; };
MEMBERS¶
next
Next buffer in list
prev
Previous buffer in list
sk
Socket we are owned by
{unnamed_union}
anonymous
vlan_tci
vlan tag control information
transport_header
Transport layer header
network_header
Network layer header
mac_header
Link layer header
tail
Tail pointer
end
End pointer
head
Head of buffer
data
Data head pointer
truesize
Buffer size
users
User count - see {datagram,tcp}.c
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |