/freebsd/usr.sbin/bsnmpd/tools/bsnmptools/ |
H A D | bsnmpget.c | 554 parse_oid_numeric(struct snmp_value *value, char *val) in parse_oid_numeric() 593 struct snmp_value *value, char *string) in parse_oid_string() 611 parse_ip(struct snmp_value * value, char * val) in parse_ip() 633 parse_int(struct snmp_value *value, char *val) in parse_int() 680 parse_uint(struct snmp_value *value, char *val) in parse_uint() 704 parse_ticks(struct snmp_value *value, char *val) in parse_ticks() 714 parse_gauge(struct snmp_value *value, char *val) in parse_gauge() 724 parse_counter(struct snmp_value *value, char *val) in parse_counter() 734 parse_uint64(struct snmp_value *value, char *val) in parse_uint64() 759 parse_syntax_val(struct snmp_value *value, enum snmp_syntax syntax, char *val) in parse_syntax_val() [all …]
|
/freebsd/contrib/bsnmp/lib/ |
H A D | snmp.h | 71 struct snmp_value { struct 197 struct snmp_value bindings[SNMP_MAX_BINDINGS]; 260 void snmp_value_free(struct snmp_value *); 262 int snmp_value_copy(struct snmp_value *, const struct snmp_value *);
|
H A D | snmpagent.c | 115 find_node(const struct snmp_value *value, enum snmp_syntax *errp) in find_node() 157 find_subnode(const struct snmp_value *value) in find_subnode() 291 next_node(const struct snmp_value *value, int *pnext) in next_node() 335 do_getnext(struct context *context, const struct snmp_value *inb, in do_getnext() 336 struct snmp_value *outb, struct snmp_pdu *pdu) in do_getnext() 573 struct snmp_value *b; in rollback() 683 struct snmp_value *b; in snmp_set()
|
H A D | snmppriv.h | 35 enum asn_err snmp_binding_encode(struct asn_buf *, const struct snmp_value *);
|
H A D | snmp.c | 72 get_var_binding(struct asn_buf *b, struct snmp_value *binding) in get_var_binding() 249 struct snmp_value *v; in parse_pdus() 909 snmp_binding_encode(struct asn_buf *b, const struct snmp_value *binding) in snmp_binding_encode() 1012 dump_binding(const struct snmp_value *b) in dump_binding() 1155 snmp_value_free(struct snmp_value *value) in snmp_value_free() 1166 snmp_value_copy(struct snmp_value *to, const struct snmp_value *from) in snmp_value_copy()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | export.c | 57 string_save(struct snmp_value *value, struct snmp_context *ctx, in string_save() 108 string_get(struct snmp_value *value, const u_char *ptr, ssize_t len) in string_get() 130 string_get_max(struct snmp_value *value, const u_char *ptr, ssize_t len, in string_get_max() 158 ip_save(struct snmp_value *value, struct snmp_context *ctx, u_char *valp) in ip_save() 195 ip_get(struct snmp_value *value, u_char *valp) in ip_get() 211 oid_save(struct snmp_value *value, struct snmp_context *ctx, in oid_save() 236 oid_get(struct snmp_value *value, const struct asn_oid *oid) in oid_get()
|
H A D | snmpmod.h | 645 int string_save(struct snmp_value *, struct snmp_context *, ssize_t, u_char **); 648 int string_get(struct snmp_value *, const u_char *, ssize_t); 649 int string_get_max(struct snmp_value *, const u_char *, ssize_t, size_t); 652 int ip_save(struct snmp_value *, struct snmp_context *, u_char *); 655 int ip_get(struct snmp_value *, u_char *); 657 int oid_save(struct snmp_value *, struct snmp_context *, struct asn_oid *); 660 int oid_get(struct snmp_value *, const struct asn_oid *);
|
H A D | action.c | 243 op_system_group(struct snmp_context *ctx, struct snmp_value *value, in op_system_group() 356 op_debug(struct snmp_context *ctx, struct snmp_value *value, u_int sub, in op_debug() 448 op_or_table(struct snmp_context *ctx __unused, struct snmp_value *value, in op_or_table() 505 op_snmp(struct snmp_context *ctx, struct snmp_value *value, in op_snmp() 588 op_snmpd_stats(struct snmp_context *ctx __unused, struct snmp_value *value, in op_snmpd_stats() 630 op_snmpd_config(struct snmp_context *ctx, struct snmp_value *value, in op_snmpd_config() 751 op_community(struct snmp_context *ctx, struct snmp_value *value, in op_community() 928 op_modules(struct snmp_context *ctx, struct snmp_value *value, in op_modules() 1055 op_snmp_set(struct snmp_context *ctx __unused, struct snmp_value *value, in op_snmp_set() 1103 op_snmp_engine(struct snmp_context *ctx __unused, struct snmp_value *value, in op_snmp_engine() [all …]
|
H A D | config.c | 120 struct snmp_value value; 689 const struct snmp_value *value) in handle_assignment() 870 parse_syntax_null(struct snmp_value *value __unused) in parse_syntax_null() 877 parse_syntax_integer(struct snmp_value *value) in parse_syntax_integer() 889 parse_syntax_counter64(struct snmp_value *value) in parse_syntax_counter64() 899 parse_syntax_octetstring(struct snmp_value *value) in parse_syntax_octetstring() 948 parse_syntax_oid(struct snmp_value *value) in parse_syntax_oid() 970 parse_syntax_ipaddress(struct snmp_value *value) in parse_syntax_ipaddress() 1001 parse_syntax_uint32(struct snmp_value *value) in parse_syntax_uint32() 1018 struct snmp_value value; in parse_assign()
|
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptc.c | 58 static int parse_octetstring(struct snmp_value *, char *); 63 static int parse_dateandtime(struct snmp_value *, char *); 68 static int parse_physaddress(struct snmp_value *, char *); 73 static int parse_ntp_ts(struct snmp_value *, char *); 78 static int parse_bridge_id(struct snmp_value *, char *); 83 static int parse_bport_id(struct snmp_value *, char *); 88 static int32_t parse_inetaddr(struct snmp_value *value, char *string); 92 static int32_t parse_bits(struct snmp_value *value, char *string); 191 snmp_tc2oct(enum snmp_tc tc, struct snmp_value *value, char *string) in snmp_tc2oct() 257 parse_octetstring(struct snmp_value *value, char *val) in parse_octetstring() [all …]
|
H A D | bsnmptc.h | 86 typedef int32_t (*snmp_tc2oct_f) (struct snmp_value *value, char *string); 91 int32_t snmp_tc2oct(enum snmp_tc tc, struct snmp_value *value, char *string);
|
H A D | bsnmptools.h | 122 struct snmp_value val; 303 int32_t snmp_object_seterror(struct snmp_toolinfo *, struct snmp_value *, 323 int32_t snmp_output_numval(struct snmp_toolinfo *, struct snmp_value *, 325 void snmp_output_val(struct snmp_value *);
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_if.c | 261 static struct snmp_value* 262 bridge_basename_var(struct bridge_if *bif, struct snmp_value* b_val) in bridge_basename_var() 291 struct snmp_value bif_idx; in bridge_new_root() 294 snmp_send_trap(&oid_newRoot, (struct snmp_value *) NULL); in bridge_new_root() 300 &bif_idx, (struct snmp_value *) NULL); in bridge_new_root() 310 struct snmp_value bif_idx; in bridge_top_change() 314 (struct snmp_value *) NULL); in bridge_top_change() 320 &bif_idx, (struct snmp_value *) NULL); in bridge_top_change() 632 op_dot1d_base(struct snmp_context *ctx __unused, struct snmp_value *value, in op_dot1d_base() 672 op_dot1d_stp(struct snmp_context *ctx, struct snmp_value *val, uint sub, in op_dot1d_stp() [all …]
|
H A D | bridge_port.c | 344 op_dot1d_base_port(struct snmp_context *c __unused, struct snmp_value *val, in op_dot1d_base_port() 416 op_dot1d_stp_port(struct snmp_context *ctx, struct snmp_value *val, in op_dot1d_stp_port() 574 op_dot1d_stp_ext_port(struct snmp_context *ctx, struct snmp_value *val, in op_dot1d_stp_ext_port() 715 op_dot1d_tp_port(struct snmp_context *c __unused, struct snmp_value *val, in op_dot1d_tp_port() 913 struct snmp_value *val, uint sub) in bridge_port_set_status() 980 struct snmp_value *val, uint sub) in bridge_port_rollback_status() 1003 bridge_port_commit_status(struct snmp_value *val, uint sub) in bridge_port_commit_status() 1035 struct snmp_value *val, uint sub) in bridge_port_set_span_enable() 1074 op_begemot_base_port(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_base_port() 1193 op_begemot_stp_port(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_stp_port() [all …]
|
H A D | bridge_pf.c | 74 op_begemot_bridge_pf(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_bridge_pf()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/ |
H A D | pf_snmp.c | 153 pf_status(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_status() 194 pf_counter(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_counter() 237 pf_statetable(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_statetable() 277 pf_srcnodes(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_srcnodes() 317 pf_limits(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_limits() 357 pf_timeouts(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_timeouts() 447 pf_logif(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_logif() 520 pf_interfaces(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_interfaces() 549 pf_iftable(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_iftable() 667 pf_tables(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_tables() [all …]
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_scalars.c | 120 OS_getSystemDate(struct snmp_value *value) in OS_getSystemDate() 348 op_hrSystem(struct snmp_context *ctx, struct snmp_value *value, in op_hrSystem() 443 op_hrStorage(struct snmp_context *ctx __unused, struct snmp_value *value, in op_hrStorage()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.c | 95 static int bits_get(struct snmp_value *, const u_char *, ssize_t); 201 struct snmp_value *, uint); 203 struct snmp_value *, uint); 217 op_wlan_iface(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, in op_wlan_iface() 444 op_wlan_if_parent(struct snmp_context *ctx __unused, struct snmp_value *val, in op_wlan_if_parent() 487 op_wlan_iface_config(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_iface_config() 876 op_wlan_if_peer(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, in op_wlan_if_peer() 962 op_wlan_channels(struct snmp_context *ctx __unused, struct snmp_value *val, in op_wlan_channels() 1030 op_wlan_roam_params(struct snmp_context *ctx __unused, struct snmp_value *val, in op_wlan_roam_params() 1077 op_wlan_tx_params(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_tx_params() [all …]
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_udp.c | 151 op_udp(struct snmp_context *ctx __unused, struct snmp_value *value, in op_udp() 201 op_udptable(struct snmp_context *ctx __unused, struct snmp_value *value, in op_udptable()
|
H A D | mibII_ip.c | 163 op_ip(struct snmp_context *ctx, struct snmp_value *value, in op_ip() 256 op_ipstat(struct snmp_context *ctx __unused, struct snmp_value *value, in op_ipstat() 359 op_icmpstat(struct snmp_context *ctx __unused, struct snmp_value *value, in op_icmpstat()
|
H A D | mibII_ifmib.c | 40 op_ifmib(struct snmp_context *ctx __unused, struct snmp_value *value, in op_ifmib()
|
H A D | mibII_interfaces.c | 159 op_interfaces(struct snmp_context *ctx __unused, struct snmp_value *value, in op_interfaces() 191 op_ifentry(struct snmp_context *ctx, struct snmp_value *value, in op_ifentry() 366 op_ifxtable(struct snmp_context *ctx, struct snmp_value *value, in op_ifxtable()
|
H A D | mibII_begemot.c | 40 op_begemot_mibII(struct snmp_context *ctx, struct snmp_value *value, in op_begemot_mibII()
|
H A D | mibII_ifstack.c | 70 op_ifstack(struct snmp_context *ctx __unused, struct snmp_value *value, in op_ifstack()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/ |
H A D | snmp_lm75.c | 331 op_lm75Sensors(struct snmp_context *context __unused, struct snmp_value *value, in op_lm75Sensors() 366 struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) in op_lm75SensorTable()
|