From: Antonio Quartulli Date: Tue, 26 Apr 2011 16:26:01 +0000 (+0200) Subject: batman-adv: add wrapper function to throw uevent in userspace X-Git-Tag: v3.1-rc1~316^2~412^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6bda689c2c94788e1e567463ce861d1f135857f;p=pandora-kernel.git batman-adv: add wrapper function to throw uevent in userspace Using throw_uevent() is now possible to trigger uevent signal that can be recognised in userspace. Uevents will be triggered through the /devices/virtual/net/{MESH_IFACE} kobject. A triggered uevent has three properties: - type: the event class. Who generates the event (only 'gw' is currently defined). Corresponds to the BATTYPE uevent variable. - action: the associated action with the event ('add'/'change'/'del' are currently defined). Corresponds to the BATACTION uevent variable. - data: any useful data for the userspace. Corresponds to the BATDATA uevent variable. Signed-off-by: Antonio Quartulli Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed