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)
Sun, Mar 1, 10:28 PM
Unknown Object (File)
Sat, Feb 28, 11:18 PM
Unknown Object (File)
Sat, Feb 28, 8:12 PM
Unknown Object (File)
Sat, Feb 28, 6:36 PM
Unknown Object (File)
Sat, Feb 28, 6:33 PM
Unknown Object (File)
Sat, Feb 28, 9:22 AM
Unknown Object (File)
Tue, Feb 17, 1:33 PM
Unknown Object (File)
Sat, Feb 7, 10:26 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