/freebsd-11-stable/contrib/bsnmp/lib/ |
H A D | asn1.h | 58 struct asn_oid { struct 112 enum asn_err asn_get_objid_raw(struct asn_buf *, asn_len_t, struct asn_oid *); 113 enum asn_err asn_get_objid(struct asn_buf *, struct asn_oid *); 114 enum asn_err asn_put_objid(struct asn_buf *, const struct asn_oid *); 138 void asn_slice_oid(struct asn_oid *, const struct asn_oid *, u_int, u_int); 141 void asn_append_oid(struct asn_oid *, const struct asn_oid *); 144 int asn_compare_oid(const struct asn_oid *, const struct asn_oid *); [all...] |
H A D | snmpagent.h | 73 struct asn_oid obj; 74 struct asn_oid idx; 97 struct asn_oid oid; 145 const struct asn_oid *, const struct asn_oid *, size_t, snmp_depop_t);
|
H A D | snmpclient.h | 135 /* add pairs of (struct asn_oid *, enum snmp_syntax) to an existing pdu */ 144 int snmp_oid_append(struct asn_oid *_oid, const char *_fmt, ...); 156 struct asn_oid table; 158 struct asn_oid last_change;
|
H A D | snmp.h | 69 struct asn_oid var; 77 struct asn_oid oid; 172 struct asn_oid enterprise;
|
H A D | asn1.c | 561 asn_get_objid_raw(struct asn_buf *b, asn_len_t len, struct asn_oid *oid) 616 asn_get_objid(struct asn_buf *b, struct asn_oid *oid) 632 asn_put_objid(struct asn_buf *b, const struct asn_oid *oid) 887 asn_slice_oid(struct asn_oid *dest, const struct asn_oid *src, 902 asn_append_oid(struct asn_oid *to, const struct asn_oid *from) 944 asn_compare_oid(const struct asn_oid *o1, const struct asn_oid *o2) 965 asn_is_suboid(const struct asn_oid *o [all...] |
/freebsd-11-stable/contrib/bsnmp/snmpd/ |
H A D | export.c | 212 struct asn_oid *oid) 214 if ((ctx->scratch->ptr1 = malloc(sizeof(struct asn_oid))) == NULL) 216 *(struct asn_oid *)ctx->scratch->ptr1 = *oid; 223 oid_rollback(struct snmp_context *ctx, struct asn_oid *oid) 225 *oid = *(struct asn_oid *)ctx->scratch->ptr1; 236 oid_get(struct snmp_value *value, const struct asn_oid *oid) 246 index_decode(const struct asn_oid *oid, u_int sub, u_int code, ...) 305 struct asn_oid *aval; 310 aval = va_arg(ap, struct asn_oid *); 361 index_compare_off(const struct asn_oid *oi [all...] |
H A D | snmpd.h | 59 struct asn_oid index; 133 struct asn_oid index; 169 struct asn_oid index; /* table index of this tp point */ 186 struct asn_oid id; /* OBJID of this transport */ 199 struct asn_oid index; /* transport table index */ 214 const struct asn_oid *, u_int); 216 const struct asn_oid *, u_int); 295 struct asn_oid oid; /* the resource OID */ 308 struct asn_oid index;
|
H A D | snmpmod.h | 56 * ordering can be done either on an integer/unsigned field, an asn_oid 296 const struct asn_oid *, const struct sockaddr *, socklen_t, 316 struct asn_oid object_id; 338 struct asn_oid *index, struct lmodule *owner, const char *str); 428 struct asn_oid subtree; /* key */ 459 struct vacm_view *vacm_new_view(char *, struct asn_oid *); 537 extern const struct asn_oid oid_zeroDotZero; 540 extern const struct asn_oid oid_usmUnknownEngineIDs; 541 extern const struct asn_oid oid_usmNotInTimeWindows; 574 u_int or_register(const struct asn_oid *, cons [all...] |
H A D | trap.c | 74 static const struct asn_oid oid_begemotTrapSinkTable = 76 static const struct asn_oid oid_sysUpTime = OIDX_sysUpTime; 77 static const struct asn_oid oid_snmpTrapOID = OIDX_snmpTrapOID; 302 struct asn_oid idx; 422 const struct asn_oid *trap_oid) 439 const struct asn_oid *trap_oid) 465 const struct asn_oid *trap_oid) 522 snmp_send_trap(const struct asn_oid *trap_oid, ...)
|
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptc.h | 87 typedef char * (*snmp_tc2oid_f) (char *str, struct asn_oid *oid); 92 char *snmp_tc2oid(enum snmp_tc tc, char *str, struct asn_oid *oid);
|
H A D | bsnmptools.h | 91 struct asn_oid var; 103 struct asn_oid var; 131 struct asn_oid cut; 235 extern const struct asn_oid IsoOrgDod_OID; 241 const struct asn_oid *, int32_t); 304 int32_t snmp_object_remove(struct snmp_toolinfo *, struct asn_oid *oid); 309 char *snmp_parse_suboid(char *, struct asn_oid *); 311 int32_t snmp_parse_numoid(char *, struct asn_oid *); 312 int32_t snmp_suboid_append(struct asn_oid *, asn_subid_t); 313 int32_t snmp_suboid_pop(struct asn_oid *); [all...] |
H A D | bsnmptc.c | 59 static char *snmp_str2asn_oid(char *, struct asn_oid *); 64 static char *snmp_date2asn_oid(char * , struct asn_oid *); 69 static char *snmp_addr2asn_oid(char *, struct asn_oid *); 74 static char *snmp_ntp_ts2asn_oid(char *, struct asn_oid *); 79 static char *snmp_bridgeid2oct(char *, struct asn_oid *); 84 static char *snmp_bport_id2oct(char *, struct asn_oid *); 89 static char *snmp_inetaddr2oct(char *str, struct asn_oid *oid); 93 static char *snmp_bits2oct(char *str, struct asn_oid *oid); 184 snmp_tc2oid(enum snmp_tc tc, char *str, struct asn_oid *oid) 231 snmp_str2asn_oid(char *str, struct asn_oid *oi [all...] |
H A D | bsnmptools.c | 68 const struct asn_oid IsoOrgDod_OID = { 240 const struct asn_oid *cut, int32_t done) 385 const struct asn_oid *cut) 721 struct asn_oid cut; 745 memset(&cut, 0, sizeof(struct asn_oid)); 1005 snmp_parse_suboid(char *str, struct asn_oid *oid) 1031 snmp_int2asn_oid(char *str, struct asn_oid *oid) 1056 struct asn_oid *oid) 1086 snmp_ip2asn_oid(char *str, struct asn_oid *oid) 1110 snmp_uint2asn_oid(char *str, struct asn_oid *oi [all...] |
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_fs_tbl.c | 74 const struct asn_oid *type; 117 static const struct asn_oid OIDX_hrFSBerkeleyFFS_c = OIDX_hrFSBerkeleyFFS; 118 static const struct asn_oid OIDX_hrFSiso9660_c = OIDX_hrFSiso9660; 119 static const struct asn_oid OIDX_hrFSNFS_c = OIDX_hrFSNFS; 120 static const struct asn_oid OIDX_hrFSLinuxExt2_c = OIDX_hrFSLinuxExt2; 121 static const struct asn_oid OIDX_hrFSOther_c = OIDX_hrFSOther; 122 static const struct asn_oid OIDX_hrFSFAT32_c = OIDX_hrFSFAT32; 123 static const struct asn_oid OIDX_hrFSNTFS_c = OIDX_hrFSNTFS; 124 static const struct asn_oid OIDX_hrFSNetware_c = OIDX_hrFSNetware; 125 static const struct asn_oid OIDX_hrFSHPFS_ [all...] |
H A D | hostres_snmp.h | 123 const struct asn_oid *type; 125 const struct asn_oid *id; /* only oid_zeroDotZero as (*id) value*/ 206 const struct asn_oid *fs_get_type(const struct statfs *);
|
H A D | hostres_snmp.c | 64 static const struct asn_oid oid_host = OIDX_host;
|
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | snmp_mibII.h | 81 struct asn_oid spec_oid; 98 struct asn_oid index; /* index for table search */ 109 struct asn_oid index;
|
H A D | mibII.h | 139 struct asn_oid index; 148 struct asn_oid index; /* contains both the ifindex and addr */
|
H A D | mibII_route.c | 69 sroute_index_append(struct asn_oid *oid, u_int sub, const struct sroute *s) 285 sroute_get(const struct asn_oid *oid, u_int sub) 302 sroute_getnext(struct asn_oid *oid, u_int sub)
|
/freebsd-11-stable/contrib/bsnmp/snmp_vacm/ |
H A D | vacm_snmp.c | 51 static const struct asn_oid oid_vacm = OIDX_snmpVacmMIB; 60 static void vacm_append_userindex(struct asn_oid *, 62 static int vacm_user_index_decode(const struct asn_oid *, 64 static struct vacm_user *vacm_get_user(const struct asn_oid *, 66 static struct vacm_user *vacm_get_next_user(const struct asn_oid *, 68 static void vacm_append_access_rule_index(struct asn_oid *, 70 static int vacm_access_rule_index_decode(const struct asn_oid *, 72 static struct vacm_access * vacm_get_access_rule(const struct asn_oid *, 74 static struct vacm_access * vacm_get_next_access_rule(const struct asn_oid *, 76 static int vacm_view_index_decode(const struct asn_oid *, uin [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_usm/ |
H A D | usm_snmp.c | 51 static const struct asn_oid oid_usm = OIDX_snmpUsmMIB; 53 static const struct asn_oid oid_usmNoAuthProtocol = OIDX_usmNoAuthProtocol; 54 static const struct asn_oid oid_usmHMACMD5AuthProtocol = \ 56 static const struct asn_oid oid_usmHMACSHAAuthProtocol = \ 59 static const struct asn_oid oid_usmNoPrivProtocol = OIDX_usmNoPrivProtocol; 60 static const struct asn_oid oid_usmDESPrivProtocol = OIDX_usmDESPrivProtocol; 61 static const struct asn_oid oid_usmAesCfb128Protocol = OIDX_usmAesCfb128Protocol; 63 static const struct asn_oid oid_usmUserSecurityName = OIDX_usmUserSecurityName; 70 static struct usm_user * usm_get_user(const struct asn_oid *, uint); 71 static struct usm_user * usm_get_next_user(const struct asn_oid *, uin [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_target/ |
H A D | target_snmp.c | 51 static const struct asn_oid oid_target = OIDX_snmpTargetMIB; 52 static const struct asn_oid oid_notification = OIDX_snmpNotificationMIB; 59 static const struct asn_oid oid_udp_domain = OIDX_snmpUDPDomain; 64 static void target_append_index(struct asn_oid *, uint, 66 static int target_decode_index(const struct asn_oid *, uint, 68 static struct target_address *target_get_address(const struct asn_oid *, 70 static struct target_address *target_get_next_address(const struct asn_oid *, 72 static struct target_param *target_get_param(const struct asn_oid *, 74 static struct target_param *target_get_next_param(const struct asn_oid *, 76 static struct target_notify *target_get_notify(const struct asn_oid *, [all...] |
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_addrs.c | 338 bridge_addrs_index_append(struct asn_oid *oid, uint sub, 354 bridge_addrs_get(const struct asn_oid *oid, uint sub, 375 bridge_addrs_getnext(const struct asn_oid *oid, uint sub, 457 bridge_addrs_begemot_index_append(struct asn_oid *oid, uint sub, 485 bridge_addrs_begemot_get(const struct asn_oid *oid, uint sub) 515 bridge_addrs_begemot_getnext(const struct asn_oid *oid, uint sub)
|
H A D | bridge_if.c | 57 static const struct asn_oid oid_newRoot = OIDX_newRoot; 58 static const struct asn_oid oid_TopologyChange = OIDX_topologyChange; 59 static const struct asn_oid oid_begemotBrigeName = \ 61 static const struct asn_oid oid_begemotNewRoot = OIDX_begemotBridgeNewRoot; 62 static const struct asn_oid oid_begemotTopologyChange = \ 930 bridge_name_index_get(const struct asn_oid *oid, uint sub, char *b_name) 945 bridge_if_index_append(struct asn_oid *oid, uint sub, 958 bridge_if_index_get(const struct asn_oid *oid, uint sub) 974 bridge_if_index_getnext(const struct asn_oid *oid, uint sub)
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.c | 62 static const struct asn_oid oid_wlan = OIDX_begemotWlan; 139 static struct wlan_iface * wlan_get_interface(const struct asn_oid *, uint); 140 static struct wlan_iface * wlan_get_snmp_interface(const struct asn_oid *, 142 static struct wlan_peer * wlan_get_peer(const struct asn_oid *, uint, 144 static struct ieee80211_channel *wlan_get_channel(const struct asn_oid *, uint, 146 static struct ieee80211_roamparam *wlan_get_roam_param(const struct asn_oid *, 148 static struct ieee80211_txparam *wlan_get_tx_param(const struct asn_oid *, 150 static struct wlan_scan_result *wlan_get_scanr(const struct asn_oid *, uint, 152 static struct wlan_mac_mac * wlan_get_acl_mac(const struct asn_oid *, 154 static struct wlan_iface * wlan_mesh_get_iface(const struct asn_oid *, uin [all...] |