Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2001 15:56:00 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        Henry Su <henrysu@nttmcl.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: socket call in the kernel
Message-ID:  <20011220155600.J48837@elvis.mu.org>
In-Reply-To: <AJEHKCJLENGKGEHDIOJGAEMFCGAA.henrysu@nttmcl.com>; from henrysu@nttmcl.com on Thu, Dec 20, 2001 at 12:58:22PM -0800
References:  <AJEHKCJLENGKGEHDIOJGAEMFCGAA.henrysu@nttmcl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Henry Su <henrysu@nttmcl.com> [011220 14:56] 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?

This is nowhere near enough information for anyone to be able to
help you.  Please be more specific, show us some example code.

thanks,
-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
                           http://www.morons.org/rants/gpl-harmful.php3

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?20011220155600.J48837>