Documentation ¶
Overview ¶
Package art implements the Allotment Routing Table, a "A Fast Free Multibit Trie Based Routing Table".
See https://cseweb.ucsd.edu/~varghese/TEACH/cs228/artlookup.pdf
Warning: this is a work-in-progress; see https://github.com/bradfitz/art#status
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route interface { // RouteParams returns the properties of the routing table entry. RouteParams() RouteParams }
A Route is an entry in the routing table.
type RouteParams ¶
type RouteParams struct { Width int // bits of routable porition address (32-bit for IPv4, 64-bit for IPv6) Addr uint64 // the destination address Len int // prefix length of route (e.g. 24 for a 192.168.0.0/24) }
RouteParams are the properties of the routing table entry.
Click to show internal directories.
Click to hide internal directories.