HomeFreeBSD

pf tests: Basic 'set prio' test

Description

pf tests: Basic 'set prio' test

The ability to set VLAN PCP from pf was introduced in 3e248e0fb4, but
never had a test added.

Create a basic setup to set the PCP to an arbitrary value and use
tcpdump to check it's actually set.

MFC after: 1 week

Details

Provenance
kpAuthored on Feb 14 2022, 5:44 PM
Parents
rG78bc3d5e1712: vlan: allow net.link.vlan.mtag_pcp to be set per vnet
Branches
Unknown
Tags
Unknown