C
#define MSG_AUTHORITATIVE_HEADER_LEN(x) ( x=(2+2 \ +1+1+snmpEngnIDLength \ +1+1+4 \ +1+1+4 \ +1+1+securityPrimitivesOfIncomingPdu.securityNameLength \ +1+1+snmpOutMsgAuthParamLen \ +1+1+snmpOutMsgPrivParamLen) \ )
Description
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)