FreeBSD/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
/*
 * Prepare the next GetNext/Get PDU to send.
 */
Prepare the next GetNext/Get PDU to send.
Prepare the next GetNext / Get PDU to send .
static void
snmpwalk_nextpdu_create(uint32_t op, struct asn_oid *var, struct snmp_pdu *pdu)
{
	snmp_pdu_create(pdu, op);
	asn_append_oid(&(pdu->bindings[0].var), var);
	pdu->nbindings = 1;
}
static void snmpwalk_nextpdu_create ( uint32_t op , struct asn_oid * var , struct snmp_pdu * pdu ) { snmp_pdu_create ( pdu , op ) ; asn_append_oid ( & ( pdu -> bindings [ 0 ] . var ) , var ) ; pdu -> nbindings = 1 ; }
Prepare the next GetNext/Get PDU to send.
Prepare the next GetNext / Get PDU to send .