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
F166984975: D49836.id153686.diff
Tue, Aug 18, 9:43 AM
Unknown Object (File)
Wed, Aug 12, 12:42 PM
Unknown Object (File)
Wed, Aug 12, 6:05 AM
Unknown Object (File)
Fri, Aug 7, 5:34 PM
Unknown Object (File)
Tue, Aug 4, 2:58 AM
Unknown Object (File)
Fri, Jul 31, 10:05 AM
Unknown Object (File)
Thu, Jul 30, 9:57 PM
Unknown Object (File)
Sat, Jul 25, 10:14 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