int snmpIoCommunityValidate ( SNMP_PKT_T * pPkt, /* ptr to snmp pkt */ SNMPADDR_T * pRemoteAddr, /* remote address */ SNMPADDR_T * pLocalAddr /* local address */ )
This routine is used to set up the view-index field in the SNMP packet. This product is shipped with defaults such that the "priv"community is allowed to set variables, and the "pub" community is allowed to get variables.
The agent designer is required to write this function according to the design of the application.