Patent ID: 8255567

Claim:
A method for processing a datagram, comprising: in a single chip comprising an on-chip processor and an on-chip memory: receiving, by said single chip, an initial fragment of the datagram over a communication link; classifying, utilizing said on-chip processor, the initial fragment as one of the following: a first fragment, a middle fragment, and a last fragment of the datagram; receiving, by said single chip, a plurality of subsequent fragments over the communication link, following the initial fragment; classifying, utilizing said on-chip processor, the plurality of subsequent fragments to find among the plurality of subsequent fragments two of the following: the first fragment, the middle fragment, and the last fragment of the datagram; determining, utilizing said on-chip processor, whether the datagram is completely constituted by the initial fragment and no more than two of the plurality of subsequent fragments; and reassembling, utilizing said on-chip processor, the datagram based on the determination.