add structs to hold interface and network info