From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8342 invoked by alias); 24 Mar 2008 03:43:49 -0000 Received: (qmail 8333 invoked by uid 22791); 24 Mar 2008 03:43:48 -0000 X-Spam-Check-By: sourceware.org Received: from blu139-omc1-s1.blu139.hotmail.com (HELO blu139-omc1-s1.blu139.hotmail.com) (65.55.175.141) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Mar 2008 03:43:06 +0000 Received: from BLU108-DS3 ([65.55.162.183]) by blu139-omc1-s1.blu139.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, 23 Mar 2008 20:43:03 -0700 Message-ID: From: "venice" To: "ecos-discuss" Date: Mon, 24 Mar 2008 14:35:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="gb2312"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] How does the freebsd socket call the drivers? X-SW-Source: 2008-03/txt/msg00140.txt.bz2 Hi, I'm writing a net driver and I have a driver template to do that but I still do not know how the applications call the drivers through the freebsd stack. So can you explain the calling functions of the freebsd stack to the drivers? eg: HRDWR_send() can send data by the hardware but who will call this function and provide the data buffer to be transported? Regards, Venice -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss