1WIMAX_MSG_SEND(9)              Linux Networking              WIMAX_MSG_SEND(9)
2
3
4

NAME

6       wimax_msg_send - Send a pre-allocated message to user space
7

SYNOPSIS

9       int wimax_msg_send(struct wimax_dev * wimax_dev, struct sk_buff * skb);
10

ARGUMENTS

12       wimax_dev
13           WiMAX device descriptor
14
15       skb
16
17           struct sk_buff returned by wimax_msg_alloc. Note the ownership of
18           skb is transferred to this function.
19

RETURNS

21       0 if ok, < 0 errno code on error
22

DESCRIPTION

24       Sends a free-form message that was preallocated with wimax_msg_alloc
25       and filled up.
26
27       Assumes that once you pass an skb to this function for sending, it owns
28       it and will release it when done (on success).
29

IMPORTANT

31       DonĀ“t use skb_push/skb_pull/skb_reserve on the skb, as wimax_msg_send
32       depends on skb->data being placed at the beginning of the user message.
33
34       Unlike other WiMAX stack calls, this call can be used way early, even
35       before wimax_dev_add is called, as long as the wimax_dev->net_dev
36       pointer is set to point to a proper net_dev. This is so that drivers
37       can use it early in case they need to send stuff around or communicate
38       with user space.
39
41Kernel Hackers Manual 2.6.         June 2019                 WIMAX_MSG_SEND(9)
Impressum