]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net tests: basic test case for bpf(4)'s ability to set vlan pcp
authorKristof Provost <kp@FreeBSD.org>
Thu, 22 Jul 2021 12:50:27 +0000 (14:50 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 2 Aug 2021 15:03:03 +0000 (17:03 +0200)
commit40dfe99449af99ad56775ac4fd144b4e1db3c72f
tree4fe8a6561fc18a159cb0f63ebf9f11e5283c7009
parente22a6a4fbfaf02c4a76542e1cfad76a8194c0290
net tests: basic test case for bpf(4)'s ability to set vlan pcp

Use dhclient with its 'vlan-pcp' option to set a VLAN PCP value and
verify that it actually gets set.

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

(cherry picked from commit 3e87f800f01b6d2cbe49924a01038379889d8b3b)
tests/sys/net/Makefile
tests/sys/net/dhclient_pcp.conf [new file with mode: 0644]
tests/sys/net/if_vlan.sh
tests/sys/net/pcp.py [new file with mode: 0644]
tests/sys/netpfil/common/sniffer.py