<<eXtension>> <<cert>> The UDP transport implements the RTI Connext Micro NETIO interface and supports UDPv4. Please refer to UDP Transport for the User Manual and how to use the UDP transport.
RTI_BOOL UDP_InterfaceTable_add_entry |
( |
struct UDP_InterfaceTableEntrySeq * |
seq, |
|
|
RTI_UINT32 |
address, |
|
|
RTI_UINT32 |
netmask, |
|
|
const char * |
ifname, |
|
|
RTI_UINT32 |
flags |
|
) |
| |
Add an entry to the list of available interfaces.
This function can be used to add an interface to the if_table in the UDP_InterfaceFactoryProperty.
- Parameters
-
[in] | seq | The sequence to add the entry to |
[in] | address | The UDPv4 interface address to add in host order |
[in] | netmask | The interface netmask |
[in] | ifname | The interface name. Cannot exceed UDP_INTERFACE_MAX_IFNAME including NUL. |
[in] | flags | Bitmap of UDP_INTERFACE_INTERFACE_UP_FLAG and/or UDP_INTERFACE_INTERFACE_MULTICAST_FLAG |
- Returns
- RTI_TRUE on success, RTI_FALSE on failure
struct RT_ComponentFactoryI* UDP_InterfaceFactory_get_interface |
( |
void |
| ) |
|
|
read |
Gets the singleton instance of the UDP interface factory.
This function gets the singleton instance of the UDP factory that is used by the middleware to create a UDP transport instance.
- Returns
- Pointer to UDP factory instance