newlib-cygwin/newlib/libc/sys/rtems/include
kib b0250c7356 Allow to specify PCP on packets not belonging to any VLAN.
According to 802.1Q-2014, VLAN tagged packets with VLAN id 0 should be
considered as untagged, and only PCP and DEI values from the VLAN tag
are meaningful.  See for instance
https://www.cisco.com/c/en/us/td/docs/switches/connectedgrid/cg-switch-sw-master/software/configuration/guide/vlan0/b_vlan_0.html.

Make it possible to specify PCP value for outgoing packets on an
ethernet interface.  When PCP is supplied, the tag is appended, VLAN
id set to 0, and PCP is filled by the supplied value.  The code to do
VLAN tag encapsulation is refactored from the if_vlan.c and moved into
if_ethersubr.c.

Drivers might have issues with filtering VID 0 packets on
receive.  This bug should be fixed for each driver.

Reviewed by:	ae (previous version), hselasky, melifaro
Sponsored by:	Mellanox Technologies
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D14702
2018-08-24 15:00:03 +02:00
..
arpa SPDX: license IDs for some ISC-related files. 2018-08-24 15:00:03 +02:00
machine RTEMS: Unconditionally define _off_t to int64_t 2018-07-20 06:53:21 +02:00
net Allow to specify PCP on packets not belonging to any VLAN. 2018-08-24 15:00:03 +02:00
netinet Add the "TCP Blackbox Recorder" 2018-08-24 15:00:03 +02:00
netinet6 Follow the RFC6980 and silently ignore following IPv6 NDP messages 2018-08-24 15:00:03 +02:00
sys Allow to specify PCP on packets not belonging to any VLAN. 2018-08-24 15:00:03 +02:00
limits.h RTEMS: Increase SEM_VALUE_MAX 2016-12-20 12:39:31 +01:00
netdb.h SPDX: license IDs for some ISC-related files. 2018-08-24 15:00:03 +02:00
semaphore.h RTEMS: Make sem_t self-contained 2017-10-05 14:56:12 +02:00
syslog.h Add some POSIX header files for RTEMS 2017-05-25 12:41:33 -04:00
termios.h include: further adoption of SPDX licensing ID tags. 2018-08-24 15:00:03 +02:00