发明名称 |
A METHOD OF USING BIT VECTORS TO ALLOW EXPANSION AND COLLAPSE OF HEADER LAYERS WITHIN PACKETS FOR ENABLING FLEXIBLE MODIFICATIONS AND AN APPARATUS THEREOF |
摘要 |
Embodiments of the apparatus for modifying packet headers relate to a use of bit vectors to allow expansion and collapse of protocol headers within packets for enabling flexible modification. A rewrite engine expands each protocol header into a generic format and applies various commands to modify the generalized protocol header. The rewrite engine maintains a bit vector for the generalized protocol header with each bit in the bit vector representing a byte of the generalized protocol header. A bit marked as 0 in the bit vector corresponds to an invalid byte, while a bit marked as 1 in the bit vector corresponds to a valid byte. The rewrite engine uses the bit vector to remove all the invalid bytes after all commands have been operated on the generalized protocol header to thereby form a new protocol header. |
申请公布号 |
EP2958287(A1) |
申请公布日期 |
2015.12.23 |
申请号 |
EP20150172929 |
申请日期 |
2015.06.19 |
申请人 |
CAVIUM, INC. |
发明人 |
SINGH, CHIRINJEEV;DANIEL, TSAHI;SCHMIDT, GERALD |
分类号 |
H04L12/935;H04L29/06 |
主分类号 |
H04L12/935 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|