Page MenuHomeFreeBSD

vlan: deduplicate bpf_setpcp() and pf_ieee8021q_setpcp()
ClosedPublic

Authored by kp on Jul 22 2021, 2:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 14, 7:18 AM
Unknown Object (File)
Sun, Mar 9, 10:36 PM
Unknown Object (File)
Sun, Feb 23, 8:02 PM
Unknown Object (File)
Feb 11 2025, 9:29 PM
Unknown Object (File)
Feb 11 2025, 9:28 PM
Unknown Object (File)
Feb 9 2025, 9:18 AM
Unknown Object (File)
Feb 9 2025, 9:17 AM
Unknown Object (File)
Feb 8 2025, 1:51 AM

Details

Summary

These two fuctions were identical, so move them into the common
vlan_set_pcp() function, exposed in the if_vlan_var.h header.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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