diff options
author | Vivien Didelot <vivien.didelot@gmail.com> | 2019-04-06 11:07:25 -0400 |
---|---|---|
committer | Vivien Didelot <vivien.didelot@gmail.com> | 2019-04-15 15:20:11 -0400 |
commit | 62b2f3aea00a7bb8a066311d699c4585b78bd247 (patch) | |
tree | 89805a66ddbb26a18640f2164d97c3e1882467ae /pcap-linux.c | |
parent | 8795ed44290a462bcd1129a4b85fccb5d2094d76 (diff) |
Add support for (Ethertype) DSA data link types
In addition to the support for DSA data link types added by 993db38,
this commit adds support for the Marvell DSA and EDSA tagging formats.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r-- | pcap-linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index 9117ceaa..dd8795e5 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -6934,6 +6934,8 @@ static struct dsa_proto { { "none", DLT_EN10MB }, { "brcm", DLT_DSA_TAG_BRCM }, { "brcm-prepend", DLT_DSA_TAG_BRCM_PREPEND }, + { "dsa", DLT_DSA_TAG_DSA }, + { "edsa", DLT_DSA_TAG_EDSA }, }; static int |