diff options
author | Fredrik Gustafsson <[email protected]> | 2013-08-05 11:15:45 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-08-05 11:15:45 +0200 |
commit | 7a99d823c96d8db0504b574420c9537b3a154425 (patch) | |
tree | 2b2b5474740cab5dc1eb2c3ee706d35d4f36701f /lib/kernel/doc/src/inet.xml | |
parent | f5acd1050a34f8195437f41d9965357eb107d804 (diff) | |
parent | 0fad6449c7ec48aa7454880b5a1caf0f2580b33f (diff) | |
download | otp-7a99d823c96d8db0504b574420c9537b3a154425.tar.gz otp-7a99d823c96d8db0504b574420c9537b3a154425.tar.bz2 otp-7a99d823c96d8db0504b574420c9537b3a154425.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/kernel/doc/src/inet.xml')
-rw-r--r-- | lib/kernel/doc/src/inet.xml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml index 119d7d8df9..4a3796a15b 100644 --- a/lib/kernel/doc/src/inet.xml +++ b/lib/kernel/doc/src/inet.xml @@ -76,11 +76,11 @@ FFFF::192.168.42.2 {16#3ffe,16#b80,16#1f8d,16#2,16#204,16#acff,16#fe17,16#bf38} fe80::204:acff:fe17:bf38 {16#fe80,0,0,0,0,16#204,16#acff,16#fe17,16#bf38}</code> - <p>A function that may be useful is <c>inet_parse:address/1</c>:</p> + <p>A function that may be useful is <seealso marker="#parse_address/1">parse_address/1</seealso>:</p> <pre> -1> <input>inet_parse:address("192.168.42.2").</input> +1> <input>inet:parse_address("192.168.42.2").</input> {ok,{192,168,42,2}} -2> <input>inet_parse:address("FFFF::192.168.42.2").</input> +2> <input>inet:parse_address("FFFF::192.168.42.2").</input> {ok,{65535,0,0,0,0,0,49320,10754}}</pre> </description> @@ -375,6 +375,13 @@ fe80::204:acff:fe17:bf38 </desc> </func> <func> + <name name="ntoa" arity="1" /> + <fsummary>Convert IPv6 / IPV4 adress to ascii</fsummary> + <desc> + <p>Parses an <a href="#type-ip_address">ip_address()</a> and returns an IPv4 or IPv6 address string.</p> + </desc> + </func> + <func> <name name="parse_ipv4_address" arity="1" /> <fsummary>Parse an IPv4 address</fsummary> <desc> |