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
F166188827: D49836.diff
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
Unknown Object (File)
Sun, Jul 19, 6:31 PM
Unknown Object (File)
Jul 3 2026, 7:30 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 Not Applicable
Unit
Tests Not Applicable