35 #ifndef RTI_EXPORT_REDA_SEQUENCE
36 #define RTI_EXPORT_REDA_SEQUENCE
39 #ifndef osapi_config_h
42 #ifndef osapi_thread_h
49 #include "reda/reda_string.h"
51 #ifndef reda_sequence_h
52 #include "reda/reda_sequence.h"
57 #ifndef netio_config_h
60 #ifndef netio_address_h
61 #include "netio/netio_address.h"
64 #include "netio/netio_route.h"
75 struct NETIO_Address local_address;
76 struct NETIO_Address public_address;
79 #define UDP_NatEntry_INITIALIZER \
81 NETIO_Address_INITIALIZER,\
82 NETIO_Address_INITIALIZER,\
85 #define T struct UDP_NatEntry
86 #define TSeq UDP_NatEntrySeq
87 #include <reda/reda_sequence_decl.h>
89 #define UDP_NatEntrySeq_INITIALIZER \
90 REDA_DEFINE_SEQUENCE_INITIALIZER(struct UDP_NatEntry)
98 #define UDP_INTERFACE_MAX_IFNAME 64
104 #define UDP_INTERFACE_INTERFACE_UP_FLAG 0x1
110 #define UDP_INTERFACE_INTERFACE_MULTICAST_FLAG 0x2
115 #define UDP_INTERFACE_MAX_NETMASK_BITS (32)
120 struct DDSCPPDllExport UDP_InterfaceTableEntry
140 char ifname[UDP_INTERFACE_MAX_IFNAME];
147 #define UDP_InterfaceTableEntry_INITIALIZER \
155 #define T struct UDP_InterfaceTableEntry
156 #define TSeq UDP_InterfaceTableEntrySeq
157 #include <reda/reda_sequence_decl.h>
159 #define UDP_InterfaceTableEntrySeq_INITIALIZER \
160 REDA_DEFINE_SEQUENCE_INITIALIZER(struct UDP_InterfaceTableEntry)
164 MUST_CHECK_RETURN NETIODllExport
RTI_BOOL
182 UDP_InterfaceFactoryProperty_initialize(
187 UDP_InterfaceFactoryProperty_finalize(
203 struct NETIO_InterfaceFactoryProperty _parent;
208 struct REDA_StringSeq allow_interface;
214 struct REDA_StringSeq deny_interface;
239 struct UDP_NatEntrySeq nat;
245 struct UDP_InterfaceTableEntrySeq if_table;
269 struct OSAPI_ThreadProperty recv_thread;
275 UDP_InterfaceFactoryProperty_initialize(
this);
289 #if (OSAPI_PLATFORM == OSAPI_PLATFORM_VXWORKS) && \
290 (!VXWORKS_VERSION_6_3_OR_BETTER)
292 #define UDP_InterfaceFactoryProperty_INITIALIZER \
294 NETIO_InterfaceFactoryProperty_INITIALIZER,\
295 REDA_StringSeq_INITIALIZER,\
296 REDA_StringSeq_INITIALIZER,\
301 UDP_NatEntrySeq_INITIALIZER,\
302 UDP_InterfaceTableEntrySeq_INITIALIZER,\
306 OSAPI_THREAD_PROPERTY_DEFAULT \
311 #define UDP_InterfaceFactoryProperty_INITIALIZER \
313 NETIO_InterfaceFactoryProperty_INITIALIZER,\
314 REDA_StringSeq_INITIALIZER,\
315 REDA_StringSeq_INITIALIZER,\
320 UDP_NatEntrySeq_INITIALIZER,\
321 UDP_InterfaceTableEntrySeq_INITIALIZER,\
325 OSAPI_THREAD_PROPERTY_DEFAULT \
328 #define UDP_InterfaceFactoryProperty_INITIALIZER \
330 NETIO_InterfaceFactoryProperty_INITIALIZER,\
331 REDA_StringSeq_INITIALIZER,\
332 REDA_StringSeq_INITIALIZER,\
337 UDP_InterfaceTableEntrySeq_INITIALIZER,\
341 OSAPI_THREAD_PROPERTY_DEFAULT \
346 #define UDP_INTERFACE_INTERFACE_ID RT_MKINTERFACEID(\
347 RT_COMPONENT_CLASS_NETIO,RT_COMPONENT_INSTANCE_UDP)
353 MUST_CHECK_RETURN NETIODllExport
struct RT_ComponentFactoryI*
360 #undef RTI_EXPORT_REDA_SEQUENCE