01/10/2008 4:45 PM
post4195
|
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?
|
|
|