/* UDPshared base transport support functions * * Portions of this file are copyrighted by: * Copyright (c) 2016 VMware, Inc. All rights reserved. * Use is subject to license terms specified in the COPYING file * distributed with the Net-SNMP package. */ #ifndef SNMPUDPsharedBASE_H #define SNMPUDPsharedBASE_H #if HAVE_SYS_SOCKET_H #include #endif #if HAVE_NETINET_IN_H #include #endif config_require(UDP) #include #include #ifdef __cplusplus extern "C" { #endif /* * Prototypes */ /* * "Constructor" for transport domain object. */ void netsnmp_udpshared_ctor(void); netsnmp_transport *netsnmp_udpshared_transport(const struct netsnmp_ep *ep, int local); netsnmp_transport * netsnmp_udpshared_transport_with_source(const struct netsnmp_ep *ep, int local, const struct netsnmp_ep *src_addr); #ifdef __cplusplus } #endif #endif /* SNMPUDPsharedBASE_H */