]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Listen on VLAN using an appropriate BPF filter and VLAN decapsulation.
authorVincent Bernat <bernat@luffy.cx>
Tue, 8 Jun 2010 16:39:18 +0000 (18:39 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 8 Jun 2010 16:39:18 +0000 (18:39 +0200)
commit4969720835baabda824966967cbf259fdbdd2655
tree6fac309ff8a96c743b6e6be05f9af70c3ca42544
parent0dced9547193d217b1d94e4020c803dd3a86810d
Listen on VLAN using an appropriate BPF filter and VLAN decapsulation.

Three cases may happen:
 - You have a non VLAN accelerated network card.
   The BPF filter will catch the frames in the VLAN and the frame will
   be decapsulated.
 - You have a VLAN accelerated network card and a kernel < 2.6.27.
   lldpd won't see any frame encapsulated into a VLAN.
 - You have a VLAN accelerated network card and a kernel >= 2.6.27.
   lldpd will see the frames encapsulated into a VLAN as untagged
   frames and won't need to decapsulate them.
CHANGELOG
README
src/interfaces.c
src/lldpd.c