summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-gperf.gperf
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-05-21 14:01:04 +0530
committerTom Gundersen <teg@jklm.no>2014-06-02 16:09:40 +0200
commit10142d75cce10a92889cc11b7b1af07fecc78c5d (patch)
tree45912e46dfcba7ad3aaa74508c5761bb43e64b43 /src/network/networkd-netdev-gperf.gperf
parentb686acb27ea4de042320fa196cfb14e08f30165b (diff)
networkd: introduce veth device support
This patch adds veth device support to networkd. Example conf: File: veth.netdev [NetDev] Name=veth-test Kind=veth [Peer] Name=veth-peer
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 29889cd476..f39c922fd2 100644
--- a/src/network/networkd-netdev-gperf.gperf
+++ b/src/network/networkd-netdev-gperf.gperf
@@ -29,3 +29,4 @@ Tunnel.Local, config_parse_tunnel_address, 0,
Tunnel.Remote, config_parse_tunnel_address, 0, offsetof(NetDev, tunnel_remote)
Tunnel.TOS, config_parse_unsigned, 0, offsetof(NetDev, tunnel_tos)
Tunnel.TTL, config_parse_unsigned, 0, offsetof(NetDev, tunnel_ttl)
+Peer.Name, config_parse_ifname, 0, offsetof(NetDev, ifname_peer)