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
F146014863: D49836.diff
Fri, Feb 27, 1:22 AM
Unknown Object (File)
Thu, Feb 26, 5:19 AM
Unknown Object (File)
Sun, Feb 8, 12:33 PM
Unknown Object (File)
Sun, Feb 8, 2:22 AM
Unknown Object (File)
Sat, Jan 31, 2:36 PM
Unknown Object (File)
Jan 24 2026, 11:29 AM
Unknown Object (File)
Dec 28 2025, 3:21 AM
Unknown Object (File)
Dec 13 2025, 1:07 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