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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to