US 11,991,080 B2
Method of filtering packets in network switch and related filter
Kai-Wen Cheng, HsinChu (TW); Sz-Han Wang, HsinChu (TW); Wen-Huang Yeh, HsinChu (TW); and Wei-Hong You, HsinChu (TW)
Assigned to Realtek Semiconductor Corp., HsinChu (TW)
Filed by Realtek Semiconductor Corp., HsinChu (TW)
Filed on Feb. 17, 2022, as Appl. No. 17/674,823.
Claims priority of application No. 110108432 (TW), filed on Mar. 10, 2021.
Prior Publication US 2022/0294733 A1, Sep. 15, 2022
Int. Cl. H04L 45/741 (2022.01); H04L 45/00 (2022.01); H04L 45/745 (2022.01)
CPC H04L 45/741 (2013.01) [H04L 45/20 (2013.01); H04L 45/745 (2013.01)] 14 Claims
OG exemplary drawing
 
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.