snmp_community_mib_impl.c
error_t mibEncodeString(uint8_t *oid, size_t maxOidLen, size_t *pos, const char_t *string, bool_t implied)
Encode instance identifier (string)
Definition: mib_common.c:129
SNMP COMMUNITY MIB module implementation.
SnmpCommunityMibBase snmpCommunityMibBase
SNMP COMMUNITY MIB base.
Definition: snmp_community_mib_module.c:58
void snmpCommunityMibUnload(void *context)
Unload SNMP COMMUNITY MIB module.
Definition: snmp_community_mib_impl.c:94
SnmpUserEntry * snmpFindCommunityEntry(SnmpAgentContext *context, const char_t *community, size_t length)
Search the community table for a given community string.
Definition: snmp_agent_misc.c:205
SnmpUserEntry tempCommunity
Definition: snmp_community_mib_module.h:70
OID (Object Identifier)
int_t oidComp(const uint8_t *oid1, size_t oidLen1, const uint8_t *oid2, size_t oidLen2)
Compare object identifiers.
Definition: oid.c:103
error_t snmpCommunityMibLoad(void *context)
Load SNMP COMMUNITY MIB module.
Definition: snmp_community_mib_impl.c:79
SnmpUserEntry * snmpCreateCommunityEntry(SnmpAgentContext *context)
Create a new community entry.
Definition: snmp_agent_misc.c:147
SNMP agent (Simple Network Management Protocol)
error_t snmpCommunityMibSetCommunityEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit)
Set snmpCommunityEntry object value.
Definition: snmp_community_mib_impl.c:135
error_t snmpCommunityMibGetCommunityEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen)
Get snmpCommunityEntry object value.
Definition: snmp_community_mib_impl.c:373
SNMP COMMUNITY MIB module.
error_t snmpCommunityMibInit(void)
SNMP COMMUNITY MIB module initialization.
Definition: snmp_community_mib_impl.c:60
General definitions for cryptographic algorithms.
Helper functions for SNMP agent.
Common definitions for MIB modules.
void snmpCommunityMibUnlock(void)
Unlock SNMP COMMUNITY MIB base.
Definition: snmp_community_mib_impl.c:116
void snmpCommunityMibLock(void)
Lock SNMP COMMUNITY MIB base.
Definition: snmp_community_mib_impl.c:105
error_t mibDecodeString(const uint8_t *oid, size_t oidLen, size_t *pos, char_t *string, size_t maxStringLen, bool_t implied)
Decode instance identifier (string)
Definition: mib_common.c:149
TCP/IP stack core.
Debugging facilities.
ASN.1 (Abstract Syntax Notation One)
error_t snmpCommunityMibGetNextCommunityEntry(const MibObject *object, const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen)
Get next snmpCommunityEntry object.
Definition: snmp_community_mib_impl.c:528