Method for processing items of address analyzing protocol table
A technology of address resolution protocol and processing method, which is applied in the field of ARP table entry processing, and can solve problems such as slow table lookup speed, long conflict chain, and reduced system operating speed, and achieve the effect of shortening the length of conflict chain and solving support problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0018] In the first embodiment, the organizational structure of the ARP entry is the same as the organizational structure of the ARP entry shown in FIG. 1 . The difference between Embodiment 1 and the prior art is that each uses a different HASH method. In this example, HASH processing is performed on IPAddr+VLANid to obtain a HASH value. Wherein, VLANid represents an identifier of a virtual local area network (VLAN). The specific processing algorithm can be, for example:
[0019] ((IpAddr>>22)+(IpAddr>>11)+IpAddr+(VLANid<<4))%TableLen;
[0020] In this way, after using IPAddr+VLANid to perform HASH processing as shown in the above formula, since the VLANids of different VPNs are different, even if the ARP entries of different VLANs have the same IP address, their HASH values will be different . Only ARP entries with the same hash value are placed in a hash array. Therefore, ARP entries of different VLANs will not be placed in the same array. This avoids the situation ...
Embodiment 2
[0027] In Embodiment 2, the organizational structure of the ARP entry is still the same as the organizational structure of the ARP entry shown in FIG. 1 . The difference between Embodiment 2 and the prior art and the above Embodiment 1 is that in this example, IPAddr+RdIndex is subjected to HASH processing to obtain a HASH value. Where RdIndex represents the index of different VPNs. The specific processing algorithm can be, for example:
[0028] ((IpAddr>>22)+(IpAddr>>11)+IpAddr+(RdIndex<<4))%TableLen;
[0029] In this way, after using IPAddr+RdIndex to perform HASH processing as shown in the above formula, since the RdIndex of different VPNs is different, even if the ARP entries of different VPNs have the same IP address, the value obtained after HASH processing are different. In this way, embodiment 2 has the same advantages as embodiment 1, and solves the problem that only the IP address is hashed in the prior art and the conflict chain is too long in the communication s...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com