]> The Tcpdump Group git mirrors - tcpdump/commit
Add support for decoding Marvell (E)DSA tags
authorVivien Didelot <[email protected]>
Sat, 6 Apr 2019 15:16:54 +0000 (11:16 -0400)
committerVivien Didelot <[email protected]>
Tue, 16 Apr 2019 16:19:38 +0000 (12:19 -0400)
commit43b5720499c61039c2a8890a73fca10333428f2e
tree7be8a8bf00ceaac87fafda62b5fb90bfc6a75fc5
parent032c684850d38c5943018388a77db375c4bc7498
Add support for decoding Marvell (E)DSA tags

Similarly to commit 6eaebfe adding support for the Broadcom tagging
format supported by the DSA kernel subsystem, this commit adds support
for the Marvell DSA and Ethertype DSA (EDSA) tagging formats.

Marvell DSA is a 4-byte proprietary tag placed between the ether source
address and the ether length/type. It contains data such as the switch
device and port IDs from which a frame came from, or to which port
a frame is targetting. It also contains additional FPri and IEEE bits.

EDSA is a 8-byte variant including a programmable ethertype, two null
bytes and a standard DSA tag.
CMakeLists.txt
Makefile.in
netdissect.h
print-dsa.c [new file with mode: 0644]
print.c