NetServices Stack source

Dependents:   HelloWorld ServoInterfaceBoardExample1 4180_Lab4

Embed: (wiki syntax)

« Back to documentation index

mib_external_node Struct Reference

mib_external_node Struct Reference

derived node, has access functions for mib object in external memory or device using 'tree_level' and 'idx', with a range 0 . More...

#include <snmp_structs.h>

Data Fields

void * addr_inf
 points to an external (in memory) record of some sort of addressing information, passed to and interpreted by the funtions below
u8_t tree_levels
 tree levels under this node
u16_t(* level_length )(void *addr_inf, u8_t level)
 number of objects at this level
s32_t(* ident_cmp )(void *addr_inf, u8_t level, u16_t idx, s32_t sub_id)
 compares object sub identifier with external id return zero when equal, nonzero when unequal
void(* get_object_def_q )(void *addr_inf, u8_t rid, u8_t ident_len, s32_t *ident)
 async Questions
void(* get_object_def_a )(u8_t rid, u8_t ident_len, s32_t *ident, struct obj_def *od)
 async Answers
void(* get_object_def_pc )(u8_t rid, u8_t ident_len, s32_t *ident)
 async Panic Close (agent returns error reply, e.g.

Detailed Description

derived node, has access functions for mib object in external memory or device using 'tree_level' and 'idx', with a range 0 .

. (level_length() - 1)

Definition at line 192 of file snmp_structs.h.


Field Documentation

void* addr_inf

points to an external (in memory) record of some sort of addressing information, passed to and interpreted by the funtions below

Definition at line 206 of file snmp_structs.h.

void(* get_object_def_a)(u8_t rid, u8_t ident_len, s32_t *ident, struct obj_def *od)

async Answers

Definition at line 222 of file snmp_structs.h.

void(* get_object_def_pc)(u8_t rid, u8_t ident_len, s32_t *ident)

async Panic Close (agent returns error reply, e.g.

used for external transaction cleanup)

Definition at line 228 of file snmp_structs.h.

void(* get_object_def_q)(void *addr_inf, u8_t rid, u8_t ident_len, s32_t *ident)

async Questions

Definition at line 217 of file snmp_structs.h.

s32_t(* ident_cmp)(void *addr_inf, u8_t level, u16_t idx, s32_t sub_id)

compares object sub identifier with external id return zero when equal, nonzero when unequal

Definition at line 213 of file snmp_structs.h.

u16_t(* level_length)(void *addr_inf, u8_t level)

number of objects at this level

Definition at line 210 of file snmp_structs.h.

tree levels under this node

Definition at line 208 of file snmp_structs.h.