摘要 |
Embodiments of the present invention provide a method for generating an entry, and the method includes: receiving, by a stream forwarding apparatus, a first packet, where the stream forwarding apparatus is an apparatus in a network architecture in which controlling and forwarding are separated; searching, by the stream forwarding apparatus, a flow table for a first entry matching the first packet, where a set formed by fields that are in the first entry and match the first packet is a first set; generating, by the stream forwarding apparatus, a second entry according to the first entry, where a set formed by fields that are in the second entry and match the first packet is a second set, the first set is a subset of the second set, and the first set is not equal to the second set. In addition, the embodiments of the present invention further provide a method for receiving a message, the stream forwarding apparatus, a control plane apparatus and a communications system. According to the technical solution provided in embodiments of the present invention, the stream forwarding apparatus may obtain an exact matching entry without interacting with a control plane apparatus through a control channel. |