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)
Tue, Oct 7, 11:34 PM
Unknown Object (File)
Sat, Oct 4, 11:34 PM
Unknown Object (File)
Fri, Oct 3, 12:40 AM
Unknown Object (File)
Sep 13 2025, 5:50 AM
Unknown Object (File)
Sep 12 2025, 11:17 PM
Unknown Object (File)
Sep 12 2025, 4:16 PM
Unknown Object (File)
Sep 12 2025, 7:17 AM
Unknown Object (File)
Sep 7 2025, 4:22 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.