RTI Connext Micro  Version 2.4.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
netio_rtps_impl.h
Go to the documentation of this file.
1 /*
2  * FILE: netio_rtps_impl.h - NETIO RTPS implementation
3  *
4  * Copyright 2012-2014 Real-Time Innovations, Inc.
5  *
6  * No duplications, whole or partial, manual or electronic, may be made
7  * without express written permission. Any such copies, or
8  * revisions thereof, must display this notice unaltered.
9  * This code contains trade secrets of Real-Time Innovations, Inc.
10  *
11  * Modification History
12  * --------------------
13  * 25apr2012,tk Written
14  */
15 /*ce
16  * \file
17  */
18 /*ci \addtogroup NETIOUtility
19  * @{
20  */
21 #ifndef netio_rtps_impl_h
22 #define netio_rtps_impl_h
23 
24 /*ci
25  * \def RTPS_getWellKnownMulticastPort
26  * \brief Calculate well-known RTPS multicast ports
27  */
28 #define RTPS_getWellKnownMulticastPort(domain_id, \
29  port_base, \
30  domain_id_gain, \
31  port_offset) \
32  (port_base + (domain_id_gain*domain_id) + port_offset)
33 
34 /*ci
35  * \def RTPS_getWellKnownMulticastPort
36  * \brief Calculate well-known RTPS unicast ports
37  */
38 #define RTPS_getWellKnownUnicastPort(domain_id, \
39  participant_id, \
40  port_base, \
41  domain_id_gain, \
42  participant_id_gain, \
43  port_offset) \
44  (port_base + (domain_id_gain*domain_id) + \
45  (participant_id_gain*participant_id) + port_offset)
46 
47 #endif /* netio_rtps_impl_h */
48 
49 /*ci @} */

RTI Connext Micro Version 2.4.1.0 Copyright © Thu Nov 20 2014 Real-Time Innovations, Inc