]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/netdev/tunnel.c
network: rename DiffServiceCodePoint to CopyDSCP
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 25 Jul 2015 02:26:00 +0000 (22:26 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 25 Jul 2015 03:44:34 +0000 (23:44 -0400)
commita9b70f9dfd9214ea6934a3ebc1950208eee4d174
treeb472da0ff11e20bea510b3e5c5e9b2a6cdaff6cb
parent3cf4bcab07c3d6a58251a68b5d969d0a38518209
network: rename DiffServiceCodePoint to CopyDSCP

Old name was slightly misleading, because this flag does not determine
whether DSCP is used overall, but only if it is copied to the
decapsulated packet. Rename to better reflect that.

"Copy" does not imply direction. This is on purpose, because we might
later on enhance the setting to allow/disallow copying in the other
direction, to the encapsulated packet. If that is implemented,
CopyDSCP could understand additional values. This is nicer than
having two separate settings and follows the example of DHCP=.

Also, we try to avoid abbreviations, but we allow acronyms
like MTU, in DiscoverPathMTU=.

This setting was recently added, so it's fine to rename it without
backwards compat.
man/systemd.netdev.xml
src/network/networkd-netdev-gperf.gperf
src/network/networkd-netdev-tunnel.c
src/network/networkd-netdev-tunnel.h