cfg80211_testmode_alloc_reply_skb man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

CFG80211_TESTMODE_AL(9)		   Test mode	       CFG80211_TESTMODE_AL(9)

NAME
       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 (or NULL if any errors happen) 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.

AUTHOR
       Johannes Berg <johannes@sipsolutions.net>
	   Author.

COPYRIGHT
Kernel Hackers Manual 3.8.	   June 2014	       CFG80211_TESTMODE_AL(9)
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net