Scroll to navigation

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;
ktime_t tstamp; #else
union {unnamed_union}; #endif
__u16 inner_transport_header;
__u16 inner_network_header;
__u16 inner_mac_header;
__u16 transport_header;
__u16 network_header;
__u16 mac_header;
sk_buff_data_t tail;
sk_buff_data_t end;
unsigned int truesize;
atomic_t users; };

MEMBERS

next

Next buffer in list

prev

Previous buffer in list

tstamp

Time we arrived/left

{unnamed_union}

anonymous

inner_transport_header

Inner transport layer header (encapsulation)

inner_network_header

Network layer header (encapsulation)

inner_mac_header

Link layer header (encapsulation)

transport_header

Transport layer header

network_header

Network layer header

mac_header

Link layer header

tail

Tail pointer

end

End pointer

truesize

Buffer size

users

User count - see {datagram,tcp}.c

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10