From owner-freebsd-drivers@FreeBSD.ORG Tue Oct 18 16:13:12 2005 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DC4B16A41F; Tue, 18 Oct 2005 16:13:12 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2257543D46; Tue, 18 Oct 2005 16:13:12 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms170.mailsrvcs.net ([192.168.1.3]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IOK00GHHCI5D911@vms044.mailsrvcs.net>; Tue, 18 Oct 2005 11:01:17 -0500 (CDT) Date: Tue, 18 Oct 2005 11:01:17 -0500 (CDT) From: Sergey Babkin To: rashmi ns , bugi@lists.redbrick.dcu.ie, freebsd-drivers@freebsd.org, freebsd-hackers@freebsd.org Message-id: <9974216.1129651277680.JavaMail.root@vms170.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Cc: Subject: Re: help regarding : To recieve and tranmit packet th' an interface X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 16:13:12 -0000 >From: rashmi ns >Hello List-members, >we are writing a driver for HDLC-Controller We have coded upto some extent >and actully we are able to transmit and recieve a char buff in loopback >(from inside a driver). >But we want to tranmit/Rx a real packet in (mbuf structure) and test our >code .As it is a HDLC controller does'nt have std MAC ADDRRSS . How can i >actually achieve a packet transmition and reception .Are there some drivers >which does the same All the point-to-point interfaces don't have a MAC address. You don't need it since there is only one place to which you can write data, into the port. Well, the problems start when you want to establish X.25 connections. Then you use the X.25 address similarly to a MAC address. But since usually the X.25 connections are static, you set up your table of connections and the translation table between the target IP address and X.25 address, similar to ARP but static. -SB