From owner-freebsd-net Fri May 15 02:39:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18154 for freebsd-net-outgoing; Fri, 15 May 1998 02:39:42 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from itesec.hsc.fr (root@itesec.hsc.fr [192.70.106.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18111 for ; Fri, 15 May 1998 02:39:31 -0700 (PDT) (envelope-from pb@hsc.fr) Received: from mars.hsc.fr (pb@mars.hsc.fr [192.70.106.44]) by itesec.hsc.fr (8.8.8/8.8.5/itesec-1.12-nospam) with ESMTP id LAA23750; Fri, 15 May 1998 11:38:02 +0200 (MET DST) Received: (from pb@localhost) by mars.hsc.fr (8.8.5/8.8.5/pb-19970301) id LAA23867; Fri, 15 May 1998 11:39:00 +0200 (MET DST) Message-ID: <19980515113859.CU28873@mars.hsc.fr> Date: Fri, 15 May 1998 11:38:59 +0200 From: Pierre.Beyssac@hsc.fr (Pierre Beyssac) To: itojun@itojun.org (Jun-ichiro itojun Itoh) Cc: net@FreeBSD.ORG Subject: Re: INRIA IPv6 on FreeBSD References: <19980515005841.C18577@fasterix.frmug.fr.net> <1089.895201195@coconut.itojun.org> X-Mailer: Mutt 0.59.1e Mime-Version: 1.0 In-Reply-To: <1089.895201195@coconut.itojun.org>; from Jun-ichiro itojun Itoh on May 15, 1998 11:59:55 +0900 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Jun-ichiro itojun Itoh: > I'm now looking into INRIA for FreeBSD 2.2.5-RELEASE (4/29/98 I think) > but I see both sys/netinet/tcp_input.c and sys/netinet/tcp6_input.c, > which are almost identical. > Am I mistaking something, or obsoleted source is left in the tree? What you're seeing is the "older" implementation. They only did the sharing for NetBSD yet. I have no idea how much work it would be port this to FreeBSD-current (or even 2.2.x), but that would certainly be interesting. > WIDE stack is also thinking about tcp4/6 and udp4/6 merge too and > about good/bad points of merged one and separate one. Problem for > us is that we have to do the merge for FreeBSD, NetBSD and BSDI > separately (since they modified tcp/udp code separately...) Yes, I experienced that too: even between FreeBSD 2.2.5 and -current, you have substantial differences, especially in the TCP code organization. The ones I remember are: - PCB hash table - tcp_rspsomething vs tcp_respond - usrreq handling (switch vs function table) - multicast addresses recognition - little details such as time_second/getmicrotime stuff and there are certainly a couple of others I forget about. Adapting all this is not very difficult but it takes some work and checking. I haven't finished checking yet there are no places I left some older code. -- Pierre.Beyssac@hsc.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message