SM0 She11
Path:
/
/
usr
/
include
/
net-snmp
/
agent
Full Path (server): /usr/include/net-snmp/agent
Create Fil3
Upl04d Fil3
📄 agent_callbacks.h
[E]
[D]
[R]
📄 agent_handler.h
[E]
[D]
[R]
📄 agent_index.h
[E]
[D]
[R]
📄 agent_module_config.h
[E]
[D]
[R]
📄 agent_read_config.h
[E]
[D]
[R]
📄 agent_registry.h
[E]
[D]
[R]
📄 agent_sysORTable.h
[E]
[D]
[R]
📄 agent_trap.h
[E]
[D]
[R]
📄 all_helpers.h
[E]
[D]
[R]
📄 auto_nlist.h
[E]
[D]
[R]
📄 baby_steps.h
[E]
[D]
[R]
📄 bulk_to_next.h
[E]
[D]
[R]
📄 cache_handler.h
[E]
[D]
[R]
📄 debug_handler.h
[E]
[D]
[R]
📄 ds_agent.h
[E]
[D]
[R]
📄 instance.h
[E]
[D]
[R]
📄 mfd.h
[E]
[D]
[R]
📄 mib_module_config.h
[E]
[D]
[R]
📄 mib_module_includes.h
[E]
[D]
[R]
📄 mib_modules.h
[E]
[D]
[R]
📄 mode_end_call.h
[E]
[D]
[R]
📄 multiplexer.h
[E]
[D]
[R]
📄 net-snmp-agent-includes.h
[E]
[D]
[R]
📄 null.h
[E]
[D]
[R]
📄 old_api.h
[E]
[D]
[R]
📄 read_only.h
[E]
[D]
[R]
📄 row_merge.h
[E]
[D]
[R]
📄 scalar.h
[E]
[D]
[R]
📄 scalar_group.h
[E]
[D]
[R]
📄 serialize.h
[E]
[D]
[R]
📄 set_helper.h
[E]
[D]
[R]
📄 snmp_agent.h
[E]
[D]
[R]
📄 snmp_get_statistic.h
[E]
[D]
[R]
📄 snmp_vars.h
[E]
[D]
[R]
📄 stash_cache.h
[E]
[D]
[R]
📄 stash_to_next.h
[E]
[D]
[R]
📄 struct.h
[E]
[D]
[R]
📄 sysORTable.h
[E]
[D]
[R]
📄 table.h
[E]
[D]
[R]
📄 table_array.h
[E]
[D]
[R]
📄 table_container.h
[E]
[D]
[R]
📄 table_data.h
[E]
[D]
[R]
📄 table_dataset.h
[E]
[D]
[R]
📄 table_iterator.h
[E]
[D]
[R]
📄 table_tdata.h
[E]
[D]
[R]
📁 util_funcs
Open
[D]
[R]
📄 util_funcs.h
[E]
[D]
[R]
📄 var_struct.h
[E]
[D]
[R]
📄 watcher.h
[E]
[D]
[R]
Editing: agent_trap.h
#ifndef AGENT_TRAP_H #define AGENT_TRAP_H #ifdef __cplusplus extern "C" { #endif struct agent_add_trap_args { netsnmp_session *ss; int confirm; }; void init_traps(void); void send_easy_trap(int, int); void send_trap_pdu(netsnmp_pdu *); void send_v2trap(netsnmp_variable_list *); void send_v3trap(netsnmp_variable_list *vars, const char *context); void send_trap_vars(int, int, netsnmp_variable_list *); void send_trap_vars_with_context(int trap, int specific, netsnmp_variable_list *vars, const char *context); void send_enterprise_trap_vars(int trap, int specific, const oid * enterprise, int enterprise_length, netsnmp_variable_list * vars); int netsnmp_send_traps(int trap, int specific, const oid * enterprise, int enterprise_length, netsnmp_variable_list * vars, /* flags are currently unused */ const char * context, int flags); void snmpd_parse_config_authtrap(const char *, char *); void snmpd_parse_config_trapsink(const char *, char *); void snmpd_parse_config_trap2sink(const char *, char *); void snmpd_parse_config_informsink(const char *, char *); void snmpd_parse_config_trapsess(const char *, char *); void snmpd_free_trapsinks(void); void snmpd_parse_config_trapcommunity(const char *, char *); void snmpd_free_trapcommunity(void); void send_trap_to_sess(netsnmp_session * sess, netsnmp_pdu *template_pdu); int create_trap_session(char *, u_short, char *, int, int); int add_trap_session(netsnmp_session *, int, int, int); int remove_trap_session(netsnmp_session *); void convert_v2_to_v1(netsnmp_variable_list *, netsnmp_pdu *); netsnmp_variable_list *convert_v1_to_v2(netsnmp_pdu *); netsnmp_pdu *convert_v2pdu_to_v1(netsnmp_pdu *); netsnmp_pdu *convert_v1pdu_to_v2(netsnmp_pdu *); #ifdef __cplusplus } #endif #endif /* AGENT_TRAP_H */
Save