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)
Thu, Jan 5, 2:53 PM
Unknown Object (File)
Dec 25 2022, 4:16 AM
Unknown Object (File)
Dec 22 2022, 7:37 AM
Unknown Object (File)
Dec 20 2022, 2:25 AM
Unknown Object (File)
Dec 14 2022, 5:49 AM
Unknown Object (File)
Dec 9 2022, 4:53 PM

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