Go to the source code of this file.
|
void | wimaxll_cb_ctx_init (struct wimaxll_cb_ctx *ctx, struct wimaxll_handle *wmx) |
| Initialize a struct wimaxll_cb_ctx. More...
|
|
void | wimaxll_cb_maybe_set_result (struct wimaxll_cb_ctx *ctx, int val) |
| Set the result value in a callback context. More...
|
|
int | wimaxll_wait_for_ack (struct wimaxll_handle *) |
| Wait for a netlink ACK and pass on the result code it passed. More...
|
|
int | wimaxll_gnl_handle_msg_to_user (struct wimaxll_handle *, struct nl_msg *) |
| Callback to process an WIMAX_GNL_OP_MSG_TO_USER from the kernel. More...
|
|
int | wimaxll_gnl_handle_state_change (struct wimaxll_handle *, struct nl_msg *) |
| Callback to process an WIMAX_GNL_RE_STATE_CHANGE from the kernel. More...
|
|
int | wimaxll_gnl_error_cb (struct sockaddr_nl *, struct nlmsgerr *, void *) |
| Netlink callback to process netlink callback errors. More...
|
|
int | wimaxll_gnl_ack_cb (struct nl_msg *msg, void *_mch) |
| Netlink callback to process an ack message and pass the 'error' code. More...
|
|
void | wimaxll_msg (struct wimaxll_handle *, const char *fmt,...) __attribute__((format(printf |
|
void int | nl_get_multicast_groups (struct nl_handle *, const char *, void(*cb)(void *, const char *, int), void *) |
| Enumerates the list of available multicast groups for a family. More...
|
|
int | genl_ctrl_get_version (struct nl_handle *, const char *) |
|
#define __WIMAXLL_IFNAME_LEN 32 |
Enumerator |
---|
WIMAXLL_IFNAME_LEN |
WIMAXLL_IFNAME_LEN - Maximum size of a wimax interface name.
|
int genl_ctrl_get_version |
( |
struct nl_handle * |
, |
|
|
const char * |
|
|
) |
| |
void int nl_get_multicast_groups |
( |
struct nl_handle * |
handle, |
|
|
const char * |
family, |
|
|
void(*)(void *, const char *, int) |
cbf, |
|
|
void * |
priv |
|
) |
| |
Enumerates the list of available multicast groups for a family.
- Parameters
-
handle | netlink handle to use for querying the list |
family | name of family to query for multicast groups |
cbf | callback function to call with each multicast group's information. |
priv | pointer to pass to the callback function |
Returns: 0 if ok, < 0 errno code on error.
Enumerates the multicast groups available for a generic netlink family and calls the callback with the arguments of each.
int wimaxll_gnl_ack_cb |
( |
struct nl_msg * |
msg, |
|
|
void * |
_mch |
|
) |
| |
int wimaxll_gnl_error_cb |
( |
struct sockaddr_nl * |
, |
|
|
struct nlmsgerr * |
, |
|
|
void * |
|
|
) |
| |
int wimaxll_gnl_handle_msg_to_user |
( |
struct wimaxll_handle * |
, |
|
|
struct nl_msg * |
|
|
) |
| |
Callback to process an WIMAX_GNL_OP_MSG_TO_USER from the kernel.
int wimaxll_gnl_handle_state_change |
( |
struct wimaxll_handle * |
, |
|
|
struct nl_msg * |
|
|
) |
| |
Callback to process an WIMAX_GNL_RE_STATE_CHANGE from the kernel.