Lines Matching refs:varbind
152 struct ber_element *pdu, *varbind; in snmp_get() local
157 if ((varbind = ober_printf_elements(pdu, "tddd{", BER_CLASS_CONTEXT, in snmp_get()
161 varbind = ober_printf_elements(varbind, "{O0}", &oid[i]); in snmp_get()
162 if (varbind == NULL) in snmp_get()
175 struct ber_element *pdu, *varbind; in snmp_getnext() local
180 if ((varbind = ober_printf_elements(pdu, "tddd{", BER_CLASS_CONTEXT, in snmp_getnext()
184 varbind = ober_printf_elements(varbind, "{O0}", &oid[i]); in snmp_getnext()
185 if (varbind == NULL) in snmp_getnext()
199 struct ber_element *pdu, *varbind; in snmp_trap() local
205 if ((varbind = ober_printf_elements(pdu, "tddd{", BER_CLASS_CONTEXT, in snmp_trap()
213 if ((varbind = ober_printf_elements(varbind, "{Oit}", &sysuptime, ticks, in snmp_trap()
218 if ((varbind = ober_printf_elements(varbind, "{OO}", &trap, oid)) == NULL) in snmp_trap()
221 ober_link_elements(varbind, custvarbind); in snmp_trap()
234 struct ber_element *pdu, *varbind; in snmp_getbulk() local
239 if ((varbind = ober_printf_elements(pdu, "tddd{", BER_CLASS_CONTEXT, in snmp_getbulk()
244 varbind = ober_printf_elements(varbind, "{O0}", &oid[i]); in snmp_getbulk()
245 if (varbind == NULL) in snmp_getbulk()
275 struct ber_element *varbind; in snmp_resolve() local
346 if (ober_scanf_elements(pdu, "{iSSe", &rreqid, &varbind) != 0 || in snmp_resolve()
347 varbind->be_encoding != BER_TYPE_SEQUENCE) { in snmp_resolve()
359 for (varbind = varbind->be_sub; varbind != NULL; in snmp_resolve()
360 varbind = varbind->be_next) { in snmp_resolve()
361 if (ober_scanf_elements(varbind, "{oS}", &oid) != 0) { in snmp_resolve()
368 if (varbind != NULL) in snmp_resolve()