Hi all,
i have written a kernel module to implement a new routing protocol. it is working fine. i am facing a small problem in catching signal in my module.
Actually i have to catch SIGPWR signal in my module, so that if this signal triggers then i'll get to know that POWER is gone and i hv to broadcast a CONTROL PACKET in the network..
my problem is, how to catch the signal and process it. i want to call a routine node_status_change(.....) when SIGPWR triggers...
can anybody will help me to come out from this problem....
ne suggestion is welcome
Thanx in advance
Nivedan Nigam
MTech CSE
IIT Guwahati
India