wimax-tools 1.4.4
Functions

/home/users/builder/rpm/BUILD/wimax-tools-1.4.4/lib/i2400m.c File Reference

#include <wimaxll/i2400m.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <wimaxll.h>
#include <internal.h>

Functions

int i2400m_create (struct i2400m **_i2400m, const char *ifname, void *priv, i2400m_report_cb report_cb)
 Create a i2400m handle.
int i2400m_create_from_handle (struct i2400m **_i2400m, struct wimaxll_handle *wmx, void *priv, i2400m_report_cb report_cb)
 Create a i2400m handle from an existing WiMAX handle.
void i2400m_destroy (struct i2400m *i2400m)
 Destroy a descriptor created with i2400m_create()
void * i2400m_priv (struct i2400m *i2400m)
 Return the private data associated to a i2400m.
struct wimaxll_handlei2400m_wmx (struct i2400m *i2400m)
 Return the libwimaxll handle associated to a i2400m.
int i2400m_msg_to_dev (struct i2400m *i2400m, const struct i2400m_l3l4_hdr *l3l4, size_t l3l4_size, i2400m_reply_cb cb, void *cb_priv)
 Execute an i2400m command and wait for a response.
ssize_t i2400m_tlv_match (const struct i2400m_tlv_hdr *tlv, enum i2400m_tlv tlv_type, ssize_t tlv_size)
 Return if a TLV is of a give type and size.
struct i2400m_tlv_hdr * i2400m_tlv_buffer_walk (const void *tlv_buf, size_t buf_size, const struct i2400m_tlv_hdr *tlv_pos)
 Iterate over a buffer of TLVs.
struct i2400m_tlv_hdr * i2400m_tlv_find (const struct i2400m_tlv_hdr *tlv_hdr, size_t size, enum i2400m_tlv tlv_type, ssize_t tlv_size)
 Find a TLV by type (and maybe length) in a buffer of TLVs.