diff options
author | Susant Sahani <susant@redhat.com> | 2014-11-23 09:56:14 +0530 |
---|---|---|
committer | Susant Sahani <susant@redhat.com> | 2014-12-19 08:02:45 +0530 |
commit | ce43e484465050c619ea9a1991d49b3d6215028b (patch) | |
tree | c5fa5f6c3192897ce4e4e1c536ad7546a7f34dfe /src/network/networkd.h | |
parent | ad1ad5c8e36ea795034fcdac660b15d7c141d55b (diff) |
networkd: integrate LLDP
This patch integrates LLDP with networkd.
Example conf:
file : lldp.network
[Match]
Name=em1
[Network]
LLDP=yes
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h index a5c5b085ba..7107c5f932 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -32,6 +32,7 @@ #include "sd-icmp6-nd.h" #include "sd-dhcp6-client.h" #include "udev.h" +#include "sd-lldp.h" #include "rtnl-util.h" #include "hashmap.h" @@ -122,6 +123,8 @@ struct Network { struct ether_addr *mac; unsigned mtu; + bool lldp; + LIST_HEAD(Address, static_addresses); LIST_HEAD(Route, static_routes); LIST_HEAD(FdbEntry, static_fdb_entries); |