net-snmp 5.7
snmpDTLSUDPDomain.h
00001 #ifndef _SNMPDTLSUDPDOMAIN_H
00002 #define _SNMPDTLSUDPDOMAIN_H
00003 
00004 #if HAVE_NETINET_IN_H
00005 #include <netinet/in.h>
00006 #endif
00007 
00008 config_require(UDP)
00009 config_require(TLSBase)
00010 
00011 #include <net-snmp/types.h>
00012 #include <net-snmp/library/snmp_transport.h>
00013 
00014 #ifdef __cplusplus
00015 extern          "C" {
00016 #endif
00017 
00018 #define TRANSPORT_DOMAIN_DTLS_UDP_IP    1,3,6,1,6,1,9
00019 NETSNMP_IMPORT oid netsnmpDTLSUDPDomain[7];
00020 NETSNMP_IMPORT size_t netsnmpDTLSUDPDomain_len;
00021 
00022 netsnmp_transport *netsnmp_dtlsudp_transport(struct sockaddr_in *addr,
00023                                              int local);
00024 
00025 
00026 /*
00027  * Register any configuration tokens specific to the agent.  
00028  */
00029 
00030 void            netsnmp_dtlsudp_agent_config_tokens_register(void);
00031 
00032 /*
00033  * "Constructor" for transport domain object.  
00034  */
00035 
00036 void            netsnmp_dtlsudp_ctor(void);
00037 
00038 #ifdef __cplusplus
00039 }
00040 #endif
00041 #endif/*_SNMPDTLSUDPDOMAIN_H*/