Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Converter Questino : (2 Items)
   
Converter Questino  
Hello,

I have a question regarding a converter. I am busy building a driver for
a unique network device. The driver is not an ethernet driver. I would
like to send IP packets over it for tests though and for this I need a
converter. I have not been able to find more, than sparse  documentation
on  converters. The converter does not need to do more than just change
the packet type from ip to dl. (dl is the custom packets that the driver
expects).

I would like to know if:
1) A converter needs to create advertisement packets?
2) Will specifying the top and bottom type in io_net_registrant_t be
enough to ensure there is a right type conversion? (Assuming no changes
need to be made to the actual packet content.)
3) Can the converter be loaded by the io-net "-p" option?

Thank you.
Re: Converter Questino  
On Tue, Oct 07, 2008 at 09:46:34AM -0400, Christian Christelis wrote:
> Hello,
> 
> I have a question regarding a converter. I am busy building a driver for
> a unique network device. The driver is not an ethernet driver. I would
> like to send IP packets over it for tests though and for this I need a
> converter. I have not been able to find more, than sparse  documentation
> on  converters. The converter does not need to do more than just change
> the packet type from ip to dl. (dl is the custom packets that the driver
> expects).
> 
> I would like to know if:
> 1) A converter needs to create advertisement packets?

Nope.  It may need to handle receiving them though...

> 2) Will specifying the top and bottom type in io_net_registrant_t be
> enough to ensure there is a right type conversion? (Assuming no changes
> need to be made to the actual packet content.)

Specifying the types will ensure you receive "ip" and
"dl" type packets.  You have to do any conversion yourself.

> 3) Can the converter be loaded by the io-net "-p" option?

Yes, if you specify the fullpath to the dll.

> 
> Thank you.
> 
> _______________________________________________
> Networking Drivers
> http://community.qnx.com/sf/go/post14595
>