| /freebsd-13.1/usr.sbin/bsnmpd/tools/bsnmptools/ |
| H A D | bsnmpget.c | 595 struct snmp_value *value, char *string) in parse_oid_string() 613 parse_ip(struct snmp_value * value, char * val) in parse_ip() 635 parse_int(struct snmp_value *value, char *val) in parse_int() 682 parse_uint(struct snmp_value *value, char *val) in parse_uint() 706 parse_ticks(struct snmp_value *value, char *val) in parse_ticks() 716 parse_gauge(struct snmp_value *value, char *val) in parse_gauge() 736 parse_uint64(struct snmp_value *value, char *val) in parse_uint64() 952 add_ip_syntax(struct snmp_value *dst, struct snmp_value *src) in add_ip_syntax() 964 add_octstring_syntax(struct snmp_value *dst, struct snmp_value *src) in add_octstring_syntax() 986 add_oid_syntax(struct snmp_value *dst, struct snmp_value *src) in add_oid_syntax() [all …]
|
| /freebsd-13.1/contrib/ngatm/snmp_atm/ |
| H A D | atm.h | 80 int atmif_get_aif(struct snmp_value *, u_int, enum snmp_op, 90 int atm_sys_get_hw_vendor(struct atmif_priv *, struct snmp_value *); 93 int atm_sys_get_hw_device(struct atmif_priv *, struct snmp_value *);
|
| H A D | snmp_atm.c | 397 atmif_get_aif(struct snmp_value *value, u_int sub, enum snmp_op op, in atmif_get_aif() 443 op_atmif(struct snmp_context *ctx __unused, struct snmp_value *value, in op_atmif() 522 op_atmhw(struct snmp_context *ctx __unused, struct snmp_value *value, in op_atmhw() 561 op_atm(struct snmp_context *ctx __unused, struct snmp_value *value, in op_atm()
|
| /freebsd-13.1/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 | snmppriv.h | 35 enum asn_err snmp_binding_encode(struct asn_buf *, 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 | 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-13.1/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-13.1/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| H A D | bsnmptc.c | 60 static int parse_octetstring(struct snmp_value *, char *); 65 static int parse_dateandtime(struct snmp_value *, char *); 75 static int parse_ntp_ts(struct snmp_value *, char *); 80 static int parse_bridge_id(struct snmp_value *, char *); 85 static int parse_bport_id(struct snmp_value *, char *); 259 parse_octetstring(struct snmp_value *value, char *val) in parse_octetstring() 497 parse_dateandtime(struct snmp_value *sv, char *val) in parse_dateandtime() 652 parse_physaddress(struct snmp_value *sv, char *val) in parse_physaddress() 781 parse_ntp_ts(struct snmp_value *sv, char *val) in parse_ntp_ts() 944 parse_bridge_id(struct snmp_value *sv, char *string) in parse_bridge_id() [all …]
|
| H A D | bsnmptc.h | 88 typedef int32_t (*snmp_tc2oct_f) (struct snmp_value *value, char *string); 93 int32_t snmp_tc2oct(enum snmp_tc tc, struct snmp_value *value, char *string);
|
| H A D | bsnmptools.h | 124 struct snmp_value val; 305 int32_t snmp_object_seterror(struct snmp_toolinfo *, struct snmp_value *, 325 int32_t snmp_output_numval(struct snmp_toolinfo *, struct snmp_value *, 327 void snmp_output_val(struct snmp_value *);
|
| /freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_bridge/ |
| H A D | bridge_if.c | 263 static struct snmp_value* 293 struct snmp_value bif_idx; in bridge_new_root() 296 snmp_send_trap(&oid_newRoot, (struct snmp_value *) NULL); in bridge_new_root() 302 &bif_idx, (struct snmp_value *) NULL); in bridge_new_root() 312 struct snmp_value bif_idx; in bridge_top_change() 316 (struct snmp_value *) NULL); in bridge_top_change() 322 &bif_idx, (struct snmp_value *) NULL); in bridge_top_change() 867 op_dot1d_tp(struct snmp_context *ctx, struct snmp_value *value, in op_dot1d_tp() 999 struct snmp_value *val, uint sub) in bridge_set_if_status() 1084 struct snmp_value *val, uint sub) in bridge_rollback_if_status() [all …]
|
| H A D | bridge_port.c | 346 op_dot1d_base_port(struct snmp_context *c __unused, struct snmp_value *val, in op_dot1d_base_port() 418 op_dot1d_stp_port(struct snmp_context *ctx, struct snmp_value *val, in op_dot1d_stp_port() 576 op_dot1d_stp_ext_port(struct snmp_context *ctx, struct snmp_value *val, in op_dot1d_stp_ext_port() 717 op_dot1d_tp_port(struct snmp_context *c __unused, struct snmp_value *val, in op_dot1d_tp_port() 915 struct snmp_value *val, uint sub) in bridge_port_set_status() 982 struct snmp_value *val, uint sub) in bridge_port_rollback_status() 1005 bridge_port_commit_status(struct snmp_value *val, uint sub) in bridge_port_commit_status() 1037 struct snmp_value *val, uint sub) in bridge_port_set_span_enable() 1076 op_begemot_base_port(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_base_port() 1195 op_begemot_stp_port(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_stp_port() [all …]
|
| H A D | bridge_pf.c | 76 op_begemot_bridge_pf(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_bridge_pf()
|
| /freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_pf/ |
| H A D | pf_snmp.c | 155 pf_status(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_status() 196 pf_counter(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_counter() 239 pf_statetable(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_statetable() 279 pf_srcnodes(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_srcnodes() 319 pf_limits(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_limits() 361 pf_timeouts(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_timeouts() 451 pf_logif(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_logif() 553 pf_iftable(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_iftable() 671 pf_tables(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_tables() 944 pf_altqq(struct snmp_context __unused *ctx, struct snmp_value *val, in pf_altqq() [all …]
|
| /freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_hostres/ |
| H A D | hostres_scalars.c | 145 OS_getSystemDate(struct snmp_value *value) in OS_getSystemDate() 373 op_hrSystem(struct snmp_context *ctx, struct snmp_value *value, in op_hrSystem() 468 op_hrStorage(struct snmp_context *ctx __unused, struct snmp_value *value, in op_hrStorage()
|
| /freebsd-13.1/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII_ip.c | 151 op_ip(struct snmp_context *ctx, struct snmp_value *value, in op_ip() 244 op_ipstat(struct snmp_context *ctx __unused, struct snmp_value *value, in op_ipstat() 347 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_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_begemot.c | 40 op_begemot_mibII(struct snmp_context *ctx, struct snmp_value *value, in op_begemot_mibII()
|
| 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()
|
| /freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_wlan/ |
| H A D | wlan_snmp.c | 97 static int bits_get(struct snmp_value *, const u_char *, ssize_t); 203 struct snmp_value *, uint); 205 struct snmp_value *, uint); 489 op_wlan_iface_config(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_iface_config() 1079 op_wlan_tx_params(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_tx_params() 1183 op_wlan_scan_config(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_scan_config() 1753 op_wlan_wep_iface(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_wep_iface() 1852 struct snmp_value *val __unused, uint32_t sub __unused, in op_wlan_wep_key() 2114 op_wlan_mesh_iface(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_mesh_iface() 2344 op_wlan_mesh_route(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_mesh_route() [all …]
|