summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-lldp.c
Commit message (Collapse)AuthorAge
* libsystemd-network: fix typo in lldpTorstein Husebø2015-01-05
|
* network: fix scanf/printf formatZbigniew Jędrzejewski-Szmek2015-01-01
| | | | usec_t is defined as 64 bit wide, but long is 32 bit on many archs.
* lldp: fix sd_lldp_save()David Herrmann2014-12-31
| | | | | | | | | Fix a bunch of needless memzero() calls, a bunch of use-after-free regarding _cleanup_free_ and drop unused variables. Hint: Do NOT use _cleanup_free_ for temporary strappend() helpers that are freed multiple times. All you safe is the last free() call, which is really not worth the trouble resetting it to NULL all the time.
* lldp: fix double freeDavid Herrmann2014-12-31
| | | | | 'k' is marked as _cleanup_free_ so reset it to NULL if we free it explicitly.
* sd-lldp: minor header cleanupTom Gundersen2014-12-19
| | | | | | | | | | | * (potentially) public headers must reside in src/systemd/ (not in src/libsystemd*) * some private (not prefixed with sd_) functions moved from sd-lldp.h to lldp-internal.h * introduce lldp-util.h for the cleanup macro, as these should not be public * rename the cleanup macro, we always name them _cleanup_foo_, never _cleanup_sd_foo_ * mark some function arguments as 'const'
* LLDP: Add support for networkctlSusant Sahani2014-12-19
|
* networkd: Introduce Link Layer Discovery Protocol (LLDP)Susant Sahani2014-12-19
This patch introduces LLDP support to networkd. it implements the receiver side of the protocol. The Link Layer Discovery Protocol (LLDP) is an industry-standard, vendor-neutral method to allow networked devices to advertise capabilities, identity, and other information onto a LAN. The Layer 2 protocol, detailed in IEEE 802.1AB-2005.LLDP allows network devices that operate at the lower layers of a protocol stack (such as Layer 2 bridges and switches) to learn some of the capabilities and characteristics of LAN devices available to higher layer protocols.