1. A computer-implemented method for efficient packet forwarding, the method comprising: storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a compressed replacement string; in response to identifying the TL string in a packet, replacing the TL string with the compressed replacement string, wherein the packet is a content-centric network (CCN) message, and wherein a name for the CCN message is a hierarchically structured variable length identifier (HSVLI) which comprises contiguous name components ordered from a most general level to a most specific level; replacing a fixed header of the CCN message with a compressed fixed header; and transmitting the packet to a second node storing the static dictionary in a local storage device, thereby facilitating compression of a TL string.
1. A computer-implemented method for efficient packet forwarding, the method comprising: storing, in a storage device in a first node, a static dictionary comprising a mapping between a type and length (TL) string and a compressed replacement string; in response to identifying the TL string in a packet, replacing the TL string with the compressed replacement string, wherein the packet is a content-centric network (CCN) message, and wherein a name for the CCN message is a hierarchically structured variable length identifier (HSVLI) which comprises contiguous name components ordered from a most general level to a most specific level; replacing a fixed header of the CCN message with a compressed fixed header; and transmitting the packet to a second node storing the static dictionary in a local storage device, thereby facilitating compression of a TL string. 5. The method of claim 1 , wherein the compressed replacement string includes a length field indicating a variable length associated with the TL string.