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)
Mon, Oct 13, 11:21 AM
Unknown Object (File)
Mon, Oct 13, 9:19 AM
Unknown Object (File)
Mon, Oct 13, 5:56 AM
Unknown Object (File)
Mon, Oct 13, 3:01 AM
Unknown Object (File)
Sat, Oct 11, 12:40 PM
Unknown Object (File)
Fri, Sep 26, 12:02 PM
Unknown Object (File)
Thu, Sep 18, 5:11 AM
Unknown Object (File)
Sep 16 2025, 5:36 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