]> git.ipfire.org Git - thirdparty/grub.git/commit
Add Virtual LAN support.
authorPaulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
Mon, 23 Dec 2013 14:32:02 +0000 (12:32 -0200)
committerPaulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
Mon, 23 Dec 2013 14:32:47 +0000 (12:32 -0200)
commitaf768f8d4166aae41bbac8575fca7c65a319bfdb
treec82d1306f432fe05125b610fa54d885e3d222d64
parent8ff3c31f6d59ca758b3bc0020e5140dcc937edd6
Add Virtual LAN support.

This patch adds support for virtual LAN (VLAN) tagging. VLAN tagging allows
multiple VLANs in a bridged network to share the same physical network link
but maintain isolation:

http://en.wikipedia.org/wiki/IEEE_802.1Q

* grub-core/net/ethernet.c: Add check, get, and set vlan tag id.
* grub-core/net/drivers/ieee1275/ofnet.c: Get vlan tag id from bootargs.
* grub-core/net/arp.c: Add check.
* grub-core/net/ip.c: Likewise.
* include/grub/net/arp.h: Add vlantag attribute.
* include/grub/net/ip.h: Likewise.
ChangeLog
grub-core/net/arp.c
grub-core/net/drivers/ieee1275/ofnet.c
grub-core/net/ethernet.c
grub-core/net/ip.c
include/grub/net.h
include/grub/net/arp.h
include/grub/net/ip.h