00001 #ifndef _SNMPUDPIPV6DOMAIN_H
00002 #define _SNMPUDPIPV6DOMAIN_H
00003
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007
00008 #include <net-snmp/library/snmp_transport.h>
00009 #include <net-snmp/library/asn1.h>
00010
00011
00012
00013
00014
00015
00016 #define TRANSPORT_DOMAIN_UDP_IPV6 1,3,6,1,2,1,100,1,2
00017 extern oid netsnmp_UDPIPv6Domain[];
00018
00019 netsnmp_transport *snmp_udp6_transport(struct sockaddr_in6 *addr,
00020 int local);
00021
00022
00023
00024
00025
00026
00027
00028
00029 int netsnmp_sockaddr_in6(struct sockaddr_in6 *addr,
00030 const char *peername,
00031 int remote_port);
00032
00033 void netsnmp_udp6_agent_config_tokens_register(void);
00034 void netsnmp_udp6_parse_security(const char *token,
00035 char *param);
00036
00037 int netsnmp_udp6_getSecName(void *opaque, int olength,
00038 const char *community,
00039 int community_len, char **secname,
00040 char **contextName);
00041
00042
00043
00044
00045
00046 void netsnmp_udp6_ctor(void);
00047
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051 #endif