Page MenuHomeFreeBSD

sys/net: add a new ether_vlanid_t type
ClosedPublic

Authored by ivy on Apr 15 2025, 4:07 PM.
Tags
None
Referenced Files
F163064327: D49836.id153708.diff
Sun, Jul 19, 6:31 PM
Unknown Object (File)
Fri, Jul 3, 7:30 AM
Unknown Object (File)
Thu, Jul 2, 8:52 AM
Unknown Object (File)
Thu, Jun 25, 7:04 AM
Unknown Object (File)
May 23 2026, 6:50 PM
Unknown Object (File)
May 18 2026, 2:29 AM
Unknown Object (File)
May 18 2026, 2:29 AM
Unknown Object (File)
May 18 2026, 2:22 AM

Details

Summary

ether_vlanid_t is a type to represent a VLAN ID, for example inside a
.1q tag. since this is specific to Ethernet, put it in net/ethernet.h.

change bridge to use the new type instead of uint{16,32}_t.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63519
Build 60403: arc lint + arc unit