net-snmp 5.7
|
00001 #ifndef _SNMPTCPIPV6DOMAIN_H 00002 #define _SNMPTCPIPV6DOMAIN_H 00003 00004 #if HAVE_NETINET_IN_H 00005 #include <netinet/in.h> 00006 #endif 00007 00008 config_require(IPv6Base) 00009 config_require(SocketBase) 00010 config_require(TCPBase) 00011 00012 #include <net-snmp/library/snmpIPv6BaseDomain.h> 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 /* 00019 * The SNMP over TCP over IPv6 transport domain is identified by 00020 * transportDomainTcpIpv4 as defined in RFC 3419. 00021 */ 00022 00023 #define TRANSPORT_DOMAIN_TCP_IPV6 1,3,6,1,2,1,100,1,6 00024 NETSNMP_IMPORT oid netsnmp_TCPIPv6Domain[]; 00025 00026 netsnmp_transport *netsnmp_tcp6_transport(struct sockaddr_in6 *addr, 00027 int local); 00028 00029 /* 00030 * "Constructor" for transport domain object. 00031 */ 00032 00033 NETSNMP_IMPORT void netsnmp_tcpipv6_ctor(void); 00034 00035 #ifdef __cplusplus 00036 } 00037 #endif 00038 #endif/*_SNMPTCPIPV6DOMAIN_H*/