Lines Matching refs:sub
244 u_int sub, u_int iidx __unused, enum snmp_op op) in op_system_group() argument
246 asn_subid_t which = value->var.subs[sub - 1]; in op_system_group()
356 op_debug(struct snmp_context *ctx, struct snmp_value *value, u_int sub, in op_debug() argument
359 asn_subid_t which = value->var.subs[sub - 1]; in op_debug()
449 u_int sub, u_int iidx __unused, enum snmp_op op) in op_or_table() argument
456 if ((objres = NEXT_OBJECT_INT(&objres_list, &value->var, sub)) in op_or_table()
459 value->var.subs[sub] = objres->index; in op_or_table()
460 value->var.len = sub + 1; in op_or_table()
464 if ((objres = FIND_OBJECT_INT(&objres_list, &value->var, sub)) in op_or_table()
470 if ((objres = FIND_OBJECT_INT(&objres_list, &value->var, sub)) in op_or_table()
484 switch (value->var.subs[sub - 1]) { in op_or_table()
506 u_int sub, u_int iidx __unused, enum snmp_op op) in op_snmp() argument
514 switch (value->var.subs[sub - 1]) { in op_snmp()
555 switch (value->var.subs[sub - 1]) { in op_snmp()
566 switch (value->var.subs[sub - 1]) { in op_snmp()
574 switch (value->var.subs[sub - 1]) { in op_snmp()
589 u_int sub, u_int iidx __unused, enum snmp_op op) in op_snmpd_stats() argument
594 switch (value->var.subs[sub - 1]) { in op_snmpd_stats()
631 u_int sub, u_int iidx __unused, enum snmp_op op) in op_snmpd_config() argument
633 asn_subid_t which = value->var.subs[sub - 1]; in op_snmpd_config()
752 u_int sub, u_int iidx __unused, enum snmp_op op) in op_community() argument
756 asn_subid_t which = value->var.subs[sub - 1]; in op_community()
762 (c = NEXT_OBJECT_OID(&community_list, &value->var, sub)) == NULL) in op_community()
764 index_append(&value->var, sub, &c->index); in op_community()
769 (c = FIND_OBJECT_OID(&community_list, &value->var, sub)) == NULL) in op_community()
795 sub)) == NULL) { in op_community()
819 sub)) == NULL) in op_community()
832 sub)) == NULL) in op_community()
929 u_int sub, u_int iidx, enum snmp_op op) in op_modules() argument
931 asn_subid_t which = value->var.subs[sub - 1]; in op_modules()
941 if ((m = NEXT_OBJECT_OID(&lmodules, &value->var, sub)) == NULL) in op_modules()
943 index_append(&value->var, sub, &m->index); in op_modules()
947 if ((m = FIND_OBJECT_OID(&lmodules, &value->var, sub)) == NULL) in op_modules()
952 m = FIND_OBJECT_OID(&lmodules, &value->var, sub); in op_modules()
961 if (index_decode(&value->var, sub, iidx, in op_modules()
1002 asn_slice_oid(&idx, &value->var, sub, value->var.len); in op_modules()
1056 u_int sub, u_int iidx __unused, enum snmp_op op) in op_snmp_set() argument
1064 switch (value->var.subs[sub - 1]) { in op_snmp_set()
1076 switch (value->var.subs[sub - 1]) { in op_snmp_set()
1104 u_int sub, u_int iidx __unused, enum snmp_op op) in op_snmp_engine() argument
1106 asn_subid_t which = value->var.subs[sub - 1]; in op_snmp_engine()
1201 u_int sub, u_int iidx, enum snmp_op op) in op_transport_table() argument
1203 asn_subid_t which = value->var.subs[sub - 1]; in op_transport_table()
1211 if ((t = NEXT_OBJECT_OID(&transport_list, &value->var, sub)) in op_transport_table()
1214 index_append(&value->var, sub, &t->index); in op_transport_table()
1218 if ((t = FIND_OBJECT_OID(&transport_list, &value->var, sub)) in op_transport_table()
1224 t = FIND_OBJECT_OID(&transport_list, &value->var, sub); in op_transport_table()
1233 if (index_decode(&value->var, sub, iidx, in op_transport_table()