freebsd-nq/sys/netpfil
Kristof Provost c9ef3984a1 vlan: deduplicate bpf_setpcp() and pf_ieee8021q_setpcp()
These two fuctions were identical, so move them into the common
vlan_set_pcp() function, exposed in the if_vlan_var.h header.

Reviewed by:	donner
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D31275

(cherry picked from commit 9ef8cd0b79)
2021-08-02 16:50:32 +02:00
..
ipfw dummynet: reduce console spam 2021-07-16 11:08:27 +02:00
pf vlan: deduplicate bpf_setpcp() and pf_ieee8021q_setpcp() 2021-08-02 16:50:32 +02:00