smi_foreach
struct oid *smi_foreach(struct oid *);
for (oid = NULL; (oid = smi_foreach(oid)) != NULL;) {