Patent ID: 9019951
Filing Date: 2015-04-28
Classification: H04L

Abstract:
1. A method for processing a network packet, adapted to a routing apparatus recording a plurality of packet processing rules, the packet processing rules comprising a plurality of check conditions, and the method for processing the network packet comprising: defining and recording the packet processing rules corresponding to each of the check conditions, wherein the check conditions are divided into a plurality of condition types, and the step of defining and recording the packet processing rules corresponding to each of the check conditions comprises: performing a path selection process to a packet entering the routing apparatus to obtain a plurality of packet information of the packet; for each of the packet information, searching a check condition complying with the packet information from all of the check conditions, and marking the packet processing rules corresponding to the searched check condition, wherein the step of for each of the packet information, searching the check condition complying with the packet information from all of the check conditions, and marking the packet processing rules corresponding to the searched check condition comprises: determining whether a specific packet processing rule exists according to all of the marked packet processing rules; and processing the packet according to the specific packet processing rule if the specific packet processing rule exists.