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 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;
239 struct UDP_NatEntrySeq nat;
275 UDP_InterfaceFactoryProperty_initialize(
this);
282 UDP_InterfaceFactoryProperty_initialize(
this);
315 #if (OSAPI_PLATFORM == OSAPI_PLATFORM_VXWORKS) && \
316 (!VXWORKS_VERSION_6_3_OR_BETTER)
318 #define UDP_InterfaceFactoryProperty_INITIALIZER \
320 NETIO_InterfaceFactoryProperty_INITIALIZER,\
321 REDA_StringSeq_INITIALIZER,\
322 REDA_StringSeq_INITIALIZER,\
327 UDP_NatEntrySeq_INITIALIZER,\
328 UDP_InterfaceTableEntrySeq_INITIALIZER,\
332 OSAPI_THREAD_PROPERTY_DEFAULT \
337 #define UDP_InterfaceFactoryProperty_INITIALIZER \
339 NETIO_InterfaceFactoryProperty_INITIALIZER,\
340 REDA_StringSeq_INITIALIZER,\
341 REDA_StringSeq_INITIALIZER,\
346 UDP_NatEntrySeq_INITIALIZER,\
347 UDP_InterfaceTableEntrySeq_INITIALIZER,\
351 OSAPI_THREAD_PROPERTY_DEFAULT \
354 #define UDP_InterfaceFactoryProperty_INITIALIZER \
356 NETIO_InterfaceFactoryProperty_INITIALIZER,\
357 REDA_StringSeq_INITIALIZER,\
358 REDA_StringSeq_INITIALIZER,\
363 UDP_InterfaceTableEntrySeq_INITIALIZER,\
367 OSAPI_THREAD_PROPERTY_DEFAULT \
372 #define UDP_INTERFACE_INTERFACE_ID RT_MKINTERFACEID(\
373 RT_COMPONENT_CLASS_NETIO,RT_COMPONENT_INSTANCE_UDP)
379 MUST_CHECK_RETURN NETIODllExport
struct RT_ComponentFactoryI*
386 #undef RTI_EXPORT_REDA_SEQUENCE