Sabtu, 24 April 2010

Modify The aodv-uu protocol

Actually this is my big brother research, I just help him to modify the aodv-uu protocol to running in kernel 2.6.27.
Firstly when I compiled the protocol in a few months a go, I got a lot of error. I analyzed the error and got the point.
1. The kernel 2.6.27 uses the user space not the system space again. So the sintaks must be change to support the user space. One of the sintaks must be changed is NF_IP_PRE_ROUTING become NF_INET_PRE_ROUTING
2. There were a lot of function in header file that was used by aodv protocol had been changed in kernel 2.6.27. Such as dev_get_by_name, proc_net_create, proc_net_delete function, etc. The changes are not much. They just include the additional parameter, or a little change in function name.
Those are above two problems appears when I try to compile tha protocol.
I've finish to correct the error, but there are some warnings when compile the source.
I've try it in my Ubuntu 8.10. If you want the source you can download below.