CPC H04L 69/22 (2013.01) [H04L 47/35 (2013.01); H04L 47/36 (2013.01); H04L 2212/00 (2013.01)] | 2 Claims |
1. A method for parsing a data packet, the method comprising:
receiving a data packet including a packet header having a base header with two bytes;
determining, based on values of a 1-bit payload configuration field and a 1-bit segmentation concatenation field in the base header, that the packet header further includes an additional header for concatenation;
determining, based on a value of a 1-bit flag in the additional header, that an extension header is not present in the packet header;
parsing a 3-bit count field, count, in the additional header, wherein a value of the count is set equal to a number of packets included in the data packet minus two; and
determining a total number of bytes of the packet header based on an equation: 3+Ceil((count+1)×1.5).
|