summaryrefslogtreecommitdiff
path: root/src/network/networkd-gperf.gperf
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-21 21:58:08 +0100
committerTom Gundersen <teg@jklm.no>2014-01-22 17:56:49 +0100
commit52433f6b65eccd1c54606dde999610640f3458ac (patch)
tree73f12a1b4541829c00462592be6ad275cf01a032 /src/network/networkd-gperf.gperf
parent01b36069ccddbed35b82dd3b64af3e522ab305fe (diff)
downloadsystemd-52433f6b65eccd1c54606dde999610640f3458ac.tar.gz
networkd: add basic bonding support
Refactor bridging support to be generic netdev support and extend it to cover bonding as well.
Diffstat (limited to 'src/network/networkd-gperf.gperf')
-rw-r--r--src/network/networkd-gperf.gperf6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf
index abf6a30975..7181cf856a 100644
--- a/src/network/networkd-gperf.gperf
+++ b/src/network/networkd-gperf.gperf
@@ -22,6 +22,7 @@ Match.Type, config_parse_string, 0, offsetof(Networ
Match.Name, config_parse_ifname, 0, offsetof(Network, match_name)
Network.Description, config_parse_string, 0, offsetof(Network, description)
Network.Bridge, config_parse_bridge, 0, offsetof(Network, bridge)
+Network.Bond, config_parse_bond, 0, offsetof(Network, bond)
Network.DHCP, config_parse_bool, 0, offsetof(Network, dhcp)
Network.Address, config_parse_address, 0, 0
Network.Gateway, config_parse_gateway, 0, 0
@@ -34,5 +35,6 @@ DHCPv4.UseDNS, config_parse_bool, 0, offsetof(Networ
DHCPv4.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_mtu)
DHCPv4.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_hostname)
DHCPv4.UseDomainName, config_parse_bool, 0, offsetof(Network, dhcp_domainname)
-Bridge.Description, config_parse_string, 0, offsetof(Bridge, description)
-Bridge.Name, config_parse_ifname, 0, offsetof(Bridge, name)
+Netdev.Description, config_parse_string, 0, offsetof(Netdev, description)
+Netdev.Name, config_parse_ifname, 0, offsetof(Netdev, name)
+Netdev.Kind, config_parse_netdev_kind, 0, offsetof(Netdev, kind)