STATUS snmpdPktLockGet ( SNMP_PKT_T * pktp /* snmp packet */ )
This routine obtains a lock on the SNMP packet being processed, which must be obtained by any asynchronous method routine prior to calling any of the routines getproc_*, nextproc_*, testproc_*, or setproc_*, or also snmpdContinue( ). The routine snmpdContinue( ) releases the lock before returning. No other routine can release this lock.