From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 1 23:59:09 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DF0937B401 for ; Tue, 1 Jul 2003 23:59:09 -0700 (PDT) Received: from webmail.kent.edu (webmail.kent.edu [131.123.74.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9088443FA3 for ; Tue, 1 Jul 2003 23:59:08 -0700 (PDT) (envelope-from sdavu@kent.edu) X-WebMail-UserID: sdavu Date: Wed, 2 Jul 2003 03:11:29 -0400 Sender: Sandeep Kumar Davu From: Sandeep Kumar Davu To: freebsd-hackers@freebsd.org X-EXP32-SerialNo: 00002334 Message-ID: <3F0C1D56@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51.06 Subject: Writing a new (socket ) system call X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 06:59:09 -0000 Hi, I am scanning throug the freeBSD source code and wanted to know somethin about the bind system call. I could follow through the code till sobind and after that pru_bind routine is called in uipc_socket.c. Then suddenly in tcp_usrreq.c there is tcp_usr_bind. I am wondering how these 2 can be related. I think i am missing something. i wanted it because I am writing a new system call that has to navigate to the tcp_usrreq.c. Can anyone help me out with this. It would be of great help if u can do so. Thanks. Sandeep.