snmpTCPIPv6Domain.h 756 B

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