summaryrefslogtreecommitdiff
path: root/bpf_jit_disasm.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-08-17 00:21:31 +0300
committerTobias Klauser <tklauser@distanz.ch>2015-08-17 09:54:55 +0200
commit579e8524cb9c68dab9117981966b18d2494b0787 (patch)
tree2bbf08b50cd14071a0602bbb9dbd116dd1612c82 /bpf_jit_disasm.c
parentf4b90d0194cdb5275823116b2229c04249225d7e (diff)
netsniff-ng: vlan: Show vlan info from tpacket v3
Show vlan info (vid, prio & proto) from tpacket struct, in separated line. It might be useful to sniff it in case if vlan reordering is on (which is by default) and physical (vlan underlying) device supports vlan offloading. Meanwhile it uses only v3 tpacket info as location of vlan fields are different between v2 & v3 (v1 does not have it at all), but current code only has possibility to check if v3 is used which is not enough. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> [ tk: make print format consistent with VLAN dissector ] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_jit_disasm.c')
0 files changed, 0 insertions, 0 deletions