From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 18 13:38:54 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 5F34016A41F; Tue, 18 Oct 2005 13:38:54 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (J9c05.j.pppool.de [85.74.156.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A0C543D45; Tue, 18 Oct 2005 13:38:53 +0000 (GMT) (envelope-from garyj@jennejohn.org) Received: from jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.13.4/8.11.6) with ESMTP id j9IDcfw2006408; Tue, 18 Oct 2005 15:38:41 +0200 (CEST) (envelope-from garyj@jennejohn.org) Message-Id: <200510181338.j9IDcfw2006408@peedub.jennejohn.org> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 To: rashmi ns In-Reply-To: Message from rashmi ns of "Tue, 18 Oct 2005 19:01:21 +0530." <9f9993160510180631n147bf7catfe693452f89ebb06@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Oct 2005 15:38:41 +0200 From: Gary Jennejohn Cc: freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org, bugi@lists.redbrick.dcu.ie Subject: Re: help regarding : To recieve and tranmit packet th' an interface X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 13:38:54 -0000 rashmi ns writes: > 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 > I've done this under Linux (ethernet-over-HDLC) and just used a faked MAC which wouldn't conflict with existing HW. --- Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde