Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2005 11:01:17 -0500 (CDT)
From:      Sergey Babkin <babkin@verizon.net>
To:        rashmi ns <nsrashmi@gmail.com>, bugi@lists.redbrick.dcu.ie, freebsd-drivers@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: help regarding : To recieve and tranmit packet th' an interface
Message-ID:  <9974216.1129651277680.JavaMail.root@vms170.mailsrvcs.net>

next in thread | raw e-mail | index | archive | help
>From: rashmi ns <nsrashmi@gmail.com>

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9974216.1129651277680.JavaMail.root>