/openbsd-current/usr.sbin/snmpd/ |
H A D | smi.h | 22 struct ber_oid; 24 char *smi_oid2string(struct ber_oid *, char *, size_t, size_t);
|
H A D | application.h | 81 struct ber_oid av_oid; 82 struct ber_oid av_oid_end; 126 enum appl_error appl_addagentcaps(const char *, struct ber_oid *, const char *, 128 enum appl_error appl_removeagentcaps(const char *, struct ber_oid *, 130 struct ber_element *appl_sysorlastchange(struct ber_oid *); 131 struct ber_element *appl_sysortable(struct ber_oid *); 132 struct ber_element *appl_sysortable_getnext(int8_t, struct ber_oid *); 133 struct ber_element *appl_targetmib(struct ber_oid *); 134 enum appl_error appl_register(const char *, uint32_t, uint8_t, struct ber_oid *, 136 enum appl_error appl_unregister(const char *, uint8_t, struct ber_oid *, [all...] |
H A D | application_internal.c | 38 struct ber_oid oid; 39 struct ber_element * (*get)(struct ber_oid *); 41 struct ber_element * (*getnext)(int8_t, struct ber_oid *); 49 void appl_internal_region(struct ber_oid *); 50 void appl_internal_object(struct ber_oid *, 51 struct ber_element *(*)(struct ber_oid *), 52 struct ber_element *(*)(int8_t, struct ber_oid *)); 57 struct ber_element *appl_internal_snmp(struct ber_oid *); 58 struct ber_element *appl_internal_engine(struct ber_oid *); 59 struct ber_element *appl_internal_usmstats(struct ber_oid *); [all...] |
H A D | trap.c | 44 trap_send(struct ber_oid *oid, struct ber_element *elm) 48 struct ber_oid uptime = OID(MIB_sysUpTime, 0); 49 struct ber_oid trapoid = OID(MIB_snmpTrapOID, 0);
|
H A D | snmpd.h | 176 #define OID(...) (struct ber_oid){ { __VA_ARGS__ }, \ 344 struct ber_oid ta_oid; 388 struct ber_oid sys_oid; 420 struct ber_oid *sc_blocklist; 431 struct ber_oid cmd_oid; 459 int trap_send(struct ber_oid *, struct ber_element *); 463 int smi_string2oid(const char *, struct ber_oid *); 464 const char *smi_insert(struct ber_oid *, const char *); 522 trapcmd_lookup(struct ber_oid *);
|
H A D | smi.c | 41 struct ber_oid o_id; 83 smi_oid2string(struct ber_oid *o, char *buf, size_t len, size_t skip) 91 bcopy(o, &key.o_id, sizeof(struct ber_oid)); 114 smi_string2oid(const char *oidstr, struct ber_oid *o) 119 struct ber_oid ko; 150 smi_insert(struct ber_oid *oid, const char *name) 390 struct ber_oid o; 458 struct ber_oid o;
|
H A D | traphandler.c | 67 struct ber_oid o1, o2, snmpTrapOIDOID; 68 struct ber_oid snmpTrapOID, sysUpTimeOID; 143 struct ber_oid trapoid, enterprise, oid, snmpTrapAddressOid; 144 struct ber_oid snmpTrapCommunityOid, snmpTrapEnterpriseOid; 282 struct ber_oid trapoid; 328 struct ber_oid oid; 425 trapcmd_lookup(struct ber_oid *oid)
|
H A D | application.c | 40 #define OID(...) (struct ber_oid){ { __VA_ARGS__ }, \ 49 struct ber_oid aa_oid; 68 struct ber_oid ar_oid; 123 struct ber_oid avi_origid; 139 struct ber_oid *, uint8_t, int, int, struct appl_backend *); 142 struct ber_oid *, char *, struct appl_backend *, int); 144 const struct ber_oid *); 146 struct ber_oid *, struct appl_region *); 161 void ober_oid_nextsibling(struct ber_oid *); 243 appl_addagentcaps(const char *ctxname, struct ber_oid *oi [all...] |
H A D | application_agentx.c | 98 struct ber_oid *appl_agentx_oid2ber_oid(struct ax_oid *, struct ber_oid *); 476 struct ber_oid oid; 648 struct ber_oid oid; 686 struct ber_oid oid; 820 struct ber_oid oid; 846 struct ber_oid oid; 939 struct ber_oid * 940 appl_agentx_oid2ber_oid(struct ax_oid *aoid, struct ber_oid *boid) 960 struct ber_oid oi [all...] |
H A D | mib.y | 223 struct item *mib_item_parent(struct ber_oid *); 1676 mib_item_parent(struct ber_oid *oid) 1692 mib_string2oid(const char *str, struct ber_oid *oid) 1697 struct ber_oid oidbuf; 1760 mib_oid2string(struct ber_oid *oid, char *buf, size_t buflen, 2022 struct ber_oid oid;
|
H A D | mib.h | 24 struct ber_oid; 34 char *mib_oid2string(struct ber_oid *, char *, size_t, 36 const char *mib_string2oid(const char *, struct ber_oid *);
|
H A D | parse.y | 147 int resolve_oid(struct ber_oid *, struct oid_sym *); 1677 resolve_oid(struct ber_oid *dst, struct oid_sym *src) 1702 struct ber_oid oid;
|
/openbsd-current/lib/libutil/ |
H A D | ber.h | 87 struct ber_oid { struct 127 struct ber_element *ober_add_oid(struct ber_element *, struct ber_oid *); 128 struct ber_element *ober_add_noid(struct ber_element *, struct ber_oid *, int); 130 int ober_get_oid(struct ber_element *, struct ber_oid *); 131 size_t ober_oid2ber(struct ber_oid *, u_int8_t *, size_t); 132 int ober_string2oid(const char *, struct ber_oid *); 149 int ober_oid_cmp(struct ber_oid *, struct ber_oid *);
|
H A D | ber.c | 425 ober_oid2ber(struct ber_oid *o, u_int8_t *buf, size_t len) 452 ober_string2oid(const char *oidstr, struct ber_oid *o) 474 ober_oid_cmp(struct ber_oid *a, struct ber_oid *b) 495 ober_add_oid(struct ber_element *prev, struct ber_oid *o) 527 ober_add_noid(struct ber_element *prev, struct ber_oid *o, int n) 529 struct ber_oid no; 542 struct ber_oid o; 551 ober_get_oid(struct ber_element *elm, struct ber_oid *o) 590 struct ber_oid * [all...] |
/openbsd-current/usr.bin/snmp/ |
H A D | smi.h | 58 struct ber_oid o_id; 85 int smi_string2oid(const char *, struct ber_oid *); 86 char *smi_oid2string(struct ber_oid *, char *, size_t, enum smi_oid_lookup); 91 char *smi_print_element(struct ber_oid *, struct ber_element *, int,
|
H A D | snmp.h | 169 snmp_get(struct snmp_agent *agent, struct ber_oid *oid, size_t len); 170 struct ber_element *snmp_getnext(struct snmp_agent *, struct ber_oid *, size_t); 172 snmp_getbulk(struct snmp_agent *, struct ber_oid *, size_t, int, int); 174 int snmp_trap(struct snmp_agent *, struct timespec *, struct ber_oid *,
|
H A D | snmp.c | 150 snmp_get(struct snmp_agent *agent, struct ber_oid *oid, size_t len) 173 snmp_getnext(struct snmp_agent *agent, struct ber_oid *oid, size_t len) 197 struct ber_oid *oid, struct ber_element *custvarbind) 200 struct ber_oid sysuptime, trap; 231 snmp_getbulk(struct snmp_agent *agent, struct ber_oid *oid, size_t len, 276 struct ber_oid oid;
|
H A D | smi.c | 243 smi_print_element(struct ber_oid *oid, struct ber_element *root, int print_hint, 253 struct ber_oid o; 488 smi_string2oid(const char *oidstr, struct ber_oid *o) 493 struct ber_oid ko; 547 smi_oid2string(struct ber_oid *o, char *buf, size_t len, 556 bcopy(o, &key.o_id, sizeof(struct ber_oid));
|
H A D | snmpc.c | 104 struct ber_oid walk_end = {{0}, 0}; 105 struct ber_oid *walk_skip = NULL; 526 struct ber_oid *oid; 594 struct ber_oid oid, loid, noid; 787 struct ber_oid trapoid; 839 struct ber_oid descroid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 3 }, 11}; 840 struct ber_oid unitsoid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 4 }, 11}; 841 struct ber_oid sizeoid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 5 }, 11}; 842 struct ber_oid usedoid = {{ 1, 3, 6, 1, 2, 1, 25, 2, 3, 1, 6 }, 11}; 843 struct ber_oid oi [all...] |
/openbsd-current/regress/usr.sbin/snmpd/ |
H A D | snmp.c | 38 #define BER_OID(...) (struct ber_oid){ {__VA_ARGS__}, \ 114 struct ber_oid *snmp_oid2ber_oid(struct oid *, struct ber_oid *); 117 char *smi_oid2string(struct ber_oid *, char *, size_t); 396 struct ber_oid oid; 668 struct ber_oid oid; 684 struct ber_oid * 685 snmp_oid2ber_oid(struct oid *oid, struct ber_oid *boid) 700 struct ber_oid oid; 797 smi_oid2string(struct ber_oid *oi [all...] |
/openbsd-current/regress/lib/libutil/ber/ |
H A D | ber_test_int_i.c | 529 struct ber_oid oid; 624 struct ber_oid oid;
|
H A D | ber_test.c | 331 struct ber_oid oid;
|
/openbsd-current/usr.sbin/ldapd/ |
H A D | logmsg.c | 99 struct ber_oid o;
|
H A D | schema.c | 253 struct ber_oid oid;
|
/openbsd-current/usr.bin/ldap/ |
H A D | aldap.c | 1111 struct ber_oid o;
|