Lines Matching defs:skb
4559 int (*testmode_dump)(struct wiphy *wiphy, struct sk_buff *skb,
5127 struct sk_buff *skb, const void *data, int data_len,
6377 * @skb: the frame
6379 * Given an skb with a raw 802.11 header at the data pointer this function
6386 unsigned int ieee80211_get_hdrlen_from_skb(const struct sk_buff *skb);
6414 * @skb: the 802.11 data frame
6423 int ieee80211_data_to_8023_exthdr(struct sk_buff *skb, struct ethhdr *ehdr,
6429 * @skb: the 802.11 data frame
6434 static inline int ieee80211_data_to_8023(struct sk_buff *skb, const u8 *addr,
6437 return ieee80211_data_to_8023_exthdr(skb, NULL, addr, iftype, 0, false);
6447 * @skb: The input A-MSDU frame without any headers.
6454 bool ieee80211_is_valid_amsdu(struct sk_buff *skb, u8 mesh_hdr);
6460 * The @list will be empty if the decode fails. The @skb must be fully
6463 * @skb: The input A-MSDU frame without any headers.
6473 void ieee80211_amsdu_to_8023s(struct sk_buff *skb, struct sk_buff_head *list,
6498 * @skb: The 802.3 frame with embedded mesh header
6500 int ieee80211_strip_8023_mesh_hdr(struct sk_buff *skb);
6504 * @skb: the data frame
6508 unsigned int cfg80211_classify8021d(struct sk_buff *skb,
7464 void __cfg80211_send_event_skb(struct sk_buff *skb, gfp_t gfp);
7470 * be put into the skb
7472 * This function allocates and pre-fills an skb for a reply to
7476 * The returned skb is pre-filled with some identifying data in
7477 * a way that any data that is put into the skb (with skb_put(),
7480 * with the skb is adding data for the corresponding userspace tool
7482 * You must not modify the skb in any other way.
7484 * When done, call cfg80211_vendor_cmd_reply() with the skb and return
7487 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7497 * cfg80211_vendor_cmd_reply - send the reply skb
7498 * @skb: The skb, must have been allocated with
7504 * skb regardless of the return value.
7508 int cfg80211_vendor_cmd_reply(struct sk_buff *skb);
7520 * cfg80211_vendor_event_alloc - allocate vendor-specific event skb
7525 * be put into the skb
7528 * This function allocates and pre-fills an skb for an event on the
7535 * When done filling the skb, call cfg80211_vendor_event() with the
7536 * skb to send the event.
7538 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7550 * cfg80211_vendor_event_alloc_ucast - alloc unicast vendor-specific event skb
7556 * be put into the skb
7559 * This function allocates and pre-fills an skb for an event to send to
7568 * When done filling the skb, call cfg80211_vendor_event() with the
7569 * skb to send the event.
7571 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7586 * @skb: The skb, must have been allocated with cfg80211_vendor_event_alloc()
7589 * This function sends the given @skb, which must have been allocated
7592 static inline void cfg80211_vendor_event(struct sk_buff *skb, gfp_t gfp)
7594 __cfg80211_send_event_skb(skb, gfp);
7613 * be put into the skb
7615 * This function allocates and pre-fills an skb for a reply to
7619 * The returned skb is pre-filled with the wiphy index and set up in
7620 * a way that any data that is put into the skb (with skb_put(),
7623 * with the skb is adding data for the corresponding userspace tool
7625 * must not modify the skb in any other way.
7627 * When done, call cfg80211_testmode_reply() with the skb and return
7630 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7640 * cfg80211_testmode_reply - send the reply skb
7641 * @skb: The skb, must have been allocated with
7646 * the error code. Note that this function consumes the skb
7651 static inline int cfg80211_testmode_reply(struct sk_buff *skb)
7653 return cfg80211_vendor_cmd_reply(skb);
7660 * be put into the skb
7663 * This function allocates and pre-fills an skb for an event on the
7666 * The returned skb is set up in the same way as with
7669 * %NL80211_ATTR_TESTDATA attribute. Again, you must not modify the skb
7672 * When done filling the skb, call cfg80211_testmode_event() with the
7673 * skb to send the event.
7675 * Return: An allocated and pre-filled skb. %NULL if any errors happen.
7687 * @skb: The skb, must have been allocated with
7691 * This function sends the given @skb, which must have been allocated
7695 static inline void cfg80211_testmode_event(struct sk_buff *skb, gfp_t gfp)
7697 __cfg80211_send_event_skb(skb, gfp);
8319 * @skb: The skbuf with the control port frame. It is assumed that the skbuf
8320 * is 802.3 formatted (with 802.3 header). The skb can be non-linear.
8321 * This function does not take ownership of the skb, so the caller is
8323 * skb->protocol is set appropriately.
8336 bool cfg80211_rx_control_port(struct net_device *dev, struct sk_buff *skb,