Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 10:37:05 -0400
From:      sridharv@ufl.edu
To:        freebsd-hackers@freebsd.org
Subject:   inpcb question
Message-ID:  <200107191437.KAA03175@anansi.vpha.health.ufl.edu>

next in thread | raw e-mail | index | archive | help

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




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