Documentation
Includes
lwip/apps/snmp_opts.h
#include "lwip/apps/snmp_opts.h"
lwip/apps/snmp_core.h
#include "lwip/apps/snmp_core.h"
lwip/sys.h
#include "lwip/sys.h"
Macros
Marco LWIP_HDR_APPS_SNMP_THREADSYNC_H
#define LWIP_HDR_APPS_SNMP_THREADSYNC_H
Marco SNMP_CREATE_THREAD_SYNC_NODE(oid, target_leaf_node, threadsync_instance)
#define SNMP_CREATE_THREAD_SYNC_NODE(oid, target_leaf_node, threadsync_instance) \
{{{ SNMP_NODE_THREADSYNC, (oid) }, \
snmp_threadsync_get_instance, \
snmp_threadsync_get_next_instance }, \
(target_leaf_node), \
(threadsync_instance) }
Functions
Func snmp_threadsync_get_instance
snmp_err_t snmp_threadsync_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
Func snmp_threadsync_get_next_instance
snmp_err_t snmp_threadsync_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance* instance);
Func snmp_threadsync_init
void snmp_threadsync_init(struct snmp_threadsync_instance *instance, snmp_threadsync_synchronizer_fn sync_fn);
Vars
Variable snmp_node_instance
struct snmp_node_instance proxy_instance;
Consts
Const
const struct snmp_threadsync_node *threadsync_node;
Types
Typedefs
Typedef snmp_threadsync_called_fn
typedef void (*snmp_threadsync_called_fn)(void* arg);
Typedef snmp_threadsync_synchronizer_fn
typedef void (*snmp_threadsync_synchronizer_fn)(snmp_threadsync_called_fn fn, void* arg);