wimax-tools 1.4.4
Functions

/home/users/builder/rpm/BUILD/wimax-tools-1.4.4/lib/re-state-change.c File Reference

#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_handle_state_change (struct wimaxll_handle *wmx, struct nl_msg *msg)
 Callback to process an WIMAX_GNL_RE_STATE_CHANGE from the kernel.
void wimaxll_get_cb_state_change (struct wimaxll_handle *wmx, wimaxll_state_change_cb_f *cb, void **priv)
 Get the callback and priv pointer for a WIMAX_GNL_RE_STATE_CHANGE message.
void wimaxll_set_cb_state_change (struct wimaxll_handle *wmx, wimaxll_state_change_cb_f cb, void *priv)
 Set the callback and priv pointer for a WIMAX_GNL_RE_STATE_CHANGE message.
ssize_t wimaxll_wait_for_state_change (struct wimaxll_handle *wmx, enum wimax_st *old_state, enum wimax_st *new_state)
 Wait for an state change notification from the kernel.

Function Documentation

int wimaxll_gnl_handle_state_change ( struct wimaxll_handle wmx,
struct nl_msg *  msg 
)

Callback to process an WIMAX_GNL_RE_STATE_CHANGE from the kernel.