Page MenuHomeFreeBSD

Add 802.1Q ethertypes used in the wild
ClosedPublic

Authored by donner on Sep 30 2019, 7:00 AM.

Details

Summary

Older network equipment used the ethertypes 9100, 9200, and 9300
for outer VLANs, before standardization introduced 88a8.

Test Plan

Validate, that the definition is in sync with other definitions.

Excerpt from contrib/tcpdump/ethertype.h

#ifndef ETHERTYPE_8021Q
#define ETHERTYPE_8021Q         0x8100
#endif

/* see:
        http://en.wikipedia.org/wiki/IEEE_802.1Q
    and http://en.wikipedia.org/wiki/QinQ
*/
#ifndef ETHERTYPE_8021Q9100
#define ETHERTYPE_8021Q9100     0x9100
#endif
#ifndef ETHERTYPE_8021Q9200
#define ETHERTYPE_8021Q9200     0x9200
#endif
#ifndef ETHERTYPE_8021QinQ
#define ETHERTYPE_8021QinQ      0x88a8
#endif

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

donner edited the test plan for this revision. (Show Details)
philip added a subscriber: philip.

Looks good to me. I'll commit this.

This revision is now accepted and ready to land.Oct 16 2019, 8:10 PM
This revision was automatically updated to reflect the committed changes.