Home
last modified time | relevance | path

Searched refs:snmp_context (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/bsnmp/lib/
H A Dsnmpagent.h48 struct snmp_context { struct
69 typedef int (*snmp_depop_t)(struct snmp_context *, struct snmp_dependency *, argument
93 typedef int (*snmp_op_t)(struct snmp_context *, struct snmp_value *,
144 struct snmp_dependency *snmp_dep_lookup(struct snmp_context *,
147 struct snmp_context *snmp_init_context(void);
148 int snmp_dep_commit(struct snmp_context *);
149 int snmp_dep_rollback(struct snmp_context *);
150 void snmp_dep_finish(struct snmp_context *);
H A Dsnmpagent.c80 struct snmp_context ctx;
95 struct snmp_context *
601 snmp_dep_commit(struct snmp_context *ctx) in snmp_dep_commit()
628 snmp_dep_rollback(struct snmp_context *ctx) in snmp_dep_rollback()
658 snmp_dep_finish(struct snmp_context *ctx) in snmp_dep_finish()
928 snmp_dep_lookup(struct snmp_context *ctx, const struct asn_oid *obj, in snmp_dep_lookup()
/freebsd/contrib/bsnmp/snmpd/
H A Dexport.c57 string_save(struct snmp_value *value, struct snmp_context *ctx, in string_save()
80 string_commit(struct snmp_context *ctx) in string_commit()
89 string_rollback(struct snmp_context *ctx, u_char **valp) in string_rollback()
99 string_free(struct snmp_context *ctx) in string_free()
158 ip_save(struct snmp_value *value, struct snmp_context *ctx, u_char *valp) in ip_save()
175 ip_rollback(struct snmp_context *ctx, u_char *valp) in ip_rollback()
187 ip_commit(struct snmp_context *ctx __unused) in ip_commit()
211 oid_save(struct snmp_value *value, struct snmp_context *ctx, in oid_save()
223 oid_rollback(struct snmp_context *ctx, struct asn_oid *oid) in oid_rollback()
230 oid_commit(struct snmp_context *ctx) in oid_commit()
H A Dsnmpmod.h645 int string_save(struct snmp_value *, struct snmp_context *, ssize_t, u_char **);
646 void string_commit(struct snmp_context *);
647 void string_rollback(struct snmp_context *, u_char **);
650 void string_free(struct snmp_context *);
652 int ip_save(struct snmp_value *, struct snmp_context *, u_char *);
653 void ip_rollback(struct snmp_context *, u_char *);
654 void ip_commit(struct snmp_context *);
657 int oid_save(struct snmp_value *, struct snmp_context *, struct asn_oid *);
658 void oid_rollback(struct snmp_context *, struct asn_oid *);
659 void oid_commit(struct snmp_context *);
H A Daction.c243 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()
874 dep_modules(struct snmp_context *ctx, struct snmp_dependency *dep, in dep_modules()
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()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c153 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_bridge/
H A Dbridge_port.c344 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()
912 bridge_port_set_status(struct snmp_context *ctx, in bridge_port_set_status()
979 bridge_port_rollback_status(struct snmp_context *ctx, in bridge_port_rollback_status()
1034 bridge_port_set_span_enable(struct snmp_context *ctx, 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()
1336 op_begemot_stp_ext_port(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_stp_ext_port()
[all …]
H A Dbridge_snmp.c152 bridge_default_name_save(struct snmp_context *ctx, const char *bridge_default) in bridge_default_name_save()
165 op_begemot_bridge_config(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_bridge_config()
H A Dbridge_if.c632 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()
865 op_dot1d_tp(struct snmp_context *ctx, struct snmp_value *value, in op_dot1d_tp()
996 bridge_set_if_status(struct snmp_context *ctx, in bridge_set_if_status()
1081 bridge_rollback_if_status(struct snmp_context *ctx, in bridge_rollback_if_status()
1126 op_begemot_base_bridge(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_base_bridge()
1191 op_begemot_stp(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_stp()
1398 op_begemot_tp(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_tp()
H A Dbridge_pf.c74 op_begemot_bridge_pf(struct snmp_context *ctx, struct snmp_value *val, in op_begemot_bridge_pf()
/freebsd/contrib/bsnmp/snmp_mibII/
H A DmibII_interfaces.c67 ifchange_func(struct snmp_context *ctx __unused, struct snmp_dependency *dep, in ifchange_func()
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 DmibII_ipaddr.c145 destroy(struct snmp_context *ctx __unused, struct update *upd, in destroy()
158 update_func(struct snmp_context *ctx, struct snmp_dependency *dep, in update_func()
220 op_ipaddr(struct snmp_context *ctx, struct snmp_value *value, in op_ipaddr()
H A DmibII_udp.c151 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 DmibII_ip.c163 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 DmibII_ifmib.c40 op_ifmib(struct snmp_context *ctx __unused, struct snmp_value *value, in op_ifmib()
H A DmibII_begemot.c40 op_begemot_mibII(struct snmp_context *ctx, struct snmp_value *value, in op_begemot_mibII()
H A DmibII_ifstack.c70 op_ifstack(struct snmp_context *ctx __unused, struct snmp_value *value, in op_ifstack()
H A DmibII_tcp.c207 op_tcp(struct snmp_context *ctx __unused, struct snmp_value *value, in op_tcp()
292 op_tcpconn(struct snmp_context *ctx __unused, struct snmp_value *value, in op_tcpconn()
H A DmibII_rcvaddr.c93 op_rcvaddr(struct snmp_context *ctx __unused, struct snmp_value *value, in op_rcvaddr()
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c200 static int wlan_acl_mac_set_status(struct snmp_context *,
202 static int wlan_mesh_route_set_status(struct snmp_context *,
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()
1181 op_wlan_scan_config(struct snmp_context *ctx, struct snmp_value *val, in op_wlan_scan_config()
[all …]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_scalars.c348 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()
H A Dhostres_swrun_tbl.c579 op_hrSWRunTable(struct snmp_context *ctx __unused, struct snmp_value *value, in op_hrSWRunTable()
704 op_hrSWRun(struct snmp_context *ctx __unused, struct snmp_value *value, in op_hrSWRun()
742 op_hrSWRunPerfTable(struct snmp_context *ctx __unused, in op_hrSWRunPerfTable()
H A Dhostres_swinstalled_tbl.c441 op_hrSWInstalledTable(struct snmp_context *ctx __unused, in op_hrSWInstalledTable()
507 op_hrSWInstalled(struct snmp_context *ctx __unused, in op_hrSWInstalled()
/freebsd/usr.sbin/bsnmpd/modules/snmp_lm75/
H A Dsnmp_lm75.c331 op_lm75Sensors(struct snmp_context *context __unused, struct snmp_value *value, in op_lm75Sensors()
365 op_lm75SensorTable(struct snmp_context *context __unused, in op_lm75SensorTable()
/freebsd/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c82 op_snmp_target(struct snmp_context *ctx __unused, struct snmp_value *val, in op_snmp_target()
129 op_snmp_target_addrs(struct snmp_context *ctx __unused, struct snmp_value *val, in op_snmp_target_addrs()
339 op_snmp_target_params(struct snmp_context *ctx __unused, struct snmp_value *val, in op_snmp_target_params()
521 op_snmp_notify(struct snmp_context *ctx __unused, struct snmp_value *val, in op_snmp_notify()

12