2362N/A - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 0N/A - Copyright (C) 2001 Internet Software Consortium. 0N/A - Permission to use, copy, modify, and distribute this software for any 0N/A - purpose with or without fee is hereby granted, provided that the above 2362N/A - copyright notice and this permission notice appear in all copies. 2362N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 0N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 0N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 0N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 0N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 0N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 0N/A - PERFORMANCE OF THIS SOFTWARE. 0N/ACONTENT="Modular DocBook HTML Stylesheet Version 1.73 0N/A>lwres_net_ntop -- lightweight resolver IP address presentation</
DIV 0N/ACLASS="REFSYNOPSISDIV" 0N/ACLASS="FUNCSYNOPSISINFO" 0N/A>(int af, const void *src, char *dst, size_t size);</
CODE 0N/A>lwres_net_ntop()</
TT 0N/A> converts an IP address of
0N/A> — IPv4 or IPv6 —
0N/A> from network format to its
0N/Aconventional representation as a string. For IPv4 addresses, that
0N/Astring would be a dotted-decimal. An IPv6 address would be
0N/Arepresented in colon notation as described in RFC1884.</
P 0N/A>The generated string is copied to <
TT 0N/A> indicates it is long enough to store the
0N/AASCII representation of the address.</
P 0N/A>If successful, the function returns <
TT 0N/Aa pointer to a string containing the presentation format of the
0N/A>lwres_net_ntop()</
TT 0N/A> and sets the global variable
0N/Athe protocol family given in <
TT 0N/ACLASS="REFENTRYTITLE" 0N/ACLASS="REFENTRYTITLE"