help regarding : To recieve and tranmit packet th' an interface

Gary Jennejohn garyj at
Tue Oct 18 06:38:54 PDT 2005

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

More information about the freebsd-hackers mailing list