On 12/11/14 09:19, Krishnathiepan Rasanayagam wrote:
Hi All,
Has anyone considered using threads in batman-adv?
did you mean kthread? I don't think this would bring any real benefit. You should probably read/understand the rest of the networking stack in the linux kernel to understand how incoming/outgoing packets are handled.
is is possible to use fork() send.c file?
fork() is a function that is supposed to be used in *userspace* to create a new *process*. This is neither available nor conceptually possible in kernel space.
Maybe you should read a bit more about what you can do and what you cannot do while developing a kernel module? :)