add if_index (little) and generate AF_LINK sockaddr when attaching (big change).