]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-manager.h
networkd: add bridge support
authorTom Gundersen <teg@jklm.no>
Sun, 24 Nov 2013 22:37:56 +0000 (23:37 +0100)
committerTom Gundersen <teg@jklm.no>
Tue, 26 Nov 2013 00:32:25 +0000 (01:32 +0100)
commit02b59d57e0c08231645120077f651151f5bb2bab
tree10549c36b26f6fda4daf7b9d11c994adfc6a88ff
parentc166a070553511e402de5ad216d3fb62b49bdacb
networkd: add bridge support

A bridge is specified in a .netdev file with a section [Bridge]
and at least the entry Name=.

A link may be joined to a bridge if the .network applied to it has
a Bridge= entry giving the name of the bridge in its [Network] section.

We eagerly create all bridges on startup, and links are added to
bridges as soon as they both appear.
Makefile.am
src/network/networkd-bridge.c [new file with mode: 0644]
src/network/networkd-gperf.gperf
src/network/networkd-link.c
src/network/networkd-manager.c
src/network/networkd-network.c
src/network/networkd.c
src/network/networkd.h
src/network/test-network.c