tun: change tun_get_iff() prototype.