]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/networkd-lldp-tx.h
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / network / networkd-lldp-tx.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include "networkd-link.h"
5
6 typedef enum LLDPEmit {
7 LLDP_EMIT_NO,
8 LLDP_EMIT_NEAREST_BRIDGE,
9 LLDP_EMIT_NON_TPMR_BRIDGE,
10 LLDP_EMIT_CUSTOMER_BRIDGE,
11 _LLDP_EMIT_MAX,
12 } LLDPEmit;
13
14 int link_lldp_emit_start(Link *link);
15 void link_lldp_emit_stop(Link *link);
16
17 int config_parse_lldp_emit(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);