]> git.ipfire.org Git - thirdparty/systemd.git/commit
lldp: add sd_lldp_tlv_packet_get_destination_type()
authorBeniamino Galvani <bgalvani@redhat.com>
Mon, 27 Jul 2015 16:04:46 +0000 (18:04 +0200)
committerBeniamino Galvani <bgalvani@redhat.com>
Fri, 2 Oct 2015 15:39:22 +0000 (17:39 +0200)
commit4fc6de5df31c81ae35e82ed91d0a2ee515edad41
tree28eafab32619e68f35a179b196a7f3813687a9f5
parent7434883c40f3623372044f88cdde3eda49ba9758
lldp: add sd_lldp_tlv_packet_get_destination_type()

It can be useful to know the destination address of a LLDP frame
because it determines the scope of propagation of the frame and thus
this information be used to know whether the neighbor is connected to
the same physical link.

See clause 7.1 of IEEE Std 802.1AB-2009.
src/libsystemd-network/lldp-tlv.c
src/libsystemd-network/lldp-tlv.h
src/libsystemd-network/test-lldp.c
src/systemd/sd-lldp.h