Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

__kfree_skb(9) [suse man page]

__KFREE_SKB(9)							 Linux Networking						    __KFREE_SKB(9)

NAME
__kfree_skb - private function SYNOPSIS
void __kfree_skb(struct sk_buff * skb); ARGUMENTS
skb buffer DESCRIPTION
Free an sk_buff. Release anything attached to the buffer. Clean the state. This is an internal helper function. Users should always call kfree_skb COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 __KFREE_SKB(9)

Check Out this Related Man Page

STRUCT 
SK_BUFF(9) Linux Networking STRUCT SK_BUFF(9) NAME
struct_sk_buff - socket buffer SYNOPSIS
struct sk_buff { struct sk_buff * next; struct sk_buff * prev; ktime_t tstamp; struct sock * sk; struct net_device * dev; char cb[48]; unsigned long _skb_dst; #ifdef CONFIG_XFRM struct sec_path * sp; #endif unsigned int len; unsigned int data_len; __u16 mac_len; __u16 hdr_len; union {unnamed_union}; __u16 vlan_tci; 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 tstamp Time we arrived sk Socket we are owned by dev Device we arrived on/are leaving by cb[48] Control buffer. Free for use by every layer. Put private vars here _skb_dst destination entry sp the security path, used for xfrm len Length of actual data data_len Data length mac_len Length of link layer header hdr_len writable header length of cloned skb {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
Kernel Hackers Manual 2.6. July 2010 STRUCT SK_BUFF(9)
Man Page

3 More Discussions You Might Find Interesting

1. Programming

Compiling virtual network adapter driver problem (net_device struct)

Hi, I found on linuxgazette.net/93/bhaskaran.html page very useful sample of virtual driver (not connected to real hardware). I try to compile it with no effect. So: I got fresh Ubuntu 9.10 (kernel 2.6.31-14) My source is saved in networkAdapter.c file in /usr/src/myModules directory. I... (21 Replies)
Discussion started by: Chrisdot
21 Replies

2. UNIX for Advanced & Expert Users

Why cannot only the "rtl8139_rx" function be setted breakpoint on whereas the others can?

Dear all: (gdb) add-symbol-file /home/likunlun/rtl8139_driver.ko 0xf80e5000 -s .bss 0xf80e72d4 -s .data 0xf80e70e0 add symbol table from file "/home/likunlun/rtl8139_driver.ko" at .text_addr = 0xf80e5000 .bss_addr = 0xf80e72d4 .data_addr = 0xf80e70e0 (y or n) y Reading symbols... (6 Replies)
Discussion started by: liklstar
6 Replies

3. Linux

TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method. The thing works, but in a very strange manner. Here's how it looks: 1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds) Reading kernel & process data... Atomic restore.... (8 Replies)
Discussion started by: lockheed
8 Replies