Apparatus and method for finding the longest matching prefix in a router
Abstract
An apparatus and method for reducing a number of matched entries to more relevant matched entries. In routers, a destination Internet Protocol address of an incoming packet is matched to a router table of Internet Protocol address prefixes, yielding multiple matching entries in the router table. Less relevant matching entries that contain shorter Internet Protocol address prefixes are automatically removed, leaving only the entry including a longest matching prefix.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A router, comprising: a content addressable memory which stores Internet Protocol address prefixes in an order independent of lengths of the Internet Protocol address prefixes, wherein new entries are stored in the content addressable memory in random order; and an encoder coupled to the content addressable memory which stores a plurality of codes corresponding to the Internet Protocol address prefixes in the content addressable memory, and compares the codes corresponding to matching Internet Protocol address prefixes to find a longest matching Internet Protocol address prefix; wherein compar
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (1)
- GUPTA, "Routing Lookups in Hardware at Memory Access Speeds", Proceedings of the IEEE Infocom 98, Apr. 1998.