RTI Connext C API Version 7.6.0

UDP Transport Plugin definitions. More...

Data Structures

struct  NDDS_Transport_UDP_WAN_CommPortsMappingInfo
 Type for storing UDP WAN communication ports. More...
 

Macros

#define NDDS_TRANSPORT_UDP_PROPERTIES_BITMAP_DEFAULT   (0)
 Default value of NDDS_Transport_Property_t::properties_bitmap. More...
 
#define NDDS_TRANSPORT_UDP_GATHER_SEND_BUFFER_COUNT_MAX_DEFAULT   (16)
 Default value of NDDS_Transport_Property_t::gather_send_buffer_count_max. More...
 
#define NDDS_TRANSPORT_UDP_SOCKET_BUFFER_SIZE_OS_MAX    RTI_OSAPI_UDP_SOCKET_BUFFER_SIZE_OS_MAX
 Used to specify that os maximum be used to specify socket buffer size. More...
 
#define NDDS_TRANSPORT_UDP_SOCKET_BUFFER_SIZE_OS_DEFAULT    RTI_OSAPI_UDP_SOCKET_BUFFER_SIZE_OS_DEFAULT
 Used to specify that os default be used to specify socket buffer size. More...
 
#define NDDS_TRANSPORT_UDP_SEND_SOCKET_BUFFER_SIZE_DEFAULT    RTI_OSAPI_UDP_SEND_SOCKET_BUFFER_SIZE_DEFAULT
 Default value of send_socket_buffer_size. More...
 
#define NDDS_TRANSPORT_UDP_RECV_SOCKET_BUFFER_SIZE_DEFAULT    RTI_OSAPI_UDP_RECV_SOCKET_BUFFER_SIZE_DEFAULT
 Default value of recv_socket_buffer_size. More...
 
#define NDDS_TRANSPORT_UDP_MULTICAST_TTL_DEFAULT   (1)
 Default value of multicast_ttl. More...
 

Typedefs

typedef RTI_UINT16 NDDS_Transport_UDP_Port
 UDP port. More...
 

Detailed Description

UDP Transport Plugin definitions.

Macro Definition Documentation

◆ NDDS_TRANSPORT_UDP_PROPERTIES_BITMAP_DEFAULT

#define NDDS_TRANSPORT_UDP_PROPERTIES_BITMAP_DEFAULT   (0)

◆ NDDS_TRANSPORT_UDP_GATHER_SEND_BUFFER_COUNT_MAX_DEFAULT

#define NDDS_TRANSPORT_UDP_GATHER_SEND_BUFFER_COUNT_MAX_DEFAULT   (16)

Default value of NDDS_Transport_Property_t::gather_send_buffer_count_max.

This is also the maximum value that can be used when instantiating the udp transport.

16 is sufficient for RTI Connext, but more may improve discovery and reliable performance. Porting note: find out what the maximum gather buffer count is on your OS!

◆ NDDS_TRANSPORT_UDP_SOCKET_BUFFER_SIZE_OS_MAX

#define NDDS_TRANSPORT_UDP_SOCKET_BUFFER_SIZE_OS_MAX    RTI_OSAPI_UDP_SOCKET_BUFFER_SIZE_OS_MAX

Used to specify that os maximum be used to specify socket buffer size.

This property, if set, uses the maximum allowable size set in your OS for send and receive socket buffer sizes. If you update the maximum allowable size in your OS setting, then RTI Connext will automatically pick up that change. This property is not supported on all platforms because not all platforms have maximum values for the size of the send and receive buffers for sockets. If the platform does not support this property, then the property will be set to NDDS_Transport_UDP_Plugin::NDDS_TRANSPORT_UDP_SEND_SOCKET_BUFFER_SIZE_DEFAULT or NDDS_Transport_UDP_Plugin::NDDS_TRANSPORT_UDP_RECV_SOCKET_BUFFER_SIZE_DEFAULT, depending on the property being set. See the Platform Notes to determine if this property is supported on your platform.

This value is -2.

◆ NDDS_TRANSPORT_UDP_SOCKET_BUFFER_SIZE_OS_DEFAULT

#define NDDS_TRANSPORT_UDP_SOCKET_BUFFER_SIZE_OS_DEFAULT    RTI_OSAPI_UDP_SOCKET_BUFFER_SIZE_OS_DEFAULT

Used to specify that os default be used to specify socket buffer size.

This property, if set, uses the default size set in your OS for send and receive socket buffer sizes. If you update the default size in your OS settings, then RTI Connext will automatically pick up that change.

This value is -1.

◆ NDDS_TRANSPORT_UDP_SEND_SOCKET_BUFFER_SIZE_DEFAULT

#define NDDS_TRANSPORT_UDP_SEND_SOCKET_BUFFER_SIZE_DEFAULT    RTI_OSAPI_UDP_SEND_SOCKET_BUFFER_SIZE_DEFAULT

Default value of send_socket_buffer_size.

The default value is 2097152 bytes (1048576 bytes on AIX platforms).

◆ NDDS_TRANSPORT_UDP_RECV_SOCKET_BUFFER_SIZE_DEFAULT

#define NDDS_TRANSPORT_UDP_RECV_SOCKET_BUFFER_SIZE_DEFAULT    RTI_OSAPI_UDP_RECV_SOCKET_BUFFER_SIZE_DEFAULT

Default value of recv_socket_buffer_size.

The default value is 2097152 bytes (1048576 bytes on AIX platforms).

◆ NDDS_TRANSPORT_UDP_MULTICAST_TTL_DEFAULT

#define NDDS_TRANSPORT_UDP_MULTICAST_TTL_DEFAULT   (1)

Default value of multicast_ttl.

Typedef Documentation

◆ NDDS_Transport_UDP_Port

typedef RTI_UINT16 NDDS_Transport_UDP_Port

UDP port.