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)
Mon, May 19, 2:45 AM
Unknown Object (File)
May 7 2025, 3:32 AM
Unknown Object (File)
May 4 2025, 3:41 PM
Unknown Object (File)
May 4 2025, 9:25 AM
Unknown Object (File)
Apr 27 2025, 9:43 PM
Unknown Object (File)
Apr 22 2025, 10:08 PM
Unknown Object (File)
Apr 22 2025, 10:04 PM
Unknown Object (File)
Apr 22 2025, 9:37 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