Lines Matching defs:skb
4072 int (*testmode_dump)(struct wiphy *wiphy, struct sk_buff *skb,
4614 struct sk_buff *skb, const void *data, int data_len,
5581 * @skb: the frame
5583 * Given an skb with a raw 802.11 header at the data pointer this function
5590 unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff *skb);
5618 * @skb: the 802.11 data frame
5626 int ieee80211_data_to_8023_exthdr(struct sk_buff *skb, struct ethhdr *ehdr,
5632 * @skb: the 802.11 data frame
5637 static inline int ieee80211_data_to_8023(struct sk_buff *skb, const u8 *addr,
5640 return ieee80211_data_to_8023_exthdr(skb, NULL, addr, iftype, 0, false);
5647 * The @list will be empty if the decode fails. The @skb must be fully
5650 * @skb: The input A-MSDU frame without any headers.
5659 void ieee80211_amsdu_to_8023s(struct sk_buff *skb, struct sk_buff_head *list,
5666 * @skb: the data frame
5670 unsigned int cfg80211_classify8021d(struct sk_buff *skb,
6554 void __cfg80211_send_event_skb(struct sk_buff *skb, gfp_t gfp);
6560 * be put into the skb
6562 * This function allocates and pre-fills an skb for a reply to
6566 * The returned skb is pre-filled with some identifying data in
6567 * a way that any data that is put into the skb (with skb_put(),
6570 * with the skb is adding data for the corresponding userspace tool
6572 * You must not modify the skb in any other way.
6574 * When done, call cfg80211_vendor_cmd_reply() with the skb and return
6577 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
6587 * cfg80211_vendor_cmd_reply - send the reply skb
6588 * @skb: The skb, must have been allocated with
6594 * skb regardless of the return value.
6598 int cfg80211_vendor_cmd_reply(struct sk_buff *skb);
6610 * cfg80211_vendor_event_alloc - allocate vendor-specific event skb
6615 * be put into the skb
6618 * This function allocates and pre-fills an skb for an event on the
6625 * When done filling the skb, call cfg80211_vendor_event() with the
6626 * skb to send the event.
6628 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
6640 * cfg80211_vendor_event_alloc_ucast - alloc unicast vendor-specific event skb
6646 * be put into the skb
6649 * This function allocates and pre-fills an skb for an event to send to
6658 * When done filling the skb, call cfg80211_vendor_event() with the
6659 * skb to send the event.
6661 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
6676 * @skb: The skb, must have been allocated with cfg80211_vendor_event_alloc()
6679 * This function sends the given @skb, which must have been allocated
6682 static inline void cfg80211_vendor_event(struct sk_buff *skb, gfp_t gfp)
6684 __cfg80211_send_event_skb(skb, gfp);
6703 * be put into the skb
6705 * This function allocates and pre-fills an skb for a reply to
6709 * The returned skb is pre-filled with the wiphy index and set up in
6710 * a way that any data that is put into the skb (with skb_put(),
6713 * with the skb is adding data for the corresponding userspace tool
6715 * must not modify the skb in any other way.
6717 * When done, call cfg80211_testmode_reply() with the skb and return
6720 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
6730 * cfg80211_testmode_reply - send the reply skb
6731 * @skb: The skb, must have been allocated with
6736 * the error code. Note that this function consumes the skb
6741 static inline int cfg80211_testmode_reply(struct sk_buff *skb)
6743 return cfg80211_vendor_cmd_reply(skb);
6750 * be put into the skb
6753 * This function allocates and pre-fills an skb for an event on the
6756 * The returned skb is set up in the same way as with
6759 * %NL80211_ATTR_TESTDATA attribute. Again, you must not modify the skb
6762 * When done filling the skb, call cfg80211_testmode_event() with the
6763 * skb to send the event.
6765 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
6777 * @skb: The skb, must have been allocated with
6781 * This function sends the given @skb, which must have been allocated
6785 static inline void cfg80211_testmode_event(struct sk_buff *skb, gfp_t gfp)
6787 __cfg80211_send_event_skb(skb, gfp);
7266 * @skb: The skbuf with the control port frame. It is assumed that the skbuf
7267 * is 802.3 formatted (with 802.3 header). The skb can be non-linear.
7268 * This function does not take ownership of the skb, so the caller is
7270 * skb->protocol is set appropriately.
7283 struct sk_buff *skb, bool unencrypted);