From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 07:13:06 2007 Return-Path: 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 9165716A417 for ; Wed, 17 Oct 2007 07:13:06 +0000 (UTC) (envelope-from dbprasad@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id 5DF4013C467 for ; Wed, 17 Oct 2007 07:13:06 +0000 (UTC) (envelope-from dbprasad@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2721644waf for ; Wed, 17 Oct 2007 00:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=DwjhpZG3lRMRwS5FOmp1HtNWLgJ33Rfx7B1QzzGzLDk=; b=for/bDGgZZqjjnO+WNpJRDlP7XJpsFGrPKDz8mVbc1CKAI2qxp0CpKDJI29hsbML2bhw6uxxQVTCDDFhWFmj9zIYXnnmkLznvX9ap9tVzlXa7D1OSTLZ6+rH82yGoleOrOAXP90kOzlFECzHbqm7QKQ1jib3l/juqWtuxAVuewo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=DPCKK3aHqdTzu6EYFj0hgu1xi9FvtvaF4ib/7JIABAPhVTYCthXmWByWxyiu8pNz4/W8XLGxdtugVi3yeglM2I+mGuR7bs6ADQazXxOU+Fvp42Vena5vOG2D0qrdVie2vh/DwlK4AB9Pago8dbzSBMqLjv8D9kv9ARzF67v1lyg= Received: by 10.114.201.1 with SMTP id y1mr9443089waf.1192603610016; Tue, 16 Oct 2007 23:46:50 -0700 (PDT) Received: by 10.114.240.11 with HTTP; Tue, 16 Oct 2007 23:46:49 -0700 (PDT) Message-ID: Date: Wed, 17 Oct 2007 12:16:49 +0530 From: "Prasad Dandra" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Regarding Flow of sendto (UDP) using IPv6. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 07:13:06 -0000 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