tos — Shorewall Type of Service rules file
/etc/shorewall/tos
This file defines rules for setting Type Of Service (TOS). Its use is deprecated, beginning in Shorewall 4.5.1, in favor of the TOS target in shorewall-tcrules (5).
The columns in the file are as follows (where the column name is followed by a different name in parentheses, the different name is used in the alternate specification syntax).
If all, may optionally be followed by ":" and an IP address, a MAC address, a subnet specification or the name of an interface.
Example: all:192.168.2.3
MAC addresses must be prefixed with "~" and use "-" as a separator.
Example: ~00-A0-C9-15-39-78
Example: 192.168.2.3
Protocol name or number.
Source port or port range. If all ports, use "-".
Destination port or port range. If all ports, use "-"
Must may one of the following;
tos-minimize-delay (16) tos-maximize-throughput (8) tos-maximize-reliability (4) tos-minimize-cost (2) tos-normal-service (0)
To specify more than one flag, add their values together and specify the numeric result.
If you don't want to define a test but need to specify anything in the following columns, place a "-" in this field.
Inverts the test (not equal)
Value of the packet or connection mark.
A mask to be applied to the mark before testing.
Designates a connection mark. If omitted, the packet mark's value is tested.
http://shorewall.net/configuration_file_basics.htm#Pairs
shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5), shorewall-ipsets(5), shorewall-maclist(5), shorewall-masq(5), shorewall-nat(5), shorewall-netmap(5), shorewall-params(5), shorewall-policy(5), shorewall-providers(5), shorewall-proxyarp(5), shorewall-rtrules(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5), shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tunnels(5), shorewall-zones(5)