From owner-freebsd-net Wed Aug 30 11:18: 2 2000 Delivered-To: freebsd-net@freebsd.org Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (Postfix) with ESMTP id AA9DB37B424 for ; Wed, 30 Aug 2000 11:17:59 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.10.0/8.10.0) id e7UIHv000425; Wed, 30 Aug 2000 11:17:57 -0700 (PDT) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma000422; Wed, 30 Aug 2000 11:17:44 -0700 Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id LAA31504; Wed, 30 Aug 2000 11:17:43 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200008301817.LAA31504@bubba.whistle.com> Subject: Re: Problem in calling ip_input() In-Reply-To: <20000829125041.8226.qmail@web3006.mail.yahoo.com> "from deepika kakrania at Aug 29, 2000 05:50:41 am" To: deepika kakrania Date: Wed, 30 Aug 2000 11:17:43 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG, freebsd-hackers@freeBSD.O X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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