Page MenuHomeFreeBSD

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

Authored by ivy on Apr 15 2025, 4:09 PM.
Tags
None
Referenced Files
F146940657: D49837.id.diff
Fri, Mar 6, 11:20 PM
Unknown Object (File)
Sun, Mar 1, 7:28 PM
Unknown Object (File)
Mon, Feb 23, 6:50 PM
Unknown Object (File)
Sun, Feb 8, 4:00 PM
Unknown Object (File)
Jan 18 2026, 5:52 PM
Unknown Object (File)
Jan 11 2026, 12:32 PM
Unknown Object (File)
Jan 6 2026, 11:28 AM
Unknown Object (File)
Dec 29 2025, 1:29 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.