Function ipv4_heatmap::utils::bbox
source · [−]fn bbox(first: u32, slash: u8) -> BoundingBox
Expand description
Given the first (numeric) IP address in a CIDR block and the size of the CIDR block, return the bounding box. This handles the single point, square, and rectangle cases.