|
wimax-tools
1.4.4
|
#include <sys/types.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <stdarg.h>#include <errno.h>#include <assert.h>#include <linux/types.h>#include <netlink/msg.h>#include <netlink/genl/genl.h>#include <wimaxll.h>#include "internal.h"#include "debug.h"Functions | |
| int | wimaxll_gnl_error_cb (struct sockaddr_nl *nla, struct nlmsgerr *nlerr, void *_ctx) |
| Netlink callback to process netlink callback errors. More... | |
| int | wimaxll_gnl_ack_cb (struct nl_msg *msg, void *_ctx) |
| Netlink callback to process an ack message and pass the 'error' code. More... | |
| int | wimaxll_wait_for_ack (struct wimaxll_handle *wmx) |
| Wait for a netlink ACK and pass on the result code it passed. More... | |
| void | wimaxll_vmsg_stderr (const char *fmt, va_list vargs) |
| Deliver libwimaxll diagnostics messages to stderr. More... | |
| const char * | wimaxll_ifname (const struct wimaxll_handle *wmx) |
| Return the name of a the system's WiMAX interface associated to an open handle. More... | |
| unsigned | wimaxll_ifidx (const struct wimaxll_handle *wmx) |
| Return the interface index of the system's WiMAX interface associated to an open handle. More... | |
| void | wimaxll_priv_set (struct wimaxll_handle *wmx, void *priv) |
| Set the private data associated to a WiMAX device handle. More... | |
| void * | wimaxll_priv_get (struct wimaxll_handle *wmx) |
| Return the private data associated to a WiMAX device handle. More... | |
| int wimaxll_gnl_ack_cb | ( | struct nl_msg * | msg, |
| void * | _ctx | ||
| ) |
Netlink callback to process an ack message and pass the 'error' code.
Referenced by wimaxll_recv(), and wimaxll_wait_for_ack().
| int wimaxll_gnl_error_cb | ( | struct sockaddr_nl * | nla, |
| struct nlmsgerr * | nlerr, | ||
| void * | _ctx | ||
| ) |
Netlink callback to process netlink callback errors.
Referenced by wimaxll_recv(), and wimaxll_wait_for_ack().
| void wimaxll_vmsg_stderr | ( | const char * | fmt, |
| va_list | vargs | ||
| ) |
Deliver libwimaxll diagnostics messages to stderr.
| fmt | printf-like format |
| vargs | variable-argument list as created by stdargs.h:va_list() that will be formatted according to fmt. |
Default diagnostics printing function.
| int wimaxll_wait_for_ack | ( | struct wimaxll_handle * | wmx | ) |
Wait for a netlink ACK and pass on the result code it passed.
Referenced by wimaxll_msg_write(), wimaxll_reset(), wimaxll_rfkill(), and wimaxll_state_get().
1.8.5