Processing device and method of bidirectional forwarding detection (BFD) messages
暂无分享,去创建一个
The invention provides a processing device of bidirectional forwarding detection (BFD) messages, which comprises a session negotiation unit, a session state setting unit and a network processor (NP), wherein the session negotiation unit is used for allocating local connection identifiers (LD) and sending or receiving messages; the session state setting unit is used for setting the value of a to Cpu corresponding to the LD allocated by the session negotiation unit in a local session information table; and the NP is used for determining the types of the messages according to the value of the to Cpu. The invention also provides a processing method of BFD messages. The device and the method can effectively prevent the BFD messages from impacting a CPU, thereby improving the stability and the safety of a system.