From owner-freebsd-hackers Thu Jul 19 7:37: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from anansi.vpha.health.ufl.edu (anansi.vpha.health.ufl.edu [159.178.78.153]) by hub.freebsd.org (Postfix) with ESMTP id 0260637B403 for ; Thu, 19 Jul 2001 07:37:06 -0700 (PDT) (envelope-from sridharv@ufl.edu) Received: (from dymphna@localhost) by anansi.vpha.health.ufl.edu (8.9.3/8.9.3) id KAA03175; Thu, 19 Jul 2001 10:37:05 -0400 Date: Thu, 19 Jul 2001 10:37:05 -0400 From: sridharv@ufl.edu Message-Id: <200107191437.KAA03175@anansi.vpha.health.ufl.edu> X-Authentication-Warning: anansi.vpha.health.ufl.edu: dymphna set sender to sridharv@ufl.edu using -f To: freebsd-hackers@freebsd.org Reply-To: sridharv@ufl.edu MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.10 X-Originating-IP: 128.227.205.209 Subject: inpcb question Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have written a kernel module and modified the stack code ( at the socket layer) to send control to my module. I am trying to access the inpcb structure associated with that particular socket. struct in_pcb* inp = sotoinpcb(so); if (inp) .... processing though the pbc structure is allocated i am getting a page fault everytime when i try to access it. any idea? my code is in the socket layer..i checked up the udp routines.. they do pretty much the same thing.. any help? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message