Page MenuHomeFreeBSD

ifconfig/ifbridge.c: add get_vlan_id()
ClosedPublic

Authored by ivy on Jul 25 2025, 11:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 3:00 PM
Unknown Object (File)
Sat, Oct 11, 8:11 PM
Unknown Object (File)
Sat, Oct 11, 8:11 PM
Unknown Object (File)
Sat, Oct 11, 8:10 PM
Unknown Object (File)
Sat, Oct 11, 11:13 AM
Unknown Object (File)
Tue, Oct 7, 5:36 AM
Unknown Object (File)
Sun, Oct 5, 1:35 PM
Unknown Object (File)
Fri, Oct 3, 4:21 AM
Subscribers

Details

Summary

This is like get_val() but takes an ether_vlanid_t* and ensures the
value is a valid VLAN ID. This avoids redundant comparisons and
casting when parsing VLAN IDs.

Diff Detail

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