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 - Get MAC with io-pkt: Page 1 of 4 (4 Items)
   
Get MAC with io-pkt  
With io-net, we were able to get the mac address of a particular port with:

nicfd = open(device, O_RDONLY);
devctl(nicfd, DCMD_IO_NET_GET_CONFIG, &nic, sizeof( nic_config_t );
close(nicfd);

Then use nic.current_address.

Since there isn't a device under dev with io-pkt with a native driver, how would you do the above?