# US 2023/0411703 A1 · Efficient tlv style header parsing and editing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0411703 A1
- Document ID: US20230411703A1
- Status: Published application
- Kind: A1
- Application number: 18/364,006
- Filed: 2023-08-02
- Published: 2023-12-21
- Earliest claimed: 2022-01-28
- Assignees: Avago Technologies International Sales Pte. Limited
- Applicants: Avago Technologies International Sales Pte. Limited
- Inventors: Amit Narayan Gupta; Bhaswar Mitra; Chi Ho Fredrek Choi; Arun Prasath Chandrasekaran
- Web page: https://patentgrep.com/patent/US20230411703A1

## CPC

- H04L 69/22: Parsing or analysis of headers
- H01M 10/0587: of accumulators having only wound construction elements, i.e. wound positive electrodes, wound negative electrodes and wound separators
- H01M 50/595: Tapes
- H04L 45/74591: {using content-addressable memories [CAM]}
- H04L 47/34: ensuring sequence integrity, e.g. using sequence numbers
- H04L 49/3009: {Header conversion, routing tables or routing tags}
- Y02E 60/10: Energy storage using batteries
- Y02P 70/50: Manufacturing or production processes characterised by the final manufactured product
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H01M: PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- Y02E: REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

In some aspects, the disclosure is directed to methods and systems for a flexible type-length-value (TLV) parser and identification map that may be used to quickly identify TLV sequences of packet headers for subsequent processing in a pipeline. A flexible TLV bus may provide a secondary path for the TLV header and identification map, allowing for subsequent processing stages to read, process, modify, delete, or otherwise utilize individual TLV sequences within the header.

## Claims

### Claim 1

A method comprising:
identifying, by a type-length-value (TLV) processor of a device, a type of a TLV sequence of one or more TLV sequences present in a header of a packet and a starting location of the header, the packet received via communications over one or more networks;
determining, by the TLV processor, an offset of a location of the TLV sequence in the header based at least on the starting location;
encoding, by the TLV processor, the TLV sequence in a bitmap using the type and offset; and
providing, by the TLV processor, the bitmap for use by another TLV processor to identify the TLV sequence in the header.

### Claim 2 (depends on 1)

The method of claim 1, further comprising receiving, by the TLV processor, the packet from a packet data bus.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining, by the TLV processor, that the TLV sequence is present in the TLV header of the packet, wherein the TLV header is configured at a layer in a network stack of the device having a network interface to receive the packet via the one or more networks.

### Claim 4 (depends on 1)

The method of claim 1, further comprising generating, by the TLV processor, the bitmap to identify the one or more TLV sequences within the header.

### Claim 5 (depends on 1)

The method of claim 1, further comprising encoding, by the TLV processor, the TLV sequence in the bitmap using a tuple comprising at least the type and the offset.

### Claim 6 (depends on 1)

The method of claim 1, wherein the TLV processor comprises a packet processing engine configured on one or more processors.

### Claim 7 (depends on 1)

The method of claim 1, wherein the TLV processor comprises circuitry.

### Claim 8 (depends on 1)

The method of claim 1, further comprising placing, by the TLV processor, the bitmap on a flex bus for another TLV processor to use.

### Claim 9

A system comprising:
a device configured with a type-length-value (TLV) processor, the device having a network interface configured to receive one or more packets via communications over one or more networks;
the TLV processor configured to:
identify a type of a TLV sequence of one or more TLV sequences present in a header of a packet and a starting location of the header;
determine an offset of a location of the TLV sequence in the header based at least on the starting location;
encode the TLV sequence in a bitmap using the type and offset; and
communicate the bitmap on a bus for use by another TLV processor to identify the TLV sequence in the header.

### Claim 10 (depends on 9)

The system of claim 9, wherein the TLV processor is further configured to receive the packet from a packet data bus.

### Claim 11 (depends on 9)

The system of claim 9, wherein the TLV processor is further configured to determine that the TLV sequence is present in the TLV header of the packet, wherein the TLV header is configured at a layer in a network stack of the device having a network interface to receive the packet via the one or more networks.

### Claim 12 (depends on 9)

The system of claim 9, wherein the TLV processor is further configured to generate the bitmap to encode the one or more TLV sequences within the header.

### Claim 13 (depends on 9)

The system of claim 9, wherein the TLV processor is further configured to encode the TLV sequence in the bitmap using a tuple comprising at least the type and the offset.

### Claim 14 (depends on 9)

The system of claim 9, wherein the TLV processor comprises a packet processing engine configured on one or more processors.

### Claim 15 (depends on 9)

The system of claim 9, wherein the TLV processor comprises circuitry.

### Claim 16

A device comprising:
circuitry providing a type-length-value (TLV) circuit;
the TLV circuit configured to:
identify a type of a TLV sequence of one or more TLV sequences present in a header of a packet and a starting location of the header;
determine an offset of a location of the TLV sequence in the header based at least on the starting location;
encode the TLV sequence in a bitmap using the type and offset; and
place the bitmap on a bus for use by another TLV circuit to identify the TLV sequence in the header.

### Claim 17 (depends on 16)

The device of claim 16, wherein the TLV circuit is further configured to receive the packet from a packet data bus.

### Claim 18 (depends on 16)

The device of claim 16, wherein the TLV circuit is further configured to determine that the TLV sequence is present in the TLV header of the packet.

### Claim 19 (depends on 16)

The device of claim 16, wherein the TLV circuit is further configured to generate the bitmap and encode the TLV sequence in the bitmap using a tuple comprising at least the type and the offset.

### Claim 20 (depends on 16)

The device of claim 16, wherein the TLV circuit and the another TLV circuit is electrically coupled to the bus.
