mib_node Struct Reference

#include <lwip/src/include/lwip/snmp_structs.h>


Data Fields

void(* get_object_def )(u8_t ident_len, s32_t *ident, struct obj_def *od)
void(* get_value )(struct obj_def *od, u16_t len, void *value)
u8_t(* set_test )(struct obj_def *od, u16_t len, void *value)
void(* set_value )(struct obj_def *od, u16_t len, void *value)
const u8_t node_type


Detailed Description

node "base class" layout, the mandatory fields for a node

Field Documentation

void(* mib_node::get_object_def)(u8_t ident_len, s32_t *ident, struct obj_def *od)

returns struct obj_def for the given object identifier

void(* mib_node::get_value)(struct obj_def *od, u16_t len, void *value)

returns object value for the given object identifier,

Note:
the caller must allocate at least len bytes for the value

u8_t(* mib_node::set_test)(struct obj_def *od, u16_t len, void *value)

tests length and/or range BEFORE setting

void(* mib_node::set_value)(struct obj_def *od, u16_t len, void *value)

sets object value, only to be called when set_test()

const u8_t mib_node::node_type

One out of MIB_NODE_AR, MIB_NODE_LR or MIB_NODE_EX


The documentation for this struct was generated from the following file:
Generated on Sun Mar 23 19:22:46 2008 for lwIP 1.3.0 by  doxygen 1.5.4