/usr/include/net-snmp/library/snmpIPv6BaseDomain.h is in libsnmp-dev 5.7.3+dfsg-1.7+deb9u1.
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 | /* IPV6 base transport support functions
*/
#ifndef SNMPIPV6BASE_H
#define SNMPIPV6BASE_H
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#include <net-snmp/library/snmp_transport.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Prototypes
*/
NETSNMP_IMPORT
char *netsnmp_ipv6_fmtaddr(const char *prefix, netsnmp_transport *t,
void *data, int len);
NETSNMP_IMPORT
int netsnmp_sockaddr_in6_2(struct sockaddr_in6 *addr,
const char *inpeername,
const char *default_target);
int netsnmp_sockaddr_in6(struct sockaddr_in6 *addr,
const char *inpeername, int remote_port);
#ifdef __cplusplus
}
#endif
#endif /* SNMPIPV6BASE_H */
|