summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-gperf.gperf
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2015-07-23 09:52:24 +0530
committerSusant Sahani <susant@redhat.com>2015-07-23 09:52:24 +0530
commitec2a3e3af25bc8c4d620a201e11645e70697f8de (patch)
treec0e5c4792822ecbd7830a76e271d45d91eaceb3d /src/network/networkd-netdev-gperf.gperf
parent276de52699a470a4a4a35443df485eb1f666f563 (diff)
networkd: ip6 tunnel add DSCP
This patch adds support for setting the DSCP field in the ip6 tunnel. when set it inherits DSCP field between inner and outer header.
Diffstat (limited to 'src/network/networkd-netdev-gperf.gperf')
-rw-r--r--src/network/networkd-netdev-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf
index 63258c0376..bdc43e87f6 100644
--- a/src/network/networkd-netdev-gperf.gperf
+++ b/src/network/networkd-netdev-gperf.gperf
@@ -37,6 +37,7 @@ Tunnel.TTL, config_parse_unsigned, 0,
Tunnel.DiscoverPathMTU, config_parse_bool, 0, offsetof(Tunnel, pmtudisc)
Tunnel.Mode, config_parse_ip6tnl_mode, 0, offsetof(Tunnel, ip6tnl_mode)
Tunnel.IPv6FlowLabel, config_parse_ipv6_flowlabel, 0, offsetof(Tunnel, ipv6_flowlabel)
+Tunnel.DiffServiceCodePoint, config_parse_bool, 0, offsetof(Tunnel, dscp)
Peer.Name, config_parse_ifname, 0, offsetof(Veth, ifname_peer)
Peer.MACAddress, config_parse_hwaddr, 0, offsetof(Veth, mac_peer)
VXLAN.Id, config_parse_uint64, 0, offsetof(VxLan, id)