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-bridge.h | |
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-bridge.h')
-rw-r--r-- | src/network/networkd-netdev-bridge.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-bridge.h b/src/network/networkd-netdev-bridge.h index a7d02b1c91..d3bd15e0d6 100644 --- a/src/network/networkd-netdev-bridge.h +++ b/src/network/networkd-netdev-bridge.h @@ -27,6 +27,10 @@ typedef struct Bridge Bridge; struct Bridge { NetDev meta; + + usec_t forward_delay; + usec_t hello_time; + usec_t max_age; }; extern const NetDevVTable bridge_vtable; |