ddn.lib.pcap.namedb
Name-to-address resolution helpers for libpcap.
This module provides functions for resolving hostnames, ports, and protocols using libpcap's internal databases.
License
BSD-3-Clause
Copyright
© 2026 DDN (D Developer Network) Members
Functions 11
fn
int nametoport(string name, out int port, out int proto)Resolves a service name to its port number and protocol.fn
int nametoportrange(string name, out int portLow, out int portHigh, out int proto)Resolves a service name to its port range and protocol.