Cisco interview question

design a data structure to model packets