首页> 外国专利> Method of using bit vectors to allow expansion and collapse of header layers within packets for enabling flexible modifications and an apparatus thereof

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.
机译:用于修改分组标题的装置的实施例涉及比特矢量的使用,以允许分组内的协议头的扩展和折叠以实现灵活的修改。重写引擎将每个协议标题扩展为通用格式,并应用各种命令以修改广义协议标题。重写引擎为广义协议报头维护一个位向量,其中位向量中的每个位表示表示广义协议报头的字节。在比特向量中标记为0的位对应于无效字节,而在比特向量中标记为1的位对应于有效字节。重写引擎使用位向量以在通用协议标题上运行所有命令后删除所有无效字节,从而形成新的协议标题。

著录项

  • 公开/公告号US11050859B2

    专利类型

  • 公开/公告日2021-06-29

    原文格式PDF

  • 申请/专利权人 CAVIUM INC.;

    申请/专利号US201715457970

  • 申请日2017-03-13

  • 分类号H04L29/06;H04L12/935;

  • 国家 US

  • 入库时间 2024-06-14 21:44:02

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号