Home
last modified time | relevance | path

Searched refs:reply_pdu (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c514 snmp_pdu_t *reply_pdu; in snmp_get_nextrow() local
529 if ((reply_pdu = fetch_next(smd, prefix, row, &err)) == NULL) { in snmp_get_nextrow()
540 vp = reply_pdu->vars; in snmp_get_nextrow()
547 snmp_free_pdu(reply_pdu); in snmp_get_nextrow()
557 snmp_free_pdu(reply_pdu); in snmp_get_nextrow()
568 snmp_free_pdu(reply_pdu); in snmp_get_nextrow()
581 snmp_free_pdu(reply_pdu); in snmp_get_nextrow()
791 snmp_pdu_t *reply_pdu; in fetch_single_int() local
794 if ((reply_pdu = fetch_single(smd, prefix, row, snmp_syserr)) == NULL) in fetch_single_int()
809 vp = reply_pdu->vars; in fetch_single_int()
[all …]
H A Dpdu.c187 snmp_pdu_t *reply_pdu; in snmp_parse_reply() local
192 reply_pdu = (snmp_pdu_t *)calloc(1, sizeof (snmp_pdu_t)); in snmp_parse_reply()
193 if (reply_pdu == NULL) in snmp_parse_reply()
203 snmp_free_pdu(reply_pdu); in snmp_parse_reply()
210 if ((p = asn_parse_int(p, &msgsz, &reply_pdu->version)) == NULL) { in snmp_parse_reply()
211 snmp_free_pdu(reply_pdu); in snmp_parse_reply()
214 if ((reply_pdu->version != SNMP_VERSION_1) && in snmp_parse_reply()
215 (reply_pdu->version != SNMP_VERSION_2c)) { in snmp_parse_reply()
216 snmp_free_pdu(reply_pdu); in snmp_parse_reply()
223 p = asn_parse_string(p, &msgsz, &reply_pdu->community, in snmp_parse_reply()
[all …]