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

Given an integer that represents an IPv4 address in big-endian (network) byte order, return the corresponding dotted-quad

ipv4_address_in_network

Given an IPv4 address string in dotted-quad format on the left, and a subnet

ipv4_network_int64

Given an IPv4 address string in dotted-quad format, possibly with a slash-masksize trailing component, convert the address to an

ipv4_to_int64

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

parse_ip

When the input is an IPv(4/6) address, returns a JSON object containing the following attributes - family (either “4” or “6”)