Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Proper way to make Cloning devices: Page 1 of 7 (7 Items)
   
Proper way to make Cloning devices  
Hello,

I'd like to ask how I should make Cloning Device (Cloning Interface as a
node in /dev) inside .so driver for io-pkt.

I'm making a native virtual TAP driver with a cloning interface.
Basically, TAP is a virtual ethernet card; so I'm making a driver
loadable into io-pkt. But unlike "real" ethernet cards, TAP is virtual,
so it can be cloned. I wish to make a device file /dev/tap which could
be used to create new virtual network interfaces.

I've tried to find an example in io-pkt SVN repository, but the only
cloning device i found (bpf) is not build into .so module, and it's just
a bsd port.

Could anyone provide me with some sample, or at least a few function
names?

Thank you.