From owner-freebsd-questions Mon Nov 23 09:37:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10821 for freebsd-questions-outgoing; Mon, 23 Nov 1998 09:37:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (ns.alcatel-alsthom.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10816 for ; Mon, 23 Nov 1998 09:37:54 -0800 (PST) (envelope-from Thierry.Herbelot@alcatel.fr) From: Thierry.Herbelot@alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id TAA04262; Mon, 23 Nov 1998 19:36:21 +0100 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id SAA02373; Mon, 23 Nov 1998 18:35:23 +0100 (MET) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with SMTP id SAA11530; Mon, 23 Nov 1998 18:23:31 +0100 (MET) Received: from telspace.alcatel.fr by telss1 (4.1/SMI-4.1) id AA04379; Mon, 23 Nov 98 18:27:06 +0100 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA228451591; Mon, 23 Nov 1998 18:19:51 +0100 X-Openmail-Hops: 1 Date: Mon, 23 Nov 98 18:19:40 +0100 Message-Id: In-Reply-To: <365995FB.DC15218D@liverpool.ac.uk> Subject: Re : IP routing Mime-Version: 1.0 To: tillotso@liverpool.ac.uk Cc: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII; name="Re" Content-Disposition: inline; filename="Re" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am about to start developing an IP simulation, I am trying to get hold > of basi code that implements the protocols required, so that I can play > with them a little. I was pointed in the direction of freebsd. Where are > the source code files. > The code you are looking for is in the kernel of FreeBSD, which you can usually find in /usr/src/sys/* You will find very interesting to read "TCP/IP Illustrated Vol 2" by Gary R. Wright and W. Richard Stevens (ISBN 0-201-63354-X) which describes how TCP/IP is implemented in BSD UNIX. TfH > I am particulary interested in IP routing/ forwarding algorithms > implemented (ideally) in java. But I suspect that you would have them in > C. > > Thanks Peter > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message