Re: [Q] More on protocol modules!

Nicholas J. Leon (nicholas@binary9.net)
Tue, 16 Sep 1997 22:02:23 -0400 (EDT)


Ok, I'm following up on my own post :)

I see now that inet_get_protocol() isn't called. The hash table that is
created via inet_add_protocol() is what is referenced.

Ahh.... well, one step closer and two steps back. So I'll ask this simple
question:

in ip_input.c, there is a function called ip_rcv() which appears to be the
starting point for all ip based protocols. When I threw packets at my box
(after adding some choice printk to ip_rcv()) with the ip protocol equal
to mine custom one, ip_rcv() never got called to handle the packets.

Ok, so 1.5 questions:
1) should ip_rcv() be called under the above situation?
1.5) if not, what is?
1.6) if so, what else do I need to do?

.....

------------------------------------------------------------------------------
Nicholas J. Leon <nicholas@binary9.net>
"Elegance through Simplicity" http://mrnick.binary9.net/
PGP:finger nicholas@neko.binary9.net Shinanyaku:[Chronx/War2/XvT]
------------------------------------------------------------------------------
As long as there are tests, there will be prayer in public schools

--
Please ignore the following addresses, they are intended to determine and
catch bulk emailers that scan newsgroups and mailing lists.

>> svpn_belegost.mit.edu@catcher.binary9.net >> linux-kernel_vger.rutgers.edu@catcher.binary9.net