better answer for network router data structure.