
Embodiments of the present invention provide a method for processing a packet in a software-defined network (Software-Defined Network), where the method is performed by a forwarder, and the method includes: receiving an input packet; determining a flow to which the input packet belongs according to the input packet; determining a context identifier set corresponding to the flow to which the input packet belongs according to a first correspondence between flows and context identifier sets, where a context identifier set corresponding to each flow in the first correspondence includes at least one context identifier; determining a context corresponding to the context identifier set according to a second correspondence between context identifiers and contexts; and processing the input packet according to the context corresponding to the context identifier set.
Page Count:
26
Publication Date:
2020-12-28
ISBN-13:
9798585011573
No comments yet. Be the first to share your thoughts!