freebsd-skq/sbin/ifconfig
Marcelo Araujo 2ccbbd06d2 Add support to priority code point (PCP) that is an 3-bit field
which refers to IEEE 802.1p class of service and maps to the frame
priority level.

Values in order of priority are: 1 (Background (lowest)),
0 (Best effort (default)), 2 (Excellent effort),
3 (Critical applications), 4 (Video, < 100ms latency),
5 (Video, < 10ms latency), 6 (Internetwork control) and
7 (Network control (highest)).

Example of usage:
root# ifconfig em0.1 create
root# ifconfig em0.1 vlanpcp 3

Note:
The review D801 includes the pf(4) part, but as discussed with kristof,
we won't commit the pf(4) bits for now.
The credits of the original code is from rwatson.

Differential Revision:	https://reviews.freebsd.org/D801
Reviewed by:	gnn, adrian, loos
Discussed with: rwatson, glebius, kristof
Tested by:	many including Matthew Grooms <mgrooms__shrew.net>
Obtained from:	pfSense
Relnotes:	Yes
2016-06-06 09:51:58 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
af_inet6.c Address feedback from hrs@ re: r301059 (ifconfig subnet mask) 2016-06-02 03:16:02 +00:00
af_inet.c Address feedback from hrs@ re: r301059 (ifconfig subnet mask) 2016-06-02 03:16:02 +00:00
af_link.c Address feedback from hrs@ re: r301059 (ifconfig subnet mask) 2016-06-02 03:16:02 +00:00
af_nd6.c Use strlcpy() instead of strncpy() when copying ifname to ensure 2016-05-16 00:25:24 +00:00
carp.c
ifbridge.c Use nitems() from sys/param.h. 2016-04-19 04:42:34 +00:00
ifclone.c Use strlcpy() instead of strncpy() when copying ifname to ensure 2016-05-16 00:25:24 +00:00
ifconfig.8 Add support to priority code point (PCP) that is an 3-bit field 2016-06-06 09:51:58 +00:00
ifconfig.c Address feedback from hrs@ re: r301059 (ifconfig subnet mask) 2016-06-02 03:16:02 +00:00
ifconfig.h
iffib.c Use strlcpy() instead of strncpy() when copying ifname to ensure 2016-05-16 00:25:24 +00:00
ifgif.c
ifgre.c Use strlcpy() instead of strncpy() when copying ifname to ensure 2016-05-16 00:25:24 +00:00
ifgroup.c
ifieee80211.c ifconfig: set by default FCC regulatory domain for wireless interfaces. 2016-05-26 13:14:08 +00:00
iflagg.c Use nitems() from sys/param.h. 2016-04-19 04:42:34 +00:00
ifmac.c Use strlcpy() instead of strncpy() when copying ifname to ensure 2016-05-16 00:25:24 +00:00
ifmedia.c Use strlcpy() instead of strncpy() when copying ifname to ensure 2016-05-16 00:25:24 +00:00
ifpfsync.c
ifvlan.c Add support to priority code point (PCP) that is an 3-bit field 2016-06-06 09:51:58 +00:00
ifvxlan.c
Makefile
Makefile.depend
sfp.c Use macro MIN() from sys/param.h. 2016-04-27 02:02:44 +00:00