HomeFreeBSD

sys/net: add a new ether_vlanid_t type

Description

sys/net: add a new ether_vlanid_t type

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.

Reviewed by: adrian, kp
Differential Revision: https://reviews.freebsd.org/D49836

(cherry picked from commit 96f830456fd449c4cb5a7df8a2f6c3c96993b43e)

Details

Provenance
ivyAuthored on Apr 15 2025, 4:13 PM
Reviewer
adrian
Differential Revision
D49836: sys/net: add a new ether_vlanid_t type
Parents
rG738c0bb0ad0b: wpa_supplicant: Use PF_LOCAL instead of PF_INET*
Branches
Unknown
Tags
Unknown