]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netgraph/ng_vlan_rotate: IEEE 802.1ad VLAN manipulation netgraph type
authorLutz Donnerhacke <donner@FreeBSD.org>
Tue, 26 Jan 2021 15:50:04 +0000 (16:50 +0100)
committerLutz Donnerhacke <donner@FreeBSD.org>
Tue, 26 Jan 2021 15:53:24 +0000 (16:53 +0100)
commitcfd6422a5217410fbd66f7a7a8a64d9d85e61229
tree3cdd80c3fe302f8539730d3402760ca7a73e73b6
parent6a376af0cd212be4e16d013d35a0e2eec1dbb8ae
netgraph/ng_vlan_rotate: IEEE 802.1ad VLAN manipulation netgraph type

This node is part of an A10-NSP (L2-BSA) development.

Carrier networks tend to stack three or more tags for internal
purposes and therefore hiding the service tags deep inside of the
stack. When decomposing such an access network frame, the processing
order is typically reversed: First distinguish by service, than by
other means.

This new netgragh node allows to bring the relevant VLAN in front (to
the out-most position). This way other netgraph nodes (like ng_vlan)
can operate on this specific type.

Reviewed by: manpages (gbe), brueffer (manpages), kp
Approved by: kp (mentor)
MFC after: 1 month
Relnotes: yes
Sponsored by: IKS Service GmbH
Differential Revision: https://reviews.freebsd.org/D22076
share/man/man4/Makefile
share/man/man4/ng_vlan_rotate.4 [new file with mode: 0644]
sys/conf/files
sys/modules/netgraph/Makefile
sys/modules/netgraph/vlan_rotate/Makefile [new file with mode: 0644]
sys/netgraph/ng_vlan_rotate.c [new file with mode: 0644]
sys/netgraph/ng_vlan_rotate.h [new file with mode: 0644]