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)
Mar 17 2024, 8:27 PM
Unknown Object (File)
Mar 3 2024, 5:06 AM
Unknown Object (File)
Mar 3 2024, 5:06 AM
Unknown Object (File)
Mar 3 2024, 5:06 AM
Unknown Object (File)
Mar 3 2024, 4:50 AM
Unknown Object (File)
Jan 10 2024, 1:59 PM
Unknown Object (File)
Dec 20 2023, 7:39 AM
Unknown Object (File)
Dec 18 2023, 8:53 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 Not Applicable
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.