Packets arriving at a device such as a network router and the like, may have any of a plurality of different packet formats, some examples of which are illustrated in FIGS. 1A through 1C. In a typical situation, the packet arrives in a format having several layers of encapsulation, such as a physical layer encapsulation, layer two protocol types and layer three protocol types.