| 1 |
#ifndef _SNMPTCPIPV6DOMAIN_H |
| 2 |
#define _SNMPTCPIPV6DOMAIN_H |
| 3 |
|
| 4 |
#ifdef HAVE_NETINET_IN_H |
| 5 |
#include <netinet/in.h> |
| 6 |
#endif |
| 7 |
|
| 8 |
config_require(IPv6Base); |
| 9 |
config_require(SocketBase); |
| 10 |
config_require(TCPBase); |
| 11 |
|
| 12 |
#include <net-snmp/library/snmpIPv6BaseDomain.h> |
| 13 |
|
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
|
| 18 |
/* |
| 19 |
* The SNMP over TCP over IPv6 transport domain is identified by |
| 20 |
* transportDomainTcpIpv4 as defined in RFC 3419. |
| 21 |
*/ |
| 22 |
|
| 23 |
#define TRANSPORT_DOMAIN_TCP_IPV6 1,3,6,1,2,1,100,1,6 |
| 24 |
NETSNMP_IMPORT oid netsnmp_TCPIPv6Domain[]; |
| 25 |
|
| 26 |
netsnmp_transport * |
| 27 |
netsnmp_tcp6_transport(const struct netsnmp_ep *ep, int local); |
| 28 |
|
| 29 |
/* |
| 30 |
* "Constructor" for transport domain object. |
| 31 |
*/ |
| 32 |
|
| 33 |
void netsnmp_tcpipv6_ctor(void); |
| 34 |
|
| 35 |
#ifdef __cplusplus |
| 36 |
} |
| 37 |
#endif |
| 38 |
#endif/*_SNMPTCPIPV6DOMAIN_H*/ |