Lines Matching refs:varbind

527 	struct ber_element *pdu, *varbind;  in snmpc_get()  local
572 &errorindex, &varbind); in snmpc_get()
576 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_get()
582 for (; varbind != NULL; varbind = varbind->be_next) { in snmpc_get()
583 if (!snmpc_print(varbind)) in snmpc_get()
595 struct ber_element *pdu, *varbind, *value; in snmpc_walk() local
629 &errorstatus, &errorindex, &varbind); in snmpc_walk()
631 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_walk()
636 if (!snmpc_print(varbind)) in snmpc_walk()
663 &errorstatus, &errorindex, &varbind); in snmpc_walk()
665 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_walk()
671 for (; varbind != NULL; varbind = varbind->be_next) { in snmpc_walk()
672 (void) ober_scanf_elements(varbind, "{oe}", &noid, in snmpc_walk()
693 if (!snmpc_print(varbind)) in snmpc_walk()
700 if (varbind != NULL) in snmpc_walk()
708 &errorstatus, &errorindex, &varbind); in snmpc_walk()
710 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_walk()
715 if (!snmpc_print(varbind)) in snmpc_walk()
743 struct ber_element *pdu, *varbind; in snmpc_set() local
763 &errorindex, &varbind); in snmpc_set()
767 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_set()
773 for (; varbind != NULL; varbind = varbind->be_next) { in snmpc_set()
774 if (!snmpc_print(varbind)) in snmpc_set()
845 struct ber_element *pdu, *varbind, *elm; in snmpc_df() local
888 &errorstatus, &errorindex, &varbind); in snmpc_df()
890 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_df()
895 for (; varbind != NULL; varbind = varbind->be_next) { in snmpc_df()
896 if (!snmpc_print(varbind)) in snmpc_df()
901 for (; varbind != NULL; varbind = varbind->be_next) { in snmpc_df()
902 if (ober_scanf_elements(varbind, "{os", &oid, in snmpc_df()
910 (void) ober_scanf_elements(pdu, "{SSS{e", &varbind); in snmpc_df()
911 for (; i < rows; varbind = varbind->be_next, i++) { in snmpc_df()
912 if (ober_scanf_elements(varbind, "{oe", &oid, in snmpc_df()
937 if (varbind != NULL) in snmpc_df()
964 &errorstatus, &errorindex, &varbind); in snmpc_df()
966 snmpc_printerror((enum snmp_error) errorstatus, varbind, in snmpc_df()
970 for (; varbind != NULL; varbind = varbind->be_next) { in snmpc_df()
971 if (!snmpc_print(varbind)) in snmpc_df()
975 for (j = 0; varbind != NULL; i++) { in snmpc_df()
976 if (ober_scanf_elements(varbind, "{oi}{oi}{oi}", in snmpc_df()
978 &(reqoid[2]), &used, &varbind) == -1) { in snmpc_df()
981 varbind = varbind->be_next->be_next->be_next; in snmpc_df()
1140 snmpc_printerror(enum snmp_error error, struct ber_element *varbind, in snmpc_printerror() argument
1150 for (i = 1; varbind != NULL && i < index; in snmpc_printerror()
1151 varbind = varbind->be_next) in snmpc_printerror()
1153 if (varbind != NULL && in snmpc_printerror()
1154 ober_get_oid(varbind->be_sub, &vboid) == 0) { in snmpc_printerror()
1390 struct ber_element *varbind = NULL, *vblist = NULL; in snmpc_varbindparse() local
1408 if ((varbind = ober_printf_elements(varbind, "{Oxt}", in snmpc_varbindparse()
1450 if ((varbind = ober_printf_elements(varbind, "{Oit}", in snmpc_varbindparse()
1484 if ((varbind = ober_printf_elements(varbind, "{Oi}", in snmpc_varbindparse()
1489 if ((varbind = ober_printf_elements(varbind, "{O0}", in snmpc_varbindparse()
1498 if ((varbind = ober_printf_elements(varbind, "{OO}", in snmpc_varbindparse()
1507 if ((varbind = ober_printf_elements(varbind, "{Ox}", in snmpc_varbindparse()
1518 if ((varbind = ober_printf_elements(varbind, "{Oit}", in snmpc_varbindparse()
1529 if ((varbind = ober_printf_elements(varbind, "{Oit}", in snmpc_varbindparse()
1561 vblist = varbind; in snmpc_varbindparse()