C
static BOOL IsValidCommunity( char* community, BYTE* len );
Description
This routine populates and validates the community datatype, community name and length from the received snmp request pdu. Community name is used for accessing public and private memebrs of the mib.
Preconditions
ProcessHeader() is called.
Parameters
Parameters |
Description |
community |
Pointer to memory where community string will be stored. |
len |
Pointer to memory where comunity length gets stored. |
Return Values
Return Values |
Description |
TRUE |
If valid community received. |
FALSE |
If community is not valid. |
Remarks
None.