add interface finding api
use free_ifaces api
use find_iface_by_index api
use find_iface_by_time api
use for_each_iface api