Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

__kfree_skb(9) [centos man page]

__KFREE_SKB(9)							 Linux Networking						    __KFREE_SKB(9)

__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 3.10 June 2014 __KFREE_SKB(9)

Check Out this Related Man Page

CFG80211_TESTMODE_AL(9) 					     Test mode						   CFG80211_TESTMODE_AL(9)

cfg80211_testmode_alloc_reply_skb - allocate testmode reply SYNOPSIS
struct sk_buff * cfg80211_testmode_alloc_reply_skb(struct wiphy * wiphy, int approxlen); ARGUMENTS
wiphy the wiphy approxlen an upper bound of the length of the data that will be put into the skb DESCRIPTION
This function allocates and pre-fills an skb for a reply to the testmode command. Since it is intended for a reply, calling it outside of the testmode_cmd operation is invalid. The returned skb is pre-filled with the wiphy index and set up in a way that any data that is put into the skb (with skb_put, nla_put or similar) will end up being within the NL80211_ATTR_TESTDATA attribute, so all that needs to be done with the skb is adding data for the corresponding userspace tool which can then read that data out of the testdata attribute. You must not modify the skb in any other way. When done, call cfg80211_testmode_reply with the skb and return its error code as the result of the testmode_cmd operation. RETURN
An allocated and pre-filled skb. NULL if any errors happen. AUTHOR
Johannes Berg <> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 CFG80211_TESTMODE_AL(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 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

Featured Tech Videos