Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 11:17:43 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        deepika kakrania <deepika_77@yahoo.com>
Cc:        freebsd-net@FreeBSD.ORG, freebsd-hackers@freeBSD.O
Subject:   Re: Problem in calling ip_input()
Message-ID:  <200008301817.LAA31504@bubba.whistle.com>
In-Reply-To: <20000829125041.8226.qmail@web3006.mail.yahoo.com> "from deepika kakrania at Aug 29, 2000 05:50:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
deepika kakrania writes:
>  I have changed if_ethersubr.c slightly to support a
> new protocol. In ehter_output, an additional header is
> added for this protocol between ethernet herader and
> IP header.
> 
>   ethernet header|New protocol header| IP header|
> Transport layer header
> 
> In ether_input(), after doing neccesary checks for
> this protocol,the packet is assigned to ipintrq for
> normal ip processing in following manner.
> 
>  schednetisr(NETISR_IP)                               
>   inq = &ipintrq;
> 
>  Now for testing when i send some ping packets with
> this additional new header to a host(which supports
> this new protocol), i find that i get reply only for
> first packet after rebooting. For rest packets ,
> ip_input is not being called even after packets are
> enqued in ipintrq.
> 
>  Could anyone explain to me what can be the problem
> here?

Perhaps you called splimp() somewhere in your code and
forgot to call splx() (or something like that)?

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008301817.LAA31504>