Documentation
¶
Index ¶
- type Table
- func (t Table[V]) AllSorted() []netip.Prefix
- func (t *Table[V]) Delete(pfx netip.Prefix) (exists bool)
- func (t Table[V]) Get(pfx netip.Prefix) (val V, ok bool)
- func (t *Table[V]) Insert(pfx netip.Prefix, val V)
- func (t Table[V]) Lookup(addr netip.Addr) (val V, ok bool)
- func (t Table[V]) LookupPrefix(pfx netip.Prefix) (val V, ok bool)
- func (t Table[V]) LookupPrefixLPM(pfx netip.Prefix) (lpm netip.Prefix, val V, ok bool)
- func (ta *Table[V]) Overlaps(tb *Table[V]) bool
- func (t Table[V]) OverlapsPrefix(pfx netip.Prefix) bool
- func (t *Table[V]) Sort()
- func (t Table[V]) Subnets(pfx netip.Prefix) []netip.Prefix
- func (t Table[V]) Supernets(pfx netip.Prefix) []netip.Prefix
- func (ta *Table[V]) Union(tb *Table[V])
- func (t *Table[V]) Update(pfx netip.Prefix, cb func(V, bool) V) (val V)
- type TableItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.