net-snmp 5.7
snmpIPv6BaseDomain.h
00001 /* IPV6 base transport support functions
00002  */
00003 #ifndef SNMPIPV6BASE_H
00004 #define SNMPIPV6BASE_H
00005 
00006 #if HAVE_NETINET_IN_H
00007 #include <netinet/in.h>
00008 #endif
00009 
00010 #include <net-snmp/library/snmp_transport.h>
00011 
00012 #ifdef __cplusplus
00013 extern          "C" {
00014 #endif
00015 
00016 /*
00017  * Prototypes
00018  */
00019 
00020     NETSNMP_IMPORT
00021     char *netsnmp_ipv6_fmtaddr(const char *prefix, netsnmp_transport *t,
00022                                void *data, int len);
00023     NETSNMP_IMPORT
00024     int netsnmp_sockaddr_in6_2(struct sockaddr_in6 *addr,
00025                                const char *inpeername,
00026                                const char *default_target);
00027     int netsnmp_sockaddr_in6(struct sockaddr_in6 *addr,
00028                              const char *inpeername, int remote_port);
00029 
00030 #ifdef __cplusplus
00031 }
00032 #endif
00033 #endif /* SNMPIPV6BASE_H */
00034