一种路由器邻居发现条目处理的装置及方法制造方法及图纸

技术编号:6053185 阅读:238 留言:0更新日期:2012-04-11 18:40
本发明专利技术涉及一种路由器邻居发现条目处理的装置,该装置包括微码转发模块,用于在使用邻居发现条目进行报文转发时,对该ND条目的使用进行计数;转发表管理模块,用于向ND协议模块提供ND条目的计数;ND协议模块,用于在ND条目刚变为陈旧状态时,通过转发表管理模块读取各线卡的该ND条目的计数并累加,且在ND条目为陈旧状态特定时间后,再次读取各线卡的该ND条目的计数并累加,比较前后两次读取的ND条目的累加结果,若前后两次读取的ND条目的累加结果一致,则将该ND条目老化删除。另外,本发明专利技术还提供了一种路由器邻居发现条目处理的方法。通过本发明专利技术的技术方案,保证了ND条目的正常老化,防止出现丢包现象。

Device and method for router neighbor discovery item processing

The invention relates to a device for processing the router neighbor discovery entry, the device includes a microcode forwarding module in use for neighbor discovery entries for packet forwarding, the ND to use count; forwarding table management module, for counting ND entries to ND protocol module; ND protocol module, used in the ND entry just as the old state, through the ND to count the forwarding management module reads the card and accumulated, and in the ND entry for the old state after a specified period of time, read the card again to the ND count and cumulative cumulative results were compared before and after the two reads the ND entries, if accumulated before and after two read the ND entry results, the aging delete ND entries. In addition, the invention also provides a method for processing the neighbor discovery entries of the routers. Through the technical proposal of the invention, the normal aging of the ND articles is guaranteed, and the phenomenon of packet loss is prevented.

【技术实现步骤摘要】

【技术保护点】
1.一种路由器邻居发现条目处理的装置,其特征在于,所述装置包括,微码转发模块,用于在使用邻居发现条目进行报文转发时,对该邻居发现条目的使用进行计数;转发表管理模块,用于向邻居发现协议模块提供邻居发现条目的计数;邻居发现协议模块,用于在邻居发现条目刚变为陈旧状态时,通过转发表管理模块读取各线卡的该邻居发现条目的计数并累加,且在邻居发现条目为陈旧状态特定时间后,再次读取各线卡的该邻居发现条目的计数并累加,比较前后两次读取的邻居发现条目的累加结果,若前后两次读取的邻居发现条目的累加结果一致,则将该邻居发现条目老化删除。

【技术特征摘要】

【专利技术属性】
技术研发人员:李洪涛金飞蔡
申请(专利权)人:中兴通讯股份有限公司
类型:发明
国别省市:94

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1