wimax_msg_alloc — Create a new skb for sending a message to userspace
struct wimax_dev * wimax_dev
WiMAX device descriptor
const char * pipe_name
"named pipe" the message will be sent to
const void * msg
pointer to the message data to send
size of the message to send (in bytes), including the header.
flags for memory allocation.
Allocates an skb that will contain the message to send to user space over the messaging pipe and initializes it, copying the payload.
Once this call is done, you can deliver it with
Unlike other WiMAX stack calls, this call can be used way early,
wimax_dev_add is called, as long as the
wimax_dev->net_dev pointer is set to point to a proper
net_dev. This is so that drivers can use it early in case they need
to send stuff around or communicate with user space.