blob: 2135da372988bef54e749759f29ca5b33da916be [file] [log] [blame]
#ifndef _SNMPDTLSUDPDOMAIN_H
#define _SNMPDTLSUDPDOMAIN_H
#if HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
config_require(UDP)
config_require(TLSBase)
#include <net-snmp/types.h>
#include <net-snmp/library/snmp_transport.h>
#ifdef __cplusplus
extern "C" {
#endif
#define TRANSPORT_DOMAIN_DTLS_UDP_IP 1,3,6,1,6,1,9
NETSNMP_IMPORT oid netsnmpDTLSUDPDomain[7];
NETSNMP_IMPORT size_t netsnmpDTLSUDPDomain_len;
netsnmp_transport *netsnmp_dtlsudp_transport(struct sockaddr_in *addr,
int local);
/*
* Register any configuration tokens specific to the agent.
*/
void netsnmp_dtlsudp_agent_config_tokens_register(void);
/*
* "Constructor" for transport domain object.
*/
void netsnmp_dtlsudp_ctor(void);
#ifdef __cplusplus
}
#endif
#endif/*_SNMPDTLSUDPDOMAIN_H*/