Welcome! Log In Create A New Profile

Advanced

event handler in kernel module -?

Posted by vl 
vl
event handler in kernel module -?
October 12, 2009 09:45AM
I wonder if is it possible to implement event handler / callback in linux module...
My dilemma: i am trying to implement simple udp server in loadable module with blocking read on udp socket which has to loop,listening to incoming udp traffic..
It doesn't seem as init_module would be the proper place for that loop...

What would be the standard method to register the udp listener / callback from init_module so that it only get called whenever udp packet is coming to the listener's port?
Thanks,
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 5 plus 22?
Message: