On Monday, May 09, 2011 03:02:28 PM Antonio Quartulli wrote:
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 BAACTION uevent variable.
- data: any useful data for the userspace. Corresponds to the BATDATA
uevent variable.
Applied in revision d2586d6.
Thanks,
Marek