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)
Sat, Dec 6, 5:02 AM
Unknown Object (File)
Wed, Dec 3, 11:28 PM
Unknown Object (File)
Sun, Nov 30, 6:25 PM
Unknown Object (File)
Fri, Nov 28, 9:40 PM
Unknown Object (File)
Tue, Nov 25, 8:23 PM
Unknown Object (File)
Nov 12 2025, 10:36 AM
Unknown Object (File)
Nov 8 2025, 1:55 AM
Unknown Object (File)
Nov 3 2025, 1:45 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.