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)
Sat, Dec 13, 1:07 AM
Unknown Object (File)
Fri, Dec 12, 2:26 AM
Unknown Object (File)
Nov 24 2025, 2:05 PM
Unknown Object (File)
Nov 22 2025, 10:33 PM
Unknown Object (File)
Nov 13 2025, 2:53 AM
Unknown Object (File)
Nov 12 2025, 1:52 AM
Unknown Object (File)
Nov 8 2025, 3:14 AM
Unknown Object (File)
Nov 6 2025, 4:11 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