Auto code generation to generate packet header generation library for switch diagnostics
Abstract
Techniques are disclosed for describing packet headers in a format that can be used by a code generation tool to generate source code that can generate any type of packet header when compiled and invoked within switch/router firmware. Such packet headers may then be used in a variety of switch diagnostic/testing functions. A code generation tool may be configured to receive a description of a packet header in the description format. The packet description language provides an easily used approach for defining fields in a packet header. Further, the code generation tool may be configured to generate packet header library for use by firmware on a network device, e.g., for testing and diagnostic functions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system, comprising: a processor; and a memory containing a code generation program, which when executed on the processor is configured to perform an operation for generating source code for representing network packet headers conforming to a given networking protocol in firmware on a switching device, the operation comprising: receiving a description of the network packet headers in a description format, wherein the description format includes a definition for each of a plurality of network packet header fields defined by the given networking protocol, generating, from the description of the
- Claim 2Depends on #1
The system of claim 1 , wherein the definition for each of the plurality of network packet header fields includes a field
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.