Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
nmranet_config.h
Go to the documentation of this file.
1
47#ifndef _nmranet_config_h_
48#define _nmranet_config_h_
49
50#include <stdlib.h>
51
52#include "utils/constants.hxx"
53
55DECLARE_CONST(nmranet_can_bitrate);
57DECLARE_CONST(can2_bitrate);
58
62DECLARE_CONST(main_thread_priority);
64DECLARE_CONST(main_thread_stack_size);
65
72DECLARE_CONST(executor_select_prescaler);
73
79DECLARE_CONST(executor_max_sleep_msec);
80
83DECLARE_CONST(can_tx_buffer_size);
86DECLARE_CONST(can_rx_buffer_size);
87
89DECLARE_CONST(serial_tx_buffer_size);
91DECLARE_CONST(serial_rx_buffer_size);
92
96DECLARE_CONST(gridconnect_port_max_incoming_packets);
101DECLARE_CONST(gridconnect_bridge_max_incoming_packets);
105DECLARE_CONST(gridconnect_bridge_max_outgoing_packets);
106
109DECLARE_CONST(gridconnect_tcp_rcv_buffer_size);
110
113DECLARE_CONST(gridconnect_tcp_snd_buffer_size);
114
117DECLARE_CONST(gridconnect_tcp_notsent_lowat_buffer_size);
118
121DECLARE_CONST(gridconnect_buffer_size);
122
125DECLARE_CONST(gridconnect_buffer_delay_usec);
126
129DECLARE_CONST(gridconnect_tcp_use_select);
130
133DECLARE_CONST(directhub_port_max_incoming_packets);
134
137DECLARE_CONST(directhub_port_incoming_buffer_size);
138
140DECLARE_CONST(remote_alias_cache_size);
141
143DECLARE_CONST(local_alias_cache_size);
144
147DECLARE_CONST(reserve_unused_alias_count);
148
150DECLARE_CONST(local_nodes_count);
151
154DECLARE_CONST(num_datagram_registry_entries);
155
158DECLARE_CONST(num_datagram_clients);
159
162DECLARE_CONST(num_stream_senders);
163
166DECLARE_CONST(num_memory_spaces);
167
170DECLARE_CONST(enable_all_memory_space);
171
175DECLARE_CONST(node_init_identify);
176
179DECLARE_CONST(bulk_alias_num_can_frames);
180
183DECLARE_CONST(stream_receiver_default_window_size);
184
186DECLARE_CONST(socket_listener_stack_size);
187
189DECLARE_CONST(socket_listener_backlog);
190
191#endif /* _nmranet_config_h_ */
#define DECLARE_CONST(name)
Declares a constant value.
Definition constants.hxx:60