net-snmp 5.7
|
00001 #ifndef _SNMPSSHDOMAIN_H 00002 #define _SNMPSSHDOMAIN_H 00003 00004 config_require(IPv4Base) 00005 config_require(SocketBase) 00006 00007 #ifdef NETSNMP_TRANSPORT_SSH_DOMAIN 00008 00009 #include <net-snmp/library/snmp_transport.h> 00010 00011 #if HAVE_NETINET_IN_H 00012 #include <netinet/in.h> 00013 #endif 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 /* 00020 * The SNMP over SSH over IPv4 transport domain is identified by 00021 * transportDomainSshIpv4 as defined in RFC 3419. 00022 */ 00023 00024 #define TRANSPORT_DOMAIN_SSH_IP 1,3,6,1,2,1,100,1,100 00025 NETSNMP_IMPORT const oid netsnmp_snmpSSHDomain[]; 00026 enum { netsnmp_snmpSSHDomain_len = 9 }; 00027 00028 netsnmp_transport *netsnmp_ssh_transport(struct sockaddr_in *addr, int local); 00029 00030 /* 00031 * "Constructor" for transport domain object. 00032 */ 00033 00034 void netsnmp_ssh_ctor(void); 00035 00036 #ifdef __cplusplus 00037 } 00038 #endif 00039 #endif /*NETSNMP_TRANSPORT_SSH_DOMAIN */ 00040 00041 #endif/*_SNMPSSHDOMAIN_H*/