Processing packets by generating machine code from pre-compiled code fragments
US9189218B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 26, 2014 |
| Grant date | Nov 17, 2015 |
| Priority date | — |
| Expiry date | May 29, 2034 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH04L45/64
- WIPO fieldDigital communication
- WIPO sectorElectrical engineering
Abstract
A packet switching device can process packets by linking pre-compiled code fragments corresponding to actions to be performed for a packet flow, in order to generate a flow function. Once generated, the packet switching device can invoke this flow function for one or more packets in the packet flow. For example, a linker could use a flow table to determine the actions to be performed for a packet flow. Those actions may correspond to code fragments which have already been compiled and make use of symbols as placeholders for parameters yet to be defined. To generate a flow function, the pre-compiled code fragments corresponding to the actions of a flow can be sequenced and linked together. The parameter values of the actions can then replace the placeholder symbols. Once fully assembled, the flow function can be written to memory and executed any time a packet for the corresponding flow needs to be routed.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.