CPC H04L 45/741 (2013.01) [H04L 45/20 (2013.01); H04L 45/745 (2013.01)] | 14 Claims |
1. A method for packet filtering in a network switch, comprising:
utilizing an access control list circuit to filter received packets, wherein the access control list circuit compares header information of the received packets with an access control list to filter the received packets, where the access control list has at least one entry, and rule information associated with IP address in the at least one entry includes only partial content of an IP address and the partial content of the IP address does not overlap with partial contents of IP addresses of other access control lists in the network switch; and
utilizing a routing circuit to further filter packets that pass the access control list circuit, wherein the routing circuit compares header information of the packets that pass the access control list circuit with a routing table to filter the packets, wherein the routing table has at least one entry, and rule information associated with IP address in the at least entry of the routing table includes entire content of an IP address.
|