OPAL Networking Functions

Networking related functions are helpful when analyzing networking data. They generally work on network addresses provided in string format, such as “10.0.0.1/8”

Function

Description

int64_to_ipv4

Converts integer-encoded IPv4 addresses to dotted-quad notation.

ipv4

Returns an IPv4 address representation of the argument value.

ipv4_address_in_network

Test whether an IPv4 address is in a given subnet.

ipv4_network_int64

Converts IPv4 network addresses to integer representation.

ipv4_to_int64

Given an IPv4 address string in dotted-quad format, convert the address to an integer representing the address.

parse_ip

Parse an IPv4 or IPv6 network address into relevant attributes.