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
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
Unknown Object (File)
Apr 26 2026, 9:28 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