Skip to content

Commit

Permalink
Update ipaddr doc to 5.6.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed May 22, 2024
1 parent 66e5aee commit da33d1a
Show file tree
Hide file tree
Showing 75 changed files with 1,041 additions and 200 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>index</title>
<link rel="stylesheet" href="./_odoc_support/odoc.css"/>
<link rel="stylesheet" href="./odoc.support/odoc.css"/>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
</head>
Expand All @@ -11,12 +11,12 @@
<div class="by-name">
<h2>OCaml package documentation</h2>
<ol>
<li><a href="ipaddr/index.html">ipaddr</a> <span class="version">5.5.0</span></li>
<li><a href="ipaddr-cstruct/index.html">ipaddr-cstruct</a> <span class="version">5.5.0</span></li>
<li><a href="ipaddr-sexp/index.html">ipaddr-sexp</a> <span class="version">5.5.0</span></li>
<li><a href="macaddr/index.html">macaddr</a> <span class="version">5.5.0</span></li>
<li><a href="macaddr-cstruct/index.html">macaddr-cstruct</a> <span class="version">5.5.0</span></li>
<li><a href="macaddr-sexp/index.html">macaddr-sexp</a> <span class="version">5.5.0</span></li>
<li><a href="ipaddr/index.html">ipaddr</a> <span class="version">5.6.0</span></li>
<li><a href="ipaddr-cstruct/index.html">ipaddr-cstruct</a> <span class="version">5.6.0</span></li>
<li><a href="ipaddr-sexp/index.html">ipaddr-sexp</a> <span class="version">5.6.0</span></li>
<li><a href="macaddr/index.html">macaddr</a> <span class="version">5.6.0</span></li>
<li><a href="macaddr-cstruct/index.html">macaddr-cstruct</a> <span class="version">5.6.0</span></li>
<li><a href="macaddr-sexp/index.html">macaddr-sexp</a> <span class="version">5.6.0</span></li>
</ol>
</div>
</main>
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion ipaddr-cstruct/Ipaddr_cstruct/V4/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>V4 (ipaddr-cstruct.Ipaddr_cstruct.V4)</title><link rel="stylesheet" href="../../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../_odoc_support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">ipaddr-cstruct</a> &#x00BB; <a href="../index.html">Ipaddr_cstruct</a> &#x00BB; V4</nav><header class="odoc-preamble"><h1>Module <code><span>Ipaddr_cstruct.V4</span></code></h1><p>Ipv4 address conversions</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct"><a href="#val-of_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <span><span>(<a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a>, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>of_cstruct c</code> parses the first 4 octets of <code>c</code> into an IPv4 address.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct_exn"><a href="#val-of_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct_exn : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a></span></code></div><div class="spec-doc"><p><code>of_cstruct_exn</code> parses the first 4 octets of <code>c</code> into an IPv4 address. Raises <code>Ipaddr</code>.Parse_failure on error.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_cstruct"><a href="#val-to_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> to_cstruct : <span>?allocator:<span>(<span>int <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t)</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t</span></code></div><div class="spec-doc"><p><code>to_cstruct ipv4</code> is a cstruct of length 4 encoding <code>ipv4</code>. The cstruct is allocated using <code>allocator</code>. If <code>allocator</code> is not provided, <code>Cstruct.create</code> is used.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-write_cstruct_exn"><a href="#val-write_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> write_cstruct_exn : <span><a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p><code>write_cstruct_exn ipv4 cs</code> writes 4 bytes into <code>cs</code> representing the <code>ipv4</code> address octets. Raises <a href="../../../ipaddr/Ipaddr/index.html#exception-Parse_error"><code>Ipaddr.Parse_error</code></a> if <code>cs</code> is not at least 4 bytes long.</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>V4 (ipaddr-cstruct.Ipaddr_cstruct.V4)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">ipaddr-cstruct</a> &#x00BB; <a href="../index.html">Ipaddr_cstruct</a> &#x00BB; V4</nav><header class="odoc-preamble"><h1>Module <code><span>Ipaddr_cstruct.V4</span></code></h1><p>Ipv4 address conversions</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct"><a href="#val-of_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <span><span>(<a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a>, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>of_cstruct c</code> parses the first 4 octets of <code>c</code> into an IPv4 address.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct_exn"><a href="#val-of_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct_exn : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a></span></code></div><div class="spec-doc"><p><code>of_cstruct_exn</code> parses the first 4 octets of <code>c</code> into an IPv4 address. Raises <code>Ipaddr.Parse_failure</code> on error.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_cstruct"><a href="#val-to_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> to_cstruct : <span><span class="optlabel">?allocator</span>:<span>(<span>int <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t)</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t</span></code></div><div class="spec-doc"><p><code>to_cstruct ipv4</code> is a cstruct of length 4 encoding <code>ipv4</code>. The cstruct is allocated using <code>allocator</code>. If <code>allocator</code> is not provided, <code>Cstruct.create</code> is used.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-write_cstruct_exn"><a href="#val-write_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> write_cstruct_exn : <span><a href="../../../ipaddr/Ipaddr/V4/index.html#type-t">Ipaddr.V4.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p><code>write_cstruct_exn ipv4 cs</code> writes 4 bytes into <code>cs</code> representing the <code>ipv4</code> address octets. Raises <a href="../../../ipaddr/Ipaddr/index.html#exception-Parse_error"><code>Ipaddr.Parse_error</code></a> if <code>cs</code> is not at least 4 bytes long.</p></div></div></div></body></html>
2 changes: 1 addition & 1 deletion ipaddr-cstruct/Ipaddr_cstruct/V6/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>V6 (ipaddr-cstruct.Ipaddr_cstruct.V6)</title><link rel="stylesheet" href="../../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../_odoc_support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">ipaddr-cstruct</a> &#x00BB; <a href="../index.html">Ipaddr_cstruct</a> &#x00BB; V6</nav><header class="odoc-preamble"><h1>Module <code><span>Ipaddr_cstruct.V6</span></code></h1><p>Ipv6 address conversions</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct"><a href="#val-of_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <span><span>(<a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a>, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>of_cstruct c</code> parses the first 16 octets of <code>c</code> into an IPv6 address.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct_exn"><a href="#val-of_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct_exn : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a></span></code></div><div class="spec-doc"><p><code>of_cstruct_exn</code> parses the first 16 octets of <code>c</code> into an IPv6 address. Raises <code>Ipaddr</code>.Parse_failure on error.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_cstruct"><a href="#val-to_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> to_cstruct : <span>?allocator:<span>(<span>int <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t)</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t</span></code></div><div class="spec-doc"><p><code>to_cstruct ipv6</code> is a cstruct of length 16 encoding <code>ipv6</code>. The cstruct is allocated using <code>allocator</code>. If <code>allocator</code> is not provided, <code>Cstruct.create</code> is used.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-write_cstruct_exn"><a href="#val-write_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> write_cstruct_exn : <span><a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p><code>write_cstruct_exn ipv6 cs</code> writes 16 bytes into <code>cs</code> representing the <code>ipv6</code> address octets. Raises <a href="../../../ipaddr/Ipaddr/index.html#exception-Parse_error"><code>Ipaddr.Parse_error</code></a> if <code>cs</code> is not at least 16 bytes long.</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>V6 (ipaddr-cstruct.Ipaddr_cstruct.V6)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">ipaddr-cstruct</a> &#x00BB; <a href="../index.html">Ipaddr_cstruct</a> &#x00BB; V6</nav><header class="odoc-preamble"><h1>Module <code><span>Ipaddr_cstruct.V6</span></code></h1><p>Ipv6 address conversions</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct"><a href="#val-of_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <span><span>(<a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a>, <span>[&gt; <span>`Msg of string</span> ]</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div><div class="spec-doc"><p><code>of_cstruct c</code> parses the first 16 octets of <code>c</code> into an IPv6 address.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_cstruct_exn"><a href="#val-of_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> of_cstruct_exn : <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> <a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a></span></code></div><div class="spec-doc"><p><code>of_cstruct_exn</code> parses the first 16 octets of <code>c</code> into an IPv6 address. Raises <code>Ipaddr.Parse_failure</code> on error.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_cstruct"><a href="#val-to_cstruct" class="anchor"></a><code><span><span class="keyword">val</span> to_cstruct : <span><span class="optlabel">?allocator</span>:<span>(<span>int <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t)</span> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Cstruct</span>.t</span></code></div><div class="spec-doc"><p><code>to_cstruct ipv6</code> is a cstruct of length 16 encoding <code>ipv6</code>. The cstruct is allocated using <code>allocator</code>. If <code>allocator</code> is not provided, <code>Cstruct.create</code> is used.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-write_cstruct_exn"><a href="#val-write_cstruct_exn" class="anchor"></a><code><span><span class="keyword">val</span> write_cstruct_exn : <span><a href="../../../ipaddr/Ipaddr/V6/index.html#type-t">Ipaddr.V6.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Cstruct</span>.t <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p><code>write_cstruct_exn ipv6 cs</code> writes 16 bytes into <code>cs</code> representing the <code>ipv6</code> address octets. Raises <a href="../../../ipaddr/Ipaddr/index.html#exception-Parse_error"><code>Ipaddr.Parse_error</code></a> if <code>cs</code> is not at least 16 bytes long.</p></div></div></div></body></html>
2 changes: 1 addition & 1 deletion ipaddr-cstruct/Ipaddr_cstruct/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ipaddr_cstruct (ipaddr-cstruct.Ipaddr_cstruct)</title><link rel="stylesheet" href="../../_odoc_support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../_odoc_support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../index.html">ipaddr-cstruct</a> &#x00BB; Ipaddr_cstruct</nav><header class="odoc-preamble"><h1>Module <code><span>Ipaddr_cstruct</span></code></h1><p>Convert to and from Cstructs and IP addresses</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-V4"><a href="#module-V4" class="anchor"></a><code><span><span class="keyword">module</span> <a href="V4/index.html">V4</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Ipv4 address conversions</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-V6"><a href="#module-V6" class="anchor"></a><code><span><span class="keyword">module</span> <a href="V6/index.html">V6</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Ipv6 address conversions</p></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ipaddr_cstruct (ipaddr-cstruct.Ipaddr_cstruct)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../index.html">ipaddr-cstruct</a> &#x00BB; Ipaddr_cstruct</nav><header class="odoc-preamble"><h1>Module <code><span>Ipaddr_cstruct</span></code></h1><p>Convert to and from Cstructs and IP addresses</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-V4"><a href="#module-V4" class="anchor"></a><code><span><span class="keyword">module</span> <a href="V4/index.html">V4</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Ipv4 address conversions</p></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-V6"><a href="#module-V6" class="anchor"></a><code><span><span class="keyword">module</span> <a href="V6/index.html">V6</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Ipv6 address conversions</p></div></div></div></body></html>
Loading

0 comments on commit da33d1a

Please sign in to comment.