Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
dnsjit.lib.ip(3)	    Library Functions Manual		dnsjit.lib.ip(3)

NAME
     dnsjit.lib.ip - IP address utility library

SYNOPSIS
       local ip = require("dnsjit.lib.ip")
       print(ip.ipstring(ipv4_cdata))
       print(ip.ip6string(ipv6_cdata), true)

DESCRIPTION
     A	library  to help with various IP address related tasks, such as printing
     them.

   Functions
     Ip.tostring(ip, pretty)
	    Return an IPv4 or IPv6 address as a string.  If it's an IPv6 address
	    the optional argument pretty is true then return an easier	to  read
	    IPv6 address.  Return an empty string on invalid input.

     Ip.ipstring(ip)
	    Return  a IPv4 address as a string.  The input is a 4-byte cdata ar-
	    ray.

     Ip.ip6string(ip6, pretty)
	    Return the IPv6 address as a string.  The input is a  16-byte  cdata
	    array.   If  pretty  is  true then return an easier to read IPv6 ad-
	    dress.

SEE ALSO
     dnsjit.core.object.ip(3), dnsjit.core.object.ip6(3)

AUTHORS and CONTRIBUTORS
     Jerry LundstrA<paragraph>m (DNS-OARC),  TomA!A!  KAAA3/4ek  (CZ.NIC),  Petr
     A paAek (ISC)

     Maintained by DNS-OARC

	    https://www.dns-oarc.net/

BUGS
     For issues and feature requests please use:

	    https://github.com/DNS-OARC/dnsjit/issues

     For question and help please use:

	    admin@dns-oarc.net

dnsjit				      1.4.0			dnsjit.lib.ip(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dnsjit.lib.ip&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help