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)
Tue, Oct 6, 5:02 PM
Unknown Object (File)
Mon, Oct 5, 8:56 AM
Unknown Object (File)
Sat, Oct 3, 9:04 PM
Unknown Object (File)
Thu, Sep 10, 3:02 PM
Unknown Object (File)
Wed, Sep 9, 11:21 PM
Unknown Object (File)
Sep 6 2026, 4:55 AM
Unknown Object (File)
Sep 6 2026, 2:00 AM
Unknown Object (File)
Sep 5 2026, 11:09 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