diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-21 14:14:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-21 20:58:59 +0100 |
commit | 8e1ad1eaf74cd8eadf6a9b14e5d6edb24ab2da91 (patch) | |
tree | 6d702679189940e4a1f542a577a31ef70baf00ea /src/network/networkd-lldp-tx.h | |
parent | b553a6b13c68cb72addde48281abe3f3b46e16a4 (diff) |
networkd: add basic LLDP transmission support
Let's add some minimalistic LLDP sender support. The idea is that this is
either on or off, and all fields determined automatically rather than
configured explicitly.
Diffstat (limited to 'src/network/networkd-lldp-tx.h')
-rw-r--r-- | src/network/networkd-lldp-tx.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/network/networkd-lldp-tx.h b/src/network/networkd-lldp-tx.h new file mode 100644 index 0000000000..8c7f403005 --- /dev/null +++ b/src/network/networkd-lldp-tx.h @@ -0,0 +1,25 @@ +#pragma once + +/*** + This file is part of systemd. + + Copyright 2016 Lennart Poettering + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + systemd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with systemd; If not, see <http://www.gnu.org/licenses/>. +***/ + +#include "networkd-link.h" + +int link_lldp_tx_start(Link *link); +void link_lldp_tx_stop(Link *link); |