On Tuesday, July 02, 2013 17:04:35 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
Each VLAN can now have its own set of attributes. Export them through a new subfolder in the sysfs tree. Each VLAN created on top of a soft_iface will have its own subfolder.
The subfolder is named "vlan%VID" and it is created inside the "mesh" sysfs folder belonging to batman-adv.
Attributes corresponding to the untagged LAN are stored in the root sysfs folder as before.
Create all the needed macros and data structures to easily handle new VLAN spacific attributes.
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
soft-interface.c | 13 ++++- soft-interface.h | 3 + sysfs.c | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sysfs.h | 10 ++++ 4 files changed, 196 insertions(+), 3 deletions(-)
Applied in revision e4ff5c1.
Thanks, Marek