-
Notifications
You must be signed in to change notification settings - Fork 0
/
nic_config.h
31 lines (23 loc) · 1.11 KB
/
nic_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* (c) Copyright, Real-Time Innovations, 2021. All rights reserved.
* RTI grants Licensee a license to use, modify, compile, and create derivative
* works of the software solely for use with RTI Connext DDS. Licensee may
* redistribute copies of the software provided that all such copies are subject
* to this license. The software is provided "as is", with no warranty of any
* type, including any warranty for fitness for any purpose. RTI is under no
* obligation to maintain or support the software. RTI shall not be liable for
* any incidental or consequential damages arising out of the use or inability
* to use the software.
*/
#ifndef NIC_CONFIG_H
#define NIC_CONFIG_H
// user-configurable values
int domain_id = 100;
char *peer = "127.0.0.1";
char *loopback_name = "lo"; // Ubuntu 20.04
char *eth_nic_name = "wlp0s20f3"; // Ubuntu 20.04
// char *loopback_name = "Loopback Pseudo-Interface 1"; // Windows 10
// char *eth_nic_name = "Wireless LAN adapter Wi-Fi"; // Windows 10
// char *loopback_name = "lo0"; // MacOS 10.15.x
// char *eth_nic_name = "en0"; // MacOS 10.15.x
#endif