Date: Wed, 6 Feb 2002 21:22:34 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Vinod Namboodiri <geekvinod@yahoo.com> Cc: freebsd-newbies@freebsd.org Subject: Re: TCP/IP stack Message-ID: <20020206192234.GA638@hades.hell.gr> In-Reply-To: <20020205223318.69295.qmail@web21109.mail.yahoo.com> References: <20020205223318.69295.qmail@web21109.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-02-05 14:33, Vinod Namboodiri wrote: > can anyone tell me the url where i can find the TCP/IP > stack source code.is the following url the right one > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/netinet/ I've been reading the 'TCP/IP Illustrated, vol. 2' book lately. The networking code of FreeBSD is similar to that of 4.4BSD (that the book describes). The src/sys/net, src/sys/netinet and src/sys/sys directories are those that you'll be mostly interested to. Searching to find things with cvsweb is an awful thing though. Having a local copy of the sources, on a FreeBSD installation will help you a lot. I use a local copy of the sources and find/grep combinations to look for files where a function is defined or used. For instance, to look at the headers to find which one defines the ip_output() function (in case you forget where it's defined), you can use the simple (but kind of slow) command: $ find /usr/src/sys -type f -name '*.h' | xargs grep -n ip_output - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020206192234.GA638>