_IPADAPTER returns the index of the current adapter.