From owner-freebsd-net  Thu Dec 26 10:10:54 2002
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E7AB037B401
	for <freebsd-net@freebsd.org>; Thu, 26 Dec 2002 10:10:52 -0800 (PST)
Received: from mta4.srv.hcvlny.cv.net (mta4.srv.hcvlny.cv.net [167.206.5.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 41EB143EC5
	for <freebsd-net@freebsd.org>; Thu, 26 Dec 2002 10:10:52 -0800 (PST)
	(envelope-from agapon@excite.com)
Received: from asv9.srv.hcvlny.cv.net (asv9.srv.hcvlny.cv.net [167.206.5.30])
 by mta4.srv.hcvlny.cv.net
 (iPlanet Messaging Server 5.2 HotFix 1.05 (built Nov  6 2002))
 with ESMTP id <0H7Q00618NU20Z@mta4.srv.hcvlny.cv.net> for
 freebsd-net@freebsd.org; Thu, 26 Dec 2002 13:10:50 -0500 (EST)
Received: from mta10.srv.hcvlny.cv.net (mta10.srv.hcvlny.cv.net [167.206.5.45])
	by asv9.srv.hcvlny.cv.net (8.12.6/8.11.6) with ESMTP id gBQIAmr1017069	for
 <freebsd-net@freebsd.org>; Thu, 26 Dec 2002 13:10:48 -0500 (EST)
Received: from edge.foundation.invalid
 (ool-4352ef3f.dyn.optonline.net [67.82.239.63]) by mta10.srv.hcvlny.cv.net
 (iPlanet Messaging Server 5.2 HotFix 1.05 (built Nov  6 2002))
 with ESMTP id <0H7Q00JVFNTZJG@mta10.srv.hcvlny.cv.net> for
 freebsd-net@freebsd.org; Thu, 26 Dec 2002 13:10:48 -0500 (EST)
Received: from localhost (localhost.foundation.invalid [127.0.0.1])
	by edge.foundation.invalid (8.12.6/8.12.3) with ESMTP id gBQIAlke051187	for
 <freebsd-net@freebsd.org>; Thu,
 26 Dec 2002 13:10:47 -0500 (EST envelope-from agapon@excite.com)
Date: Thu, 26 Dec 2002 13:10:47 -0500 (EST)
From: Andriy Gapon <agapon@excite.com>
Subject: pseudo-device ef
X-X-Sender: avg@edge.foundation.invalid
To: freebsd-net@freebsd.org
Message-id: <20021226131020.D51183@edge.foundation.invalid>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT
Sender: owner-freebsd-net@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-net.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-net>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-net>
X-Loop: FreeBSD.org


I have FreeBSD 4.7-RELEASE here and pseudo-device ef doesn't seem to do
the right thing. When compile kernel wth this option I see all the ef
symbols in kernel:

p0:terminus#12:09>nm /kernel | fgrep ef_
c0271d48 r __set_sysctl_set_sym_sysctl___net_inet_ipsec_def_policy
c018f620 t ef_attach
c018fdb4 t ef_clone
c018f6ec t ef_detach
c018f764 t ef_init
c018f8d0 t ef_input
c02c3b4c B ef_inputp
c018f76c t ef_ioctl
c018fe54 t ef_load
c018fb64 t ef_output
c02c3b40 B ef_outputp
c018f800 t ef_start
c018ff7c t ef_unload
c02987c4 d if_ef_mod
c018ffd0 t if_ef_modevent
c02c4300 B ip4_def_policy
c029bb80 d sysctl___net_inet_ipsec_def_policy

but no XXNfM interfaces come into existance after boot.
On the other hand, if I load the corresponding module if_ef via
loader.conf, everything works like charm.
Am I missing something or is there a problem with the code ?

-- 
Andriy Gapon
*
"The worst part of communication is the illusion that it has
actually occurred".   M. Jenkins.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message