netsniff-ng: vlan: Use helpers when parse vlan header
commitf4b90d0194cdb5275823116b2229c04249225d7e
authorVadim Kochan <vadim4j@gmail.com>
Sun, 16 Aug 2015 21:21:30 +0000 (17 00:21 +0300)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 17 Aug 2015 07:43:27 +0000 (17 09:43 +0200)
tree703e59f323c3e9875aec66f764b365c88f8391cc
parent69cb4a22c8bbe841ec3b0bf1983610548f4dce74
netsniff-ng: vlan: Use helpers when parse vlan header

Add proto_vlan.h with helpers to parse VLAN fields.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_vlan.c
proto_vlan.h [new file with mode: 0644]