1############### MOS configuration file ###############
2
3#######################
4# MOS-RELATED OPTIONS #
5#######################
6mos {
7	forward = __forward
8
9	#######################
10	##### I/O OPTIONS #####
11	#######################
12	__num_memch
13	# devices used for MOS applications [mandatory]
14	netdev {__devicemask
15	}
16
17	#######################
18	### LOGGING OPTIONS ###
19	#######################
20	# NICs to print network statistics per second
21	# if enabled, mTCP will print xx Gbps and xx pps for RX and TX
22	stat_print =__devicelist
23
24	# A directory contains MOS system log files
25	mos_log = logs/
26
27	########################
28	## NETWORK PARAMETERS ##
29	########################
30	# This to configure static arp table
31	# (Destination IP address) (Destination MAC address)
32	arp_table {
33	}
34
35	# This is to configure static routing table
36	# (Destination address)/(Prefix) (Device name)
37	route_table {
38	}
39
40	# This is to configure static bump-in-the-wire NIC forwarding table
41	# DEVNIC_A DEVNIC_B ## (e.g. dpdk0 dpdk1)
42	nic_forward_table {
43	}
44
45	########################
46	### ADVANCED OPTIONS ###
47	########################
48	# if required, uncomment the following options and change them
49
50	# maximum concurrency per core [optional / default : 100000]
51	# (MOS-specific parameter for preallocation)
52	# max_concurrency = 100000
53
54	# disable the ring buffer [optional / default : 0]
55	# use disabled buffered managment only for standalone monitors.
56	# end host applications always need recv buffers for TCP!
57	# no_ring_buffers = 1
58
59	# receive buffer size of sockets [optional / default : 8192]
60	# rmem_size = 8192
61
62	# send buffer size of sockets [optional / default : 8192]
63	# wmem_size = 8192
64
65	# tcp timewait seconds [optional / default : 0]
66	# tcp_tw_interval = 30
67
68	# tcp timeout seconds [optional / default : 30]
69	# (set tcp_timeout = -1 to disable timeout checking)
70	# tcp_timeout = 30
71}
72