diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-09-03 12:23:53 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-09-03 16:21:02 (GMT) |
commit | 13001371708b5349425e072825748d3a6722fd9b (patch) | |
tree | e8a956c91c8ed54961b2c622184b371326618ce1 | |
parent | 003a63a494da183c3ed0fbab30927f7ba3673bd6 (diff) | |
download | libnl-13001371708b5349425e072825748d3a6722fd9b.zip libnl-13001371708b5349425e072825748d3a6722fd9b.tar.gz libnl-13001371708b5349425e072825748d3a6722fd9b.tar.bz2 |
vlan: add MVRP VLAN flag
Kernel patch: http://patchwork.ozlabs.org/patch/219040/
iproute2 patch: http://patchwork.ozlabs.org/patch/219364/
Signed-off-by: Jiří Klimeš <jklimes@redhat.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | include/linux-private/linux/if_vlan.h | 1 | ||||
-rw-r--r-- | lib/route/link/vlan.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux-private/linux/if_vlan.h b/include/linux-private/linux/if_vlan.h index 67affd1..bae71c5 100644 --- a/include/linux-private/linux/if_vlan.h +++ b/include/linux-private/linux/if_vlan.h @@ -33,6 +33,7 @@ enum vlan_flags { VLAN_FLAG_REORDER_HDR = 0x1, VLAN_FLAG_GVRP = 0x2, VLAN_FLAG_LOOSE_BINDING = 0x4, + VLAN_FLAG_MVRP = 0x8, }; enum vlan_name_types { diff --git a/lib/route/link/vlan.c b/lib/route/link/vlan.c index d815f65..d266b7e 100644 --- a/lib/route/link/vlan.c +++ b/lib/route/link/vlan.c @@ -612,6 +612,7 @@ static const struct trans_tbl vlan_flags[] = { __ADD(VLAN_FLAG_REORDER_HDR, reorder_hdr), __ADD(VLAN_FLAG_GVRP, gvrp), __ADD(VLAN_FLAG_LOOSE_BINDING, loose_binding), + __ADD(VLAN_FLAG_MVRP, mvrp), }; /** |