Map an IP address to its Autonomous System Number using the given asmap.
Declared in <util/asmap.h>
uint32_t
Interpret(
std::span<std::byte const> asmap,
std::span<std::byte const> ip);
The Autonomous System Number the IP address belongs to.
| Name | Description |
|---|---|
| asmap | The encoded asmap data to interpret. |
| ip | The IP address bits to look up. |