Macros

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Macros
Macros
 
Name 
Description 
 
SNMPv3 Authentication Localized passwed key lenegth size 
 
This is macro INVALID_INDEX. 
 
This is macro IS_SNMPV3_AUTH_STRUCTURE. 
 
Length of SNMPv3 authoratative msg header length = Header length ( 2 + 2 bytes) + engineID ( snmpEngnIDLength bytes)
  • engine boot( 4 bytes)+ engine time(4 bytes)

+security name (securityPrimitivesOfIncomingPdu value) +authentication parameters (snmpOutMsgAuthParamLen value) +privacy parameters (snmpOutMsgAuthParamLen value) 

 
Length of the SNMPv3 msg header(x) = Header length (2 bytes)
  • MSGID size (type(1 byte) + length of value(1 byte)+4 bytes value)
  • msgMAXSIZE(type + length of value +4 bytes value)
  • msg flag(type + length of value +1 byte value)
  • security model type(type + length of value +1 byte value)

 

 
#define PRIV_LOCALIZED_PASSWORD_KEY_LEN 16 SNMPv3 Privacy Pasword key length size 
 
This is macro REPORT_RESPONSE. 
 
SNMP_ENGINE_MAX_MSG_SIZE is determined as the minimum of the max msg size values supported among all of the transports available to and supported by the engine. 
 
SNMP MIN and MAX message 484 bytes in size As per RFC 3411 snmpEngineMaxMessageSize and RFC 1157 ( section 4- protocol specification ) and implementation supports more than 484 whenever feasible. 
 
This macro will be used to avoid SNMP OID memory buffer corruption 
 
This macro will be used to avoid SNMP OID memory buffer corruption 
 
This is macro SNMP_V3. 
 
SNMPv3 authentication localized Key length for memory validation 
 
This is macro SNMPV3_H. 
 
SNMPv3 privacy key length size for memory validation 
 
User security name length for memory validation 
 
User Security Model should have atleast 1 user. Default is 3. User should change as per the requirement. 
 
This is macro SNMPV3MSG_AUTHENTICATION_FAIL. 
 
This is macro SNMPV3MSG_AUTHENTICATION_SUCCESS. 
 
SNMPv3 User Security Name length 
Module
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.