Auto code generation to generate packet header generation library for switch diagnostics
AssigneeCisco Technology, Inc.
InventorsStephen Ong, Ali Haeri
Life of this patent
Estimating the term…
Loading patent…
AssigneeCisco Technology, Inc.
InventorsStephen Ong, Ali Haeri
Estimating the term…
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.
A system, comprising:
A computer-implemented method for generating source code for representing a packet header in a firmware on a switching device, the method comprising:
A computer-readable storage medium containing a program, which when executed on a processor is configured to perform an operation for generating source code for representing a packet header in a firmware on a switching device, the operation comprising:
Dependencies are inferred from the claim text.