ORBIT-USER: Kernel module.. need help and suggestion

Arinto Murdopo arinto at gmail.com
Sun Oct 1 23:35:01 EDT 2006


Hi Mesut,

My target implementation protocol is GPSR, greedy perimeter stateless
routing. And since I only have little time to do implementation, I plan to
do that using PRAN(Physical Realization of Ad Hoc Network) method, The
detail about this method can be found here<http://www.monarch.cs.rice.edu/pran/>

Basically the idea is reuse the ns-2 simulation code and put it in the user
space of linux. After that, I need to develop converter module to convert
between ns-2 packet format to linux packet format. In this case I need to
access the kernel to extract the packet and send the processed packet. The
software architecture is shown
here<http://img223.imageshack.us/my.php?image=shortreport4wx9.jpg>

Can you explain me more about the packet capturing library? If I use this
library, do I need to access the kernel? The PRAN itself need a small
modification in the kernel area.. hmm.. I think I need to find out about
this packet capturing library, if it is easier to use, then I'll use it.

Thank you for your attention

Arinto

On 10/2/06, Mesut Ali Ergin < ergin at eden.rutgers.edu > wrote:
>
> Arinto,
>
> You may want to give us a bit more detail on the level of performance
> you expect from the protocol you intend to develop. Depending on that,
> you might not have to modify kernel source to write your protocol. Maybe
> you can live with packet capturing libraries (e.g. libpcap) and code in
> userspace.
>
> For differences and their potential effects on your design, you can
> inspect changelogs from 2.6.12 to 2.6.15 at
> http://www.kernel.org/pub/linux/kernel/v2.6/ if you like. Alternatively,
> upgrading baseline kernel to 2.6.15 without effecting most of the ORBIT
> stuff should not be a big problem.
>
> Regards,
>
> --
> MAE
>
>
> Arinto Murdopo wrote:
> > Hi all,
> >
> > I would like to get suggestion from you all. Actually I need to
> > implement wireless protocol and later I need to upload this as a debian
> > package to ORBIT. Currently I'm using Ubuntu 6.06 which is Debian based
> > operating system. The kernel version is 2.6.15-27-386. And refer to
> > previuos post, the ORBIT environment uses kernel version 2.6.12. Is that
> > OK to use the 2.6.15-kernel as the development platform? The protocol
> > need to grab packet data structure from kernel module, I'm afraid that
> > there will be some error if I develop the wireless protocol using kernel
> > that has different version compared to ORBIT testbed's node. Anybody has
>
> > do this before?
> >
> > Actually I have installed the 2.6.12 kernel in my linux box, but the
> > problem is most of the devices don't work properly and even the lan card
> > doesn't function properly. And I have already behind the schedule for my
>
> > project and I need to re-schedule my plan.
> >
> > Thank you for your attention.
> >
> > Arinto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20061002/b9ea3848/attachment.htm 


More information about the orbit-user mailing list