Those of you following along at home remember I requested feedback about
the viability of my last net-shim patch. Well, I didn't hear a peep.
I've updated it anyway. Here is a list of the changes:
-shim protocols no longer need to register a protocol type, just a name.
-shim protocols are stored in a a plain linked list, no need for the hashing
-shim data now has a datalen field and data is a zero len array. The user
must allocate enought room.
-removed struct rtshim from struct rtnexthop, the shim info is added to
multi-nexthop routes via RTA_PUT (just like RTA_GATEWAY). This is
significant, now an unchanged iproute2 will still be able to add
ipv4 multi-nexthop routes
-minimal documentation for all of the shim functions.
Things that still need to be resolved
-move proc file system code to a seperate file (maybe discard it?)
-figure out how to add shim support to IPv6 without making changes to
struct in6_rtmsg, especially since rtshim is variable size ....
-migrate to 2.6.13
-make sure net-shim works with fib_trie.c
I would still like to hear some feedback, Jamal are you out there?
Patch attached.
--
James R. Leu
jl...@mi...
|