From owner-freebsd-questions@FreeBSD.ORG  Wed Oct 17 14:19:24 2007
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1543E16A421
	for <freebsd-questions@freebsd.org>;
	Wed, 17 Oct 2007 14:19:24 +0000 (UTC) (envelope-from jamesh@lanl.gov)
Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2])
	by mx1.freebsd.org (Postfix) with ESMTP id E067113C447
	for <freebsd-questions@freebsd.org>;
	Wed, 17 Oct 2007 14:19:23 +0000 (UTC) (envelope-from jamesh@lanl.gov)
Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104])
	by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id
	l9HEJNAk016511; Wed, 17 Oct 2007 08:19:23 -0600
Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123])
	by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id
	l9HEJLtk024021; Wed, 17 Oct 2007 08:19:21 -0600
Received: from [128.165.86.10] (secretariat.lanl.gov [128.165.86.10])
	by oppie-mail.lanl.gov (Postfix) with ESMTP id 2B7EE1F8004;
	Wed, 17 Oct 2007 08:19:17 -0600 (MDT)
From: James <jamesh@lanl.gov>
To: Prasad Dandra <dbprasad@gmail.com>
In-Reply-To: <e44b2e860710162346o2f8dfab8i52f99d5fede435fe@mail.gmail.com>
References: <e44b2e860710162346o2f8dfab8i52f99d5fede435fe@mail.gmail.com>
Organization: Los Alamos National Laboratories
Date: Wed, 17 Oct 2007 08:19:48 -0600
Message-Id: <1192630788.63579.6.camel@secretariat.lanl.gov>
Mime-Version: 1.0
X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port 
X-CTN-5-MailScanner-Information: Please see
	http://network.lanl.gov/email/virus-scan.php
X-CTN-5-MailScanner: Found to be clean
X-CTN-5-MailScanner-From: jamesh@lanl.gov
X-Spam-Status: No
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: freebsd-questions@freebsd.org
Subject: Re: Regarding Flow of sendto (UDP) using IPv6.
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: jamesh@lanl.gov
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Oct 2007 14:19:24 -0000

On Wed, 2007-10-17 at 12:16 +0530, Prasad Dandra wrote:

> Dear All,
> 
> First, I would like to thank you all for the wonderful work of developing
> FreeBSD.
> I have some doubts regarding the BSD stack flow.
> I am very much interested to know the code flow from sendto (UDP case) upto
> udp6_output function when used in IPv6 client (simple client) and also how
> the local port and destination address are assigned without using bind
> when 1st time the sendto is called i.e  where the pcbconnect and pcbbind are
> called (particularly in case of ipv6)?
> 
> Any information provided about the links, books to be refered for more
> details will also be helpful.
> 
> Thank and Regards,
> Prasad
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


If it's in the base system, csup your sources - it's in the handbook.

If it's a port, cd /usr/ports/distfiles and untar the source code.