diff options
author | Susant Sahani <ssahani@gmail.com> | 2015-10-05 09:38:00 +0530 |
---|---|---|
committer | Susant Sahani <ssahani@gmail.com> | 2015-10-05 09:43:29 +0530 |
commit | 540eb5f03780b7df6bb013622fb112468f94951c (patch) | |
tree | 8903d69871fa1e88c7e219de7fab7331c77af7cc /src/network/networkd-netdev-gperf.gperf | |
parent | c06cb593eba5696cd0e92af59e864ce80d702ce4 (diff) |
networkd: add bridge properties
ForwardDelaySec: forward delay
HelloTimeSec: hello time
MaxAgeSec: maximum message age
for more information see
http://www.tldp.org/HOWTO/BRIDGE-STP-HOWTO/set-up-the-bridge.html
In kernel
br_dev_newlink: does not have the this functionality to set while
creation.
br_changelink: after creation we can change the parameters.
we need to first create then set it the parameters.
Introduce new callback post_create .This should
set the properties after the creation.
Diffstat (limited to 'src/network/networkd-netdev-gperf.gperf')
-rw-r--r-- | src/network/networkd-netdev-gperf.gperf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf index e0bd0e024a..4aac239850 100644 --- a/src/network/networkd-netdev-gperf.gperf +++ b/src/network/networkd-netdev-gperf.gperf @@ -86,3 +86,6 @@ Bond.UpDelaySec, config_parse_sec, 0, Bond.DownDelaySec, config_parse_sec, 0, offsetof(Bond, downdelay) Bond.ARPIntervalSec, config_parse_sec, 0, offsetof(Bond, arp_interval) Bond.LearnPacketIntervalSec, config_parse_sec, 0, offsetof(Bond, lp_interval) +Bridge.HelloTimeSec, config_parse_sec, 0, offsetof(Bridge, hello_time) +Bridge.MaxAgeSec, config_parse_sec, 0, offsetof(Bridge, max_age) +Bridge.ForwardDelaySec, config_parse_sec, 0, offsetof(Bridge, forward_delay) |