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.
This commit is contained in:
Lennart Poettering
2016-02-21 20:58:59 +01:00
parent b553a6b13c
commit 8e1ad1eaf7
9 changed files with 439 additions and 4 deletions
+1
View File
@@ -26,6 +26,7 @@
bool hostname_is_set(void);
char* gethostname_malloc(void);
int gethostname_strict(char **ret);
bool hostname_is_valid(const char *s, bool allow_trailing_dot) _pure_;
char* hostname_cleanup(char *s);