RTI Connext Micro  Version 2.4.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
netio_config.h
Go to the documentation of this file.
1 /*
2  * FILE: netio_config.h - NETIO Configuration API
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  * 23feb2012,tk Written
14  */
15 /*ce
16  * \file
17  */
18 /*ci
19  * \defgroup NETIOConfig NETIO Configuration
20  * \ingroup NETIOModule
21  * \brief NETIO Configuration API
22  *
23  * \details
24  *
25  * This file is the single point where NETIO behavior can be configured.
26  * All optional and configurable features shall be added here.
27  */
28 /*ci \addtogroup NETIOConfig
29  * @{
30  */
31 #ifndef netio_config_h
32 #define netio_config_h
33 
34 /* The global configuration is read first. Local definitions must
35  * check if the global configuration has set an option or not. Note that
36  * a module cannot disable a feature.
37  */
38 #ifdef HAVE_GLOBAL_CONFIG
39 #include "rti_me_config.h"
40 #endif
41 
42 /*ci
43  * \def NETIO_CONFIG_INTERFACE
44  * \brief Set NETIO_CONFIG_INTERFACE to the in-use interface address
45  */
46 #ifndef NETIO_CONFIG_INTERFACE
47 #define NETIO_CONFIG_INTERFACE "127.0.0.1"
48 #endif
49 
50 /*ci
51  * \def NETIO_CONFIG_HAVE_IFCONF
52  * \brief Set to 1 if the network stack supports reading the interface list
53  */
54 #ifndef NETIO_CONFIG_HAVE_IFCONF
55 #if (defined(RTI_UNIX) || defined(RTI_VXWORKS)) && \
56  !defined(RTI_CERT) && !defined(RTI_NO_IFCONFIG) && !ENABLE_FACE_COMPLIANCE
57 #define NETIO_CONFIG_HAVE_IFCONF 1
58 #else
59 #define NETIO_CONFIG_HAVE_IFCONF 0
60 #endif
61 #endif /* NETIO_CONFIG_HAVE_IFCONF */
62 
63 #endif /* netio_config_h */
64 
65 /*ci @} */

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