lkml.org 
[lkml]   [1997]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Q] More on protocol modules!
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


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.025 / U:0.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site