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

Alin Rauta alin.rauta at intel.com
Mon Dec 15 02:20:07 PST 2014


Hi,

Based on your feedback, I've created a new patch for adding the FDB support.
networkd takes ownership of the FDB table.

Configuration example:

> cat /etc/systemd/network/em1.network

[Match]
Name=em1

[Network]
DHCP=v4

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

[BridgeFDB]
MACAddress=04:44:12:34:56:69
VLAN=3

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               | 357 +++++++++++++++++++++++++++++++
 src/network/networkd-link.c              |  25 +++
 src/network/networkd-network-gperf.gperf |   2 +
 src/network/networkd-network.c           |  13 +-
 src/network/networkd.h                   |  30 +++
 src/systemd/sd-rtnl.h                    |   4 +
 10 files changed, 514 insertions(+), 11 deletions(-)
 create mode 100644 src/network/networkd-fdb.c

-- 
1.9.3



More information about the systemd-devel mailing list