Searched refs:asn_oid (Results 1 - 25 of 56) sorted by relevance

123

/freebsd-10.0-release/contrib/bsnmp/lib/
H A Dasn1.h58 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 Dsnmpagent.h73 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 Dsnmpclient.h135 /* 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 Dsnmp.h69 struct asn_oid var;
77 struct asn_oid oid;
172 struct asn_oid enterprise;
H A Dasn1.c556 asn_get_objid_raw(struct asn_buf *b, asn_len_t len, struct asn_oid *oid)
611 asn_get_objid(struct asn_buf *b, struct asn_oid *oid)
627 asn_put_objid(struct asn_buf *b, const struct asn_oid *oid)
882 asn_slice_oid(struct asn_oid *dest, const struct asn_oid *src,
897 asn_append_oid(struct asn_oid *to, const struct asn_oid *from)
939 asn_compare_oid(const struct asn_oid *o1, const struct asn_oid *o2)
960 asn_is_suboid(const struct asn_oid *o
[all...]
/freebsd-10.0-release/contrib/bsnmp/snmpd/
H A Dexport.c207 struct asn_oid *oid)
209 if ((ctx->scratch->ptr1 = malloc(sizeof(struct asn_oid))) == NULL)
211 *(struct asn_oid *)ctx->scratch->ptr1 = *oid;
218 oid_rollback(struct snmp_context *ctx, struct asn_oid *oid)
220 *oid = *(struct asn_oid *)ctx->scratch->ptr1;
231 oid_get(struct snmp_value *value, const struct asn_oid *oid)
241 index_decode(const struct asn_oid *oid, u_int sub, u_int code, ...)
300 struct asn_oid *aval;
305 aval = va_arg(ap, struct asn_oid *);
356 index_compare_off(const struct asn_oid *oi
[all...]
H A Dsnmpd.h59 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 */
198 struct asn_oid index; /* transport table index */
213 const struct asn_oid *, u_int);
215 const struct asn_oid *, u_int);
294 struct asn_oid oid; /* the resource OID */
307 struct asn_oid index;
H A Dsnmpmod.h56 * 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;
426 struct asn_oid subtree; /* key */
457 struct vacm_view *vacm_new_view(char *, struct asn_oid *);
535 extern const struct asn_oid oid_zeroDotZero;
538 extern const struct asn_oid oid_usmUnknownEngineIDs;
539 extern const struct asn_oid oid_usmNotInTimeWindows;
572 u_int or_register(const struct asn_oid *, const char *, struct lmodule *);
591 void snmp_send_port(void *, const struct asn_oid *, struc
[all...]
H A Dtrap.c74 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)
530 snmp_send_trap(const struct asn_oid *trap_oid, ...)
/freebsd-10.0-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.h87 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 Dbsnmptools.h91 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 Dbsnmptc.c59 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 Dbsnmptools.c68 const struct asn_oid IsoOrgDod_OID = {
240 const struct asn_oid *cut, int32_t done)
388 const struct asn_oid *cut)
725 struct asn_oid cut;
749 memset(&cut, 0, sizeof(struct asn_oid));
1009 snmp_parse_suboid(char *str, struct asn_oid *oid)
1035 snmp_int2asn_oid(char *str, struct asn_oid *oid)
1061 struct asn_oid *oid)
1093 snmp_ip2asn_oid(char *str, struct asn_oid *oid)
1116 snmp_uint2asn_oid(char *str, struct asn_oid *oi
[all...]
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_fs_tbl.c74 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 Dhostres_snmp.h123 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 Dhostres_snmp.c64 static const struct asn_oid oid_host = OIDX_host;
/freebsd-10.0-release/contrib/bsnmp/snmp_mibII/
H A Dsnmp_mibII.h81 struct asn_oid spec_oid;
95 struct asn_oid index; /* index for table search */
106 struct asn_oid index;
H A DmibII.h134 struct asn_oid index;
143 struct asn_oid index; /* contains both the ifindex and addr */
H A DmibII_interfaces.c59 static const struct asn_oid
197 struct asn_oid idx;
372 struct asn_oid idx;
/freebsd-10.0-release/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c51 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-10.0-release/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c51 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-10.0-release/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c51 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-10.0-release/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_addrs.c336 bridge_addrs_index_append(struct asn_oid *oid, uint sub,
352 bridge_addrs_get(const struct asn_oid *oid, uint sub,
373 bridge_addrs_getnext(const struct asn_oid *oid, uint sub,
455 bridge_addrs_begemot_index_append(struct asn_oid *oid, uint sub,
483 bridge_addrs_begemot_get(const struct asn_oid *oid, uint sub)
513 bridge_addrs_begemot_getnext(const struct asn_oid *oid, uint sub)
H A Dbridge_if.c55 static const struct asn_oid oid_newRoot = OIDX_newRoot;
56 static const struct asn_oid oid_TopologyChange = OIDX_topologyChange;
57 static const struct asn_oid oid_begemotBrigeName = \
59 static const struct asn_oid oid_begemotNewRoot = OIDX_begemotBridgeNewRoot;
60 static const struct asn_oid oid_begemotTopologyChange = \
928 bridge_name_index_get(const struct asn_oid *oid, uint sub, char *b_name)
943 bridge_if_index_append(struct asn_oid *oid, uint sub,
956 bridge_if_index_get(const struct asn_oid *oid, uint sub)
972 bridge_if_index_getnext(const struct asn_oid *oid, uint sub)
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c60 static const struct asn_oid oid_wlan = OIDX_begemotWlan;
137 static struct wlan_iface * wlan_get_interface(const struct asn_oid *, uint);
138 static struct wlan_iface * wlan_get_snmp_interface(const struct asn_oid *,
140 static struct wlan_peer * wlan_get_peer(const struct asn_oid *, uint,
142 static struct ieee80211_channel *wlan_get_channel(const struct asn_oid *, uint,
144 static struct ieee80211_roamparam *wlan_get_roam_param(const struct asn_oid *,
146 static struct ieee80211_txparam *wlan_get_tx_param(const struct asn_oid *,
148 static struct wlan_scan_result *wlan_get_scanr(const struct asn_oid *, uint,
150 static struct wlan_mac_mac * wlan_get_acl_mac(const struct asn_oid *,
152 static struct wlan_iface * wlan_mesh_get_iface(const struct asn_oid *, uin
[all...]

Completed in 226 milliseconds

123