Lines Matching refs:pdu
404 struct snmp_pdu *pdu=NULL, *response; in php_snmp_internal() local
444 pdu = snmp_pdu_create(SNMP_MSG_GETNEXT); in php_snmp_internal()
446 pdu = snmp_pdu_create(SNMP_MSG_GETBULK); in php_snmp_internal()
447 pdu->non_repeaters = objid_query->non_repeaters; in php_snmp_internal()
448 pdu->max_repetitions = objid_query->max_repetitions; in php_snmp_internal()
450 snmp_add_null_var(pdu, objid_query->vars[0].name, objid_query->vars[0].name_length); in php_snmp_internal()
453 pdu = snmp_pdu_create(SNMP_MSG_GET); in php_snmp_internal()
455 pdu = snmp_pdu_create(SNMP_MSG_GETNEXT); in php_snmp_internal()
457 pdu = snmp_pdu_create(SNMP_MSG_SET); in php_snmp_internal()
466 …if ((snmp_errno = snmp_add_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars… in php_snmp_internal()
469 snmp_free_pdu(pdu); in php_snmp_internal()
475 …snmp_add_null_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query-… in php_snmp_internal()
478 if(pdu->variables == NULL){ in php_snmp_internal()
479 snmp_free_pdu(pdu); in php_snmp_internal()
487 status = snmp_synch_response(ss, pdu, &response); in php_snmp_internal()
617 …if ((pdu = snmp_fix_pdu(response, ((st & SNMP_CMD_GET) ? SNMP_MSG_GET : SNMP_MSG_GETNEXT) )) != NU… in php_snmp_internal()