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 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
Unknown Object (File)
Jul 2 2026, 8:52 AM
Unknown Object (File)
Jun 25 2026, 7:04 AM
Unknown Object (File)
May 23 2026, 6:50 PM

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