HomeFreeBSD

vlan: deduplicate bpf_setpcp() and pf_ieee8021q_setpcp()

Description

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

Details

Provenance
kpAuthored on Jul 22 2021, 8:35 AM
Reviewer
donner
Differential Revision
D31275: vlan: deduplicate bpf_setpcp() and pf_ieee8021q_setpcp()
Parents
rG1e7fe2fbb9c0: bpf: Add an ioctl to set the VLAN Priority on packets sent by bpf
Branches
Unknown
Tags
Unknown