summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network/lldp-network.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lldp: move lldp_receive_packet() to lldp-internal.cBeniamino Galvani2015-10-021-1/+0
| | | | | | | In order to implement tests for the LLDP state machine, we need to mock lldp_network_bind_raw_socket(). Move the other function lldp_receive_packet() to another file so that we can replace the first function with a custom one and keep the second one.
* networkd: Introduce Link Layer Discovery Protocol (LLDP)Susant Sahani2014-12-191-0/+28
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.