| To: | noah.romer@xxxxxxxx |
|---|---|
| Subject: | Re: 2.4.0-testx: who calls ip_rcv (in ipv4/ip_input.c)? |
| From: | Henner Eisen <eis@xxxxxxxxxxxxx> |
| Date: | 13 Sep 2000 21:35:45 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | Noah Romer's message of "Tue, 12 Sep 2000 17:03:49 -0500" |
| References: | <39BEA845.229F9494@lsil.com> |
| Sender: | owner-netdev@xxxxxxxxxxx |
Hi,
>>>>> "Noah" == Noah Romer <nromer@xxxxxxxx> writes:
Noah> Then I found where the packets get handled in ip_rcv and
Noah> then ip_rcv_finish, but I haven't been able to figure out
Noah> who calls ip_rcv.
Protocols register their receive methods by means of dev_add_pack().
That should be your starting point. They are called via the func() function
pointer member of struct packet_type. Try
grep \>.\*func /usr/src/linux/net/core/dev.c
for possible locations.
Henner
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | 2.4.0-testx: who calls ip_rcv (in ipv4/ip_input.c)?, Noah Romer |
|---|---|
| Next by Date: | Re: 2.4.0-testx: who calls ip_rcv (in ipv4/ip_input.c)?, Harald Welte |
| Previous by Thread: | 2.4.0-testx: who calls ip_rcv (in ipv4/ip_input.c)?, Noah Romer |
| Next by Thread: | Re: 2.4.0-testx: who calls ip_rcv (in ipv4/ip_input.c)?, Harald Welte |
| Indexes: | [Date] [Thread] [Top] [All Lists] |