rmw
master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
|
Go to the documentation of this file.
15 #ifndef RMW__NETWORK_FLOW_ENDPOINT_H_
16 #define RMW__NETWORK_FLOW_ENDPOINT_H_
46 #define RMW_INET_ADDRSTRLEN 48
107 const char * internet_address,
114 #endif // RMW__NETWORK_FLOW_ENDPOINT_H_
@ RMW_INTERNET_PROTOCOL_IPV6
Definition: network_flow_endpoint.h:40
@ RMW_INTERNET_PROTOCOL_COUNT
Definition: network_flow_endpoint.h:41
uint8_t dscp
Definition: network_flow_endpoint.h:64
#define RMW_PUBLIC
Definition: visibility_control.h:48
struct RMW_PUBLIC_TYPE rmw_network_flow_endpoint_t rmw_network_flow_endpoint_t
Structure that describes network flow endpoint of a publisher or subscription.
@ RMW_TRANSPORT_PROTOCOL_UDP
Definition: network_flow_endpoint.h:30
#define RMW_INET_ADDRSTRLEN
Definition: network_flow_endpoint.h:46
@ RMW_TRANSPORT_PROTOCOL_UNKNOWN
Definition: network_flow_endpoint.h:29
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:540
const char * rmw_network_flow_endpoint_get_transport_protocol_string(const rmw_transport_protocol_t transport_protocol)
Convert to string variant of transport protocol.
rmw_internet_protocol_t internet_protocol
Definition: network_flow_endpoint.h:54
const char * rmw_network_flow_endpoint_get_internet_protocol_string(const rmw_internet_protocol_t internet_protocol)
Convert to string variant of internet protocol.
@ RMW_INTERNET_PROTOCOL_IPV4
Definition: network_flow_endpoint.h:39
@ RMW_TRANSPORT_PROTOCOL_TCP
Definition: network_flow_endpoint.h:31
rmw_transport_protocol_t
Transport protocol types.
Definition: network_flow_endpoint.h:27
Structure that describes network flow endpoint of a publisher or subscription.
Definition: network_flow_endpoint.h:49
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
rmw_internet_protocol_t
Internet protocol types.
Definition: network_flow_endpoint.h:36
@ RMW_INTERNET_PROTOCOL_UNKNOWN
Definition: network_flow_endpoint.h:38
rmw_network_flow_endpoint_t rmw_get_zero_initialized_network_flow_endpoint(void)
Return a rmw_network_flow_endpoint_t struct with zero-initialized members.
uint32_t flow_label
Definition: network_flow_endpoint.h:60
rmw_transport_protocol_t transport_protocol
Definition: network_flow_endpoint.h:52
uint16_t transport_port
Definition: network_flow_endpoint.h:56
@ RMW_TRANSPORT_PROTOCOL_COUNT
Definition: network_flow_endpoint.h:32
rmw_ret_t rmw_network_flow_endpoint_set_internet_address(rmw_network_flow_endpoint_t *network_flow_endpoint, const char *internet_address, size_t size)
Set internet address in the rmw_network_flow_endpoint_t struct.