Map an IP address to its Autonomous System Number using the given asmap.

Synopsis

Declared in <util/asmap.h>

uint32_t
Interpret(
    std::span<std::byte const> asmap,
    std::span<std::byte const> ip);

Return Value

The Autonomous System Number the IP address belongs to.

Parameters

Name

Description

asmap

The encoded asmap data to interpret.

ip

The IP address bits to look up.

Created with MrDocs