CPC H04L 69/22 (2013.01) [H04L 45/74591 (2022.05); H04L 47/34 (2013.01); H04L 49/3009 (2013.01)] | 20 Claims |
1. A method for flexible parsing of type-length-value (TLV) headers of communications packets, comprising:
(a) identifying, by a TLV extractor, a presence of a TLV sequence in a header of a communication packet and an anchor offset corresponding to a location of the TLV sequence;
(b) determining, by the TLV extractor, a type of the TLV sequence;
(c) calculating, by the TLV extractor, a location offset corresponding to the TLV sequence within the header based on the anchor offset; and
(d) populating, by the TLV extractor, a presence bitmap with the determined type and location offset.
|