]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/netdev/bridge.c
networkd: add bridge properties
authorSusant Sahani <ssahani@gmail.com>
Mon, 5 Oct 2015 04:08:00 +0000 (09:38 +0530)
committerSusant Sahani <ssahani@gmail.com>
Mon, 5 Oct 2015 04:13:29 +0000 (09:43 +0530)
commit540eb5f03780b7df6bb013622fb112468f94951c
tree8903d69871fa1e88c7e219de7fab7331c77af7cc
parentc06cb593eba5696cd0e92af59e864ce80d702ce4
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.
src/network/networkd-netdev-bridge.c
src/network/networkd-netdev-bridge.h
src/network/networkd-netdev-gperf.gperf
src/network/networkd-netdev.c
src/network/networkd-netdev.h