Hash functions for applications such as network address lookup
Abstract
In one embodiment, IP lookup into a routing table having prefixes of different prefix lengths is performed by hashing a candidate prefix value to generate a plurality of hash values, where m seed hash values are generated by applying m seed hash functions and one or more additional hash values are generated by combining two or more of the seed hash values in different ways, e.g., using a bit-wise XOR function. The hash values are used to perform membership probes into a Bloom filter programmed with the prefixes corresponding to all of the different prefix lengths in the routing table without having to expand any of the prefixes programmed into the Bloom filter.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 18.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A processor-implemented method for generating a plurality of hash values for an input key, the method comprising: (a) hashing the input key using a set of seed hash functions to generate a set of seed hash values for the input key, wherein the input key is a candidate prefix value for a given network address; (b) combining two or more of the seed hash values one or more different ways to generate one or more additional hash values for the input key; and (c) using the seed hash values and one or more additional hash values to perform membership probes into a Bloom filter programmed with prefix
- Claim 2Depends on #1
The method of claim 1 , wherein the Bloom filter is programmed with the prefixes corresponding to all of the different prefix lengths in the routing table without having to expand any of the p
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 18 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- "Longest Prefix Matching Using Bloom Filters," by Sarang Dharmapurikar et al., SIGCOMM'03, Aug. 25-29, 2003, 12 pages.
- A. Broder and M. Mitzenmacher, "Using Multiple Hash Functions to Improve IP Lookups," IEEE INFOCOM, 2001, pp. 1-11.
- B. Bloom, "Space/Time Trade-offs in Hash Coding With Allowable Errors," Communications of the ACM, vol. 13, No. 7, Jul. 1970, pp. 422-426.
- H. Song, S. Dharmapurikar, J. S. Turner, and J. W. Lockwood, "Fast Hash Table Lookup using Extended Bloom Filter: An Aid to Network Processing," ACM SIGCOMM, 2005, 12 pages.
- Haoyu Song; Fang Hao; Kodialam, M.; Lakshman, T.V.; "IPv6 Lookups using Distributed and Load Balanced Bloom Filters for 100Gbps Core Router Line Cards," Apr. 19-25, 2009, INFOCOM 2009, IEEE , pp. 2518-2526.