MSGGLOBAL_HEADER_LEN Macro

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MSGGLOBAL_HEADER_LEN Macro
C
#define MSGGLOBAL_HEADER_LEN(x) ( x= (2 \
                              +1+1+4 \
                              +1+1+4 \
                              +1+1+1  \
                              +1+1+1)\
                            )
Description

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)
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.