[systemd-devel] [PATCH v3] Add FDB support

Alin Rauta alin.rauta at intel.com
Wed Dec 17 07:35:35 PST 2014


Hi Tom,

I've formatted the patch based on our previous discussions. This one has support only for adding FDB entries.
An example configuration is like below:

[Match]
Name=em1

[Network]
DHCP=v4

[BridgeFDB]
MACAddress=44:44:12:34:56:71
VLANId=9

[BridgeFDB]
MACAddress=44:44:12:34:56:70
VLANId=2

Please let me know what you think.

Thanks,
Alin


Alin Rauta (1):
  Add FDB support

 Makefile.am                              |   1 +
 man/systemd.network.xml                  |  22 +++
 src/libsystemd/sd-rtnl/rtnl-message.c    |  56 ++++++-
 src/libsystemd/sd-rtnl/rtnl-types.c      |  15 +-
 src/network/networkd-fdb.c               | 252 +++++++++++++++++++++++++++++++
 src/network/networkd-link.c              |  19 +++
 src/network/networkd-network-gperf.gperf |   2 +
 src/network/networkd-network.c           |  13 +-
 src/network/networkd.h                   |  29 ++++
 src/systemd/sd-rtnl.h                    |   4 +
 10 files changed, 402 insertions(+), 11 deletions(-)
 create mode 100644 src/network/networkd-fdb.c

-- 
1.9.3



More information about the systemd-devel mailing list