Patent ID: 7415042

Claim:
A method for retrieving information from a PPP frame using a state machine and a translation table, wherein the translation table includes rows representing hunting, accumulation, and escaping states, the method comprising: initializing a plurality of entries in the translation table, the translation table having a plurality of rows, each of the plurality of rows representing a state, the rows having a plurality of entries, each of the entries corresponding to a character; maintaining an indication of a current state of the state machine; receiving a PPP frame, the PPP frame including a plurality of characters and choosing a selected character from the PPP frame; selecting a translation row in the translation table corresponding to the indication of the current state; locating an entry in the selected translation row in the translation table, the entry corresponding to the selected character; translating the character; storing the translated character in an output buffer; and updating the current state of the state machine to a next state, wherein the states include hunting, accumulation and escaping states.