Page MenuHomeFreeBSD

sys/net: add DOT1Q_VID_{MIN,MAX}
ClosedPublic

Authored by ivy on Apr 15 2025, 4:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 12, 10:36 AM
Unknown Object (File)
Sat, Nov 8, 1:55 AM
Unknown Object (File)
Mon, Nov 3, 1:45 AM
Unknown Object (File)
Sat, Nov 1, 12:55 PM
Unknown Object (File)
Fri, Oct 31, 1:57 AM
Unknown Object (File)
Oct 7 2025, 11:34 PM
Unknown Object (File)
Oct 4 2025, 11:34 PM
Unknown Object (File)
Oct 3 2025, 12:40 AM

Details

Summary

add a new typedef in if_vlan_var.h to represent the lowest (1) and
highest (4095) valid VLAN IDs in a .1q tag.

change if_vlan to use DOT1Q_VID_MAX instead of a magic number.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Apr 15 2025, 4:09 PM
This revision was not accepted when it landed; it landed in state Needs Review.Apr 15 2025, 9:43 PM
Closed by commit rGc59492025073: sys/net: add DOT1Q_VID_{MIN,MAX} (authored by ivy, committed by kp). · Explain Why
This revision was automatically updated to reflect the committed changes.