---
name: "wimax_msg"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/wimax_msg"
---

# wimax\_msg(9)

Send a message to user space

## NAME

wimax\_msg - Send a message to user space

## SYNOPSIS

**int wimax\_msg(struct wimax\_dev \*** *wimax\_dev***, const char \*** *pipe\_name***, const void \*** *buf***, size\_t** *size***, gfp\_t** *gfp\_flags***);**

## ARGUMENTS

*wimax\_dev*

WiMAX device descriptor (properly referenced)

*pipe\_name*

"named pipe" the message will be sent to

*buf*

pointer to the message to send.

*size*

size of the buffer pointed to by *buf* (in bytes).

*gfp\_flags*

flags for memory allocation.

## RETURN

**0** if ok, negative errno code on error.

## DESCRIPTION

Sends a free-form message to user space on the device *wimax\_dev*.

## NOTES

Once the *skb* is given to this function, who will own it and will release it when done (unless it returns error).

## COPYRIGHT
