A method and structure is disclosed for dispatching appropriate data to a
network processing system comprising an improved technique for extracting
protocol header fields for use by the network processor. This technique
includes basic classification of a packet according to the types of
protocol headers present in the packet. Based on the results of the
classification, specific parameter fields are extracted from
corresponding headers. All such parameter fields from one or more
protocol headers in the packet are concatenated into a compressed
dispatch message. Multiple of such dispatch messages are bundled into a
single composite dispatch message. Thus selected header fields from N
packets are passed to the network processor in a single composite
dispatch message, increasing the network processor's packet forwarding
capacity by a factor of N. Likewise, multiple enqueue messages are
bundled into a single composite enqueue message to direct enqueue and
frame alterations to be taken on the bundle of N packets.