US 11,758,027 B2
Efficient TLV style header parsing and editing
Amit Narayan Gupta, San Jose, CA (US); Bhaswar Mitra, Santa Clara, CA (US); Chi Ho Fredrek Choi, Sunnyvale, CA (US); and Arun Prasath Chandrasekaran, Fremont, CA (US)
Assigned to Avago Technologies International Sales Pte. Limited, Singapore (SG)
Filed by Avago Technologies International Sales Pte. Limited, Singapore (SG)
Filed on Jan. 28, 2022, as Appl. No. 17/587,660.
Prior Publication US 2023/0247116 A1, Aug. 3, 2023
Int. Cl. H04L 69/22 (2022.01); H04L 47/34 (2022.01); H04L 49/00 (2022.01); H04L 45/745 (2022.01)
CPC H04L 69/22 (2013.01) [H04L 45/74591 (2022.05); H04L 47/34 (2013.01); H04L 49/3009 (2013.01)] 20 Claims
OG exemplary drawing
 
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.