Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2001 12:59:07 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Henry Su <henrysu@nttmcl.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: socket call in the kernel
Message-ID:  <Pine.BSF.4.21.0112201258070.46573-100000@InterJet.elischer.org>
In-Reply-To: <AJEHKCJLENGKGEHDIOJGAEMFCGAA.henrysu@nttmcl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You cannot do a socket directly but you can indirectly
tell me what you are trying to do and I can help..



On Thu, 20 Dec 2001, Henry Su wrote:

> I am trying to modify ip_fw.c in the /usr/src/sys/netinet, I tried to add a
> socket call in the code, it can be compiled, but when it runs into the code,
> it just crashed. It gave me the "Fatal trap error 12", Memory address is
> wrong.
> 
> Can any one tell me if socket call can be used in kernel level? If not, how
> can I accomplish socket communication in the kernel level?
> 
> Thanks.
> 
> ------------------------------------------------
> 
> Henry Su
> 
> NTT Multimedia Communications Laboratories, Inc.
> 
> 250 Cambridge Avenue Suite 300
> 
> Palo Alto, CA 94306, USA (PST:UTC -8H)
> 
> Tel: +1 650 833 3652
> 
> Fax: +1 650 326 1878
> 
> http://www.nttmcl.com/
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
> 


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?Pine.BSF.4.21.0112201258070.46573-100000>