From owner-freebsd-hackers Mon Mar 27 18:25:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from fgwmail7.fujitsu.co.jp (fgwmail7.fujitsu.co.jp [192.51.44.37]) by hub.freebsd.org (Postfix) with ESMTP id 972C637B7A0 for ; Mon, 27 Mar 2000 18:25:32 -0800 (PST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from m3.gw.fujitsu.co.jp by fgwmail7.fujitsu.co.jp (8.9.3/3.7W-MX0002-Fujitsu Gateway) id LAA05157; Tue, 28 Mar 2000 11:25:34 +0900 (JST) (envelope-from shin@nd.net.fujitsu.co.jp) Received: from chisato.nd.net.fujitsu.co.jp by m3.gw.fujitsu.co.jp (8.9.3/3.7W-0003-Fujitsu Domain Master) id LAA06474; Tue, 28 Mar 2000 11:25:29 +0900 (JST) Received: from localhost (dhcp7173.nd.net.fujitsu.co.jp [10.18.7.173]) by chisato.nd.net.fujitsu.co.jp (8.8.5+2.7Wbeta5/3.3W8chisato-970826) with ESMTP id LAA24367; Tue, 28 Mar 2000 11:25:29 +0900 (JST) To: efutch@nyct.net Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: gif and faith as kld... In-Reply-To: References: <20000328103805K.shin@nd.net.fujitsu.co.jp> X-Mailer: Mew version 1.94 on Emacs 20.4 / Mule 4.0 (HANANOEN) X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000328112629Q.shin@nd.net.fujitsu.co.jp> Date: Tue, 28 Mar 2000 11:26:29 +0900 From: Yoshinobu Inoue X-Dispatcher: imput version 990905(IM130) Lines: 50 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I fixed this obvious problem in the latest message I sent with new > Makefile's. Sorry, I received those mails in reversed order. > Note that there might be some side-effect of making gif into > a kernel module. When I was using the gif kernel module I couldn't ping6 > to anywhere. Now that it's compiled directly into the kernel I can. I > have to do more testing I guess. Ah, I noticed that gif routines need to be defiend in protosw, and they are defined like below with "#ifdef NGIF" directive. in netinet/in_gif.c #if NGIF > 0 { SOCK_RAW, &inet6domain, IPPROTO_IPV4, PR_ATOMIC|PR_ADDR, in6_gif_input,0, 0, 0, 0, 0, 0, 0, 0, &nousrreqs }, { SOCK_RAW, &inet6domain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR, in6_gif_input,0, 0, 0, 0, 0, 0, 0, 0, &nousrreqs }, #endif /* GIF */ in netinet6/in_gif.c #if NGIF > 0 { SOCK_RAW, &inet6domain, IPPROTO_IPV4, PR_ATOMIC|PR_ADDR, in6_gif_input,0, 0, 0, 0, 0, 0, 0, 0, &nousrreqs }, { SOCK_RAW, &inet6domain, IPPROTO_IPV6, PR_ATOMIC|PR_ADDR, in6_gif_input,0, 0, 0, 0, 0, 0, 0, 0, &nousrreqs }, #endif /* GIF */ Some consideration like in ip_mroute.c might be necessary. Yoshinobu Inoue To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message