Webserver+3d print

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

SnmpAgentContext Struct Reference

SnmpAgentContext Struct Reference

SNMP agent context. More...

#include <snmp_agent.h>

Data Fields

SnmpAgentSettings settings
 SNMP agent settings.
OsMutex mutex
 Mutex preventing simultaneous access to SNMP agent context.
uint8_t enterpriseOid [SNMP_MAX_OID_SIZE]
 Enterprise OID.
size_t enterpriseOidLen
 Length of the enterprise OID.
SnmpUserInfo userTable [SNMP_AGENT_MAX_USER_COUNT]
 List of users.
const MibModulemibModule [SNMP_AGENT_MAX_MIB_COUNT]
 MIB modules.
uint_t mibModuleCount
 Number of MIB modules.
Socket * socket
 Underlying socket.
IpAddr remoteIpAddr
 IP address of the remote SNMP engine.
uint16_t remotePort
 Source port used by the remote SNMP engine.
SnmpMessage request
 SNMP request message.
SnmpMessage response
 SNMP response message.
const SnmpUserInfouser
 Security profile of current user.
uint8_t contextEngine [SNMP_MAX_CONTEXT_ENGINE_SIZE]
 Context engine identifier.
size_t contextEngineLen
 Length of the context engine identifier.
char_t contextName [SNMP_MAX_CONTEXT_NAME_LEN+1]
 Context name.
systime_t systemTime
 System time.
int32_t engineBoots
 Number of times that the SNMP engine has rebooted.
int32_t engineTime
 SNMP engine time.
uint64_t salt
 Integer initialized to a random value at boot time.
uint8_t privParameters [8]
 Privacy parameters.

Detailed Description

SNMP agent context.

Definition at line 98 of file snmp_agent.h.


Field Documentation

uint8_t contextEngine[SNMP_MAX_CONTEXT_ENGINE_SIZE]

Context engine identifier.

Definition at line 114 of file snmp_agent.h.

Length of the context engine identifier.

Definition at line 115 of file snmp_agent.h.

char_t contextName[SNMP_MAX_CONTEXT_NAME_LEN+1]

Context name.

Definition at line 116 of file snmp_agent.h.

int32_t engineBoots

Number of times that the SNMP engine has rebooted.

Definition at line 118 of file snmp_agent.h.

int32_t engineTime

SNMP engine time.

Definition at line 119 of file snmp_agent.h.

uint8_t enterpriseOid[SNMP_MAX_OID_SIZE]

Enterprise OID.

Definition at line 102 of file snmp_agent.h.

Length of the enterprise OID.

Definition at line 103 of file snmp_agent.h.

const MibModule* mibModule[SNMP_AGENT_MAX_MIB_COUNT]

MIB modules.

Definition at line 105 of file snmp_agent.h.

Number of MIB modules.

Definition at line 106 of file snmp_agent.h.

Mutex preventing simultaneous access to SNMP agent context.

Definition at line 101 of file snmp_agent.h.

uint8_t privParameters[8]

Privacy parameters.

Definition at line 121 of file snmp_agent.h.

IP address of the remote SNMP engine.

Definition at line 108 of file snmp_agent.h.

uint16_t remotePort

Source port used by the remote SNMP engine.

Definition at line 109 of file snmp_agent.h.

SNMP request message.

Definition at line 110 of file snmp_agent.h.

SNMP response message.

Definition at line 111 of file snmp_agent.h.

uint64_t salt

Integer initialized to a random value at boot time.

Definition at line 120 of file snmp_agent.h.

SNMP agent settings.

Definition at line 100 of file snmp_agent.h.

Socket* socket

Underlying socket.

Definition at line 107 of file snmp_agent.h.

systime_t systemTime

System time.

Definition at line 117 of file snmp_agent.h.

Security profile of current user.

Definition at line 112 of file snmp_agent.h.

SnmpUserInfo userTable[SNMP_AGENT_MAX_USER_COUNT]

List of users.

Definition at line 104 of file snmp_agent.h.