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           struct sk_buff returned by wimax_msg_alloc. Note the ownership of
17           skb is transferred to this function.
18

RETURNS

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

DESCRIPTION

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

IMPORTANT

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