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, Sep 20, 3:16 AM
Unknown Object (File)
Fri, Sep 19, 2:16 PM
Unknown Object (File)
Wed, Sep 17, 10:13 AM
Unknown Object (File)
Sep 12 2025, 10:31 PM
Unknown Object (File)
Sep 12 2025, 5:50 AM
Unknown Object (File)
Sep 11 2025, 11:34 AM
Unknown Object (File)
Sep 10 2025, 5:35 PM
Unknown Object (File)
Sep 10 2025, 3:54 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