/usr/include/net-snmp/library/snmpTCPIPv6Domain.h is in libsnmp-dev 5.7.3+dfsg-1.8ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #ifndef _SNMPTCPIPV6DOMAIN_H
#define _SNMPTCPIPV6DOMAIN_H
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
config_require(IPv6Base)
config_require(SocketBase)
config_require(TCPBase)
#include <net-snmp/library/snmpIPv6BaseDomain.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* The SNMP over TCP over IPv6 transport domain is identified by
* transportDomainTcpIpv4 as defined in RFC 3419.
*/
#define TRANSPORT_DOMAIN_TCP_IPV6 1,3,6,1,2,1,100,1,6
NETSNMP_IMPORT oid netsnmp_TCPIPv6Domain[];
netsnmp_transport *netsnmp_tcp6_transport(struct sockaddr_in6 *addr,
int local);
/*
* "Constructor" for transport domain object.
*/
NETSNMP_IMPORT void netsnmp_tcpipv6_ctor(void);
#ifdef __cplusplus
}
#endif
#endif/*_SNMPTCPIPV6DOMAIN_H*/
|