Re: Modular ipv4 inquiries...

From: Matti Aarnio
Date: Sat Nov 01 2003 - 13:34:44 EST


On Sat, Nov 01, 2003 at 12:25:34PM -0600, Alexander Chacon wrote:
> Hello!
>
> I would like to know a few things about making the ipv4 code modular. I've been
> working on a school assignment that requires implementing tunneling, but first
> ipv4 must be modularized... it needs to be done using kernel 2.4.20
>
> .... What should I consider for a start, and how hard can it be
> in the end?

When I did it way back when once, it took me 1 or 2 days to do
basic modularization, where the IPv4 is installable once, and
will stay in forever (like IPv6 is now). To make it uninstallable
took me another week.

> I've experienced a lot of undefined symbol references which are linked
> to core kernel files!, isn't there a way to access these symbols from
> the module into the kernel while executing?

Yes. You need to export them from basic core.

> Thanks in advance
> Alexander Chacon

/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/