ber_oid
ober_oid2ber(struct ber_oid *o, u_int8_t *buf, size_t len)
ober_string2oid(const char *oidstr, struct ber_oid *o)
ober_oid_cmp(struct ber_oid *a, struct ber_oid *b)
ober_add_oid(struct ber_element *prev, struct ber_oid *o)
ober_add_noid(struct ber_element *prev, struct ber_oid *o, int n)
struct ber_oid no;
struct ber_oid o;
ober_get_oid(struct ber_element *elm, struct ber_oid *o)
struct ber_oid *o;
o = va_arg(ap, struct ber_oid *);
struct ber_oid *o;
o = va_arg(ap, struct ber_oid *);
struct ber_element *ober_add_oid(struct ber_element *, struct ber_oid *);
struct ber_element *ober_add_noid(struct ber_element *, struct ber_oid *, int);
int ober_get_oid(struct ber_element *, struct ber_oid *);
size_t ober_oid2ber(struct ber_oid *, u_int8_t *, size_t);
int ober_string2oid(const char *, struct ber_oid *);
int ober_oid_cmp(struct ber_oid *, struct ber_oid *);
struct ber_oid o;
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid *snmp_oid2ber_oid(struct oid *, struct ber_oid *);
struct ber_oid moid, oid;
char *smi_oid2string(struct ber_oid *, char *, size_t);
#define BER_OID(...) (struct ber_oid){ {__VA_ARGS__}, \
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid *
snmp_oid2ber_oid(struct oid *oid, struct ber_oid *boid)
struct ber_oid oid;
smi_oid2string(struct ber_oid *oid, char *buf, size_t len)
struct ber_oid o;
struct ber_oid o;
smi_print_element(struct ber_oid *oid, struct ber_element *root, int print_hint,
struct ber_oid o;
smi_string2oid(const char *oidstr, struct ber_oid *o)
struct ber_oid ko;
smi_oid2string(struct ber_oid *o, char *buf, size_t len,
bcopy(o, &key.o_id, sizeof(struct ber_oid));
struct ber_oid o_id;
int smi_string2oid(const char *, struct ber_oid *);
char *smi_oid2string(struct ber_oid *, char *, size_t, enum smi_oid_lookup);
char *smi_print_element(struct ber_oid *, struct ber_element *, int,
snmp_get(struct snmp_agent *agent, struct ber_oid *oid, size_t len)
snmp_getnext(struct snmp_agent *agent, struct ber_oid *oid, size_t len)
struct ber_oid *oid, struct ber_element *custvarbind)
struct ber_oid sysuptime, trap;
snmp_getbulk(struct snmp_agent *agent, struct ber_oid *oid, size_t len,
struct ber_oid oid;
snmp_get(struct snmp_agent *agent, struct ber_oid *oid, size_t len);
struct ber_element *snmp_getnext(struct snmp_agent *, struct ber_oid *, size_t);
snmp_getbulk(struct snmp_agent *, struct ber_oid *, size_t, int, int);
int snmp_trap(struct snmp_agent *, struct timespec *, struct ber_oid *,
struct ber_oid walk_end = {{0}, 0};
struct ber_oid *walk_skip = NULL;
struct ber_oid soid;
struct ber_oid oid;
struct ber_oid hoid, vboid;
struct ber_oid oid, oidval;
struct ber_oid *oid;
struct ber_oid oid, loid, noid;
struct ber_oid trapoid;
struct ber_oid descroid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 3 }, 11};
struct ber_oid unitsoid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 4 }, 11};
struct ber_oid sizeoid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 5 }, 11};
struct ber_oid usedoid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 6 }, 11};
struct ber_oid oid, *reqoid;
struct ber_oid o;
struct ber_oid oid;
struct ber_oid avi_origid;
struct ber_oid *, uint8_t, int, int, struct appl_backend *);
struct ber_oid *, char *, struct appl_backend *, int);
const struct ber_oid *);
struct ber_oid *, struct appl_region *);
void ober_oid_nextsibling(struct ber_oid *);
struct ber_oid oid, nextsibling;
struct ber_oid *oid)
ober_oid_nextsibling(struct ber_oid *oid)
appl_addagentcaps(const char *ctxname, struct ber_oid *oid, const char *descr,
appl_removeagentcaps(const char *ctxname, struct ber_oid *oid,
appl_sysorlastchange(struct ber_oid *oid)
appl_sysortable(struct ber_oid *oid)
#define OID(...) (struct ber_oid){ { __VA_ARGS__ }, \
appl_sysortable_getnext(int8_t include, struct ber_oid *oid)
appl_targetmib(struct ber_oid *oid)
struct ber_oid *oid, uint8_t range_subid, int instance, int subtree,
struct ber_oid aa_oid;
struct ber_oid *oid, int instance, int subtree, uint8_t range_subid,
appl_unregister(const char *ctxname, uint8_t priority, struct ber_oid *oid,
struct ber_oid ar_oid;
struct ber_oid *oid, char *oidbuf, struct appl_backend *backend, int dofree)
const struct ber_oid *oid)
appl_region_next(struct appl_context *ctx, struct ber_oid *oid,
enum appl_error appl_addagentcaps(const char *, struct ber_oid *, const char *,
enum appl_error appl_removeagentcaps(const char *, struct ber_oid *,
struct ber_element *appl_sysorlastchange(struct ber_oid *);
struct ber_element *appl_sysortable(struct ber_oid *);
struct ber_element *appl_sysortable_getnext(int8_t, struct ber_oid *);
struct ber_element *appl_targetmib(struct ber_oid *);
enum appl_error appl_register(const char *, uint32_t, uint8_t, struct ber_oid *,
enum appl_error appl_unregister(const char *, uint8_t, struct ber_oid *,
void appl_report(struct snmp_message *, int32_t, struct ber_oid *);
const char *appl_internal_object_int(struct ber_oid *, int32_t);
const char *appl_internal_object_string(struct ber_oid *, char *);
struct ber_oid av_oid;
struct ber_oid av_oid_end;
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid *
appl_agentx_oid2ber_oid(struct ax_oid *aoid, struct ber_oid *boid)
struct ber_oid oid;
struct ber_oid *appl_agentx_oid2ber_oid(struct ax_oid *, struct ber_oid *);
appl_internal_region(struct ber_oid *oid)
appl_internal_object(struct ber_oid *oid,
struct ber_element *(*get)(struct ber_oid *),
struct ber_element *(*getnext)(int8_t, struct ber_oid *))
appl_internal_object_int(struct ber_oid *oid, int32_t val)
appl_internal_object_string(struct ber_oid *oid, char *val)
struct ber_oid oid;
struct ber_oid oid;
struct ber_oid oid;
struct ber_element * (*get)(struct ber_oid *);
struct ber_element * (*getnext)(int8_t, struct ber_oid *);
appl_internal_snmp(struct ber_oid *oid)
void appl_internal_region(struct ber_oid *);
void appl_internal_object(struct ber_oid *,
struct ber_element *(*)(struct ber_oid *),
struct ber_element *(*)(int8_t, struct ber_oid *));
appl_internal_engine(struct ber_oid *oid)
appl_internal_usmstats(struct ber_oid *oid)
struct ber_element *appl_internal_snmp(struct ber_oid *);
appl_internal_system(struct ber_oid *oid)
struct ber_element *appl_internal_engine(struct ber_oid *);
struct ber_element *appl_internal_usmstats(struct ber_oid *);
appl_internal_get_int(struct ber_oid *oid)
struct ber_element *appl_internal_system(struct ber_oid *);
appl_internal_get_string(struct ber_oid *oid)
struct ber_element *appl_internal_get_int(struct ber_oid *);
appl_internal_object_parent(struct ber_oid *oid)
struct ber_element *appl_internal_get_string(struct ber_oid *);
struct appl_internal_object *appl_internal_object_parent(struct ber_oid *);
struct ber_oid oid;
struct ber_oid;
char *mib_oid2string(struct ber_oid *, char *, size_t,
const char *mib_string2oid(const char *, struct ber_oid *);
mib_item_parent(struct ber_oid *oid)
mib_string2oid(const char *str, struct ber_oid *oid)
struct ber_oid oidbuf;
mib_oid2string(struct ber_oid *oid, char *buf, size_t buflen,
struct ber_oid oid;
struct item *mib_item_parent(struct ber_oid *);
int resolve_oid(struct ber_oid *, struct oid_sym *);
resolve_oid(struct ber_oid *dst, struct oid_sym *src)
struct ber_oid oid;
struct ber_oid ko;
smi_insert(struct ber_oid *oid, const char *name)
struct ber_oid o;
struct ber_oid o_id;
struct ber_oid o;
smi_oid2string(struct ber_oid *o, char *buf, size_t len, size_t skip)
bcopy(o, &key.o_id, sizeof(struct ber_oid));
smi_string2oid(const char *oidstr, struct ber_oid *o)
struct ber_oid;
char *smi_oid2string(struct ber_oid *, char *, size_t, size_t);
#define OID(...) (struct ber_oid){ { __VA_ARGS__ }, \
struct ber_oid ta_oid;
struct ber_oid sys_oid;
struct ber_oid *sc_blocklist;
struct ber_oid cmd_oid;
int trap_send(struct ber_oid *, struct ber_element *);
int smi_string2oid(const char *, struct ber_oid *);
const char *smi_insert(struct ber_oid *, const char *);
trapcmd_lookup(struct ber_oid *);
trap_send(struct ber_oid *oid, struct ber_element *elm)
struct ber_oid uptime = OID(MIB_sysUpTime, 0);
struct ber_oid trapoid = OID(MIB_snmpTrapOID, 0);
struct ber_oid trapoid, enterprise, oid, snmpTrapAddressOid;
struct ber_oid snmpTrapCommunityOid, snmpTrapEnterpriseOid;
struct ber_oid trapoid;
struct ber_oid oid;
trapcmd_lookup(struct ber_oid *oid)
struct ber_oid o1, o2, snmpTrapOIDOID;
struct ber_oid snmpTrapOID, sysUpTimeOID;
struct ber_oid o;