Page MenuHomeFreeBSD

Add 802.1Q ethertypes used in the wild
ClosedPublic

Authored by donner on Sep 30 2019, 7:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 5:15 AM
Unknown Object (File)
Sat, Nov 23, 7:02 AM
Unknown Object (File)
Wed, Nov 20, 2:08 PM
Unknown Object (File)
Nov 15 2024, 7:37 AM
Unknown Object (File)
Nov 14 2024, 4:33 PM
Unknown Object (File)
Nov 13 2024, 10:26 AM
Unknown Object (File)
Oct 28 2024, 10:14 PM
Unknown Object (File)
Oct 24 2024, 3:40 PM

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
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26784
Build 25124: arc lint + arc unit

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.