ng_ip_input ?

Ruslan Ermilov ru at freebsd.org
Sat Aug 19 13:51:34 UTC 2006


On Sat, Aug 19, 2006 at 07:05:49PM +0530, Rajkumar S wrote:
> On 8/19/06, Ruslan Ermilov <ru at freebsd.org> wrote:
> >On Sat, Aug 19, 2006 at 05:44:39PM +0530, Rajkumar S wrote:
> >> The man page states
> >>
> >> DESCRIPTION
> >>     The ip_input node type takes all received packets and queues them 
> >into
> >>     the IP in input processing subsystem.
> 
> >It does this simple thing:
> >
> >> netisr_dispatch(NETISR_IP, m);
> >
> >which means putting the mbuf pointed to by "m" into the IP
> >input queue and scheduling a call to ip_input().
> 
> Thanks a lot for  your answer.
> 
> So this is used to inject packets into the ip stack?
>
Yes.

> also, normally
> packets received from ethernet is passed into the same point, right?
> 
Normally, yes.  By sys/net/if_ethersubr.c::ether_demux().

> Any points to docs to read about a packet's traversal in FreeBSD ip
> stack? (especially wrt pf)
> 
What level of detalization do you need?  Filters, such as pf(4), are
embedded into the normal processing using the pfil(9) API.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20060819/32cfe626/attachment.pgp


More information about the freebsd-net mailing list