Method and apparatus for efficient cam lookup for internet protocol addresses
A technology of equipment and search speed, applied in the direction of transmission system, electrical components, etc., can solve the problem of CAM space not being used efficiently
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] now refer to figure 1 , an IPv4 packet 100 with a classification rule that matches IP addresses with AB and an annotation that sets the Differentiated Services Code Point (DSCP) to 5. DSCP is a 6-bit field used to identify the service level of a packet received in the network. This action will cause CAM and fast path. Therefore, if an IPv4 packet comes with a source address equal to AB, it will be classified by the CAM and a DSCP value of 5 will be written in that IPv4 packet.
[0014] The present invention provides an action structure for modification of IPv6 CAM entries. According to the present invention, CAM lookups can be performed in parallel if multiple rules can result in matching criteria, as in the case of coexistence of IPv4 and IPv6. As mentioned above, IPv4 addresses have a 32-bit address structure, while IPv6 addresses have a 128-bit address structure. Therefore, IPv4 addresses can be easily adapted to the IPv6 address structure. like figure 2 As sh...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 