<!DOCTYPE html>
<html lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Family fou netlink specification — The Linux Kernel documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css?v=3918102e" />
<script src="../../_static/documentation_options.js?v=5929fcd5"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="next" title="Family handshake netlink specification" href="handshake.html" />
<link rel="prev" title="Family ethtool netlink specification" href="ethtool.html" />
<link rel="stylesheet" href="../../_static/custom.css" type="text/css" />
</head><body>
<div class="document">
<div class="sphinxsidebar" role="navigation" aria-label="Main">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../../index.html">
<img class="logo" src="../../_static/logo.svg" alt="Logo of The Linux Kernel"/>
</a></p>
<h1 class="logo"><a href="../../index.html">The Linux Kernel</a></h1>
<p class="blurb">6.18.50</p>
<search id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
<input type="submit" value="Go" />
</form>
</div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
<p>
<h3 class="kernel-toc-contents">Contents</h3>
<input type="checkbox" class="kernel-toc-toggle" id = "kernel-toc-toggle" checked>
<label class="kernel-toc-title" for="kernel-toc-toggle"></label>
<div class="kerneltoc" id="kerneltoc">
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../process/development-process.html">Development process</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../process/submitting-patches.html">Submitting patches</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../process/code-of-conduct.html">Code of conduct</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../maintainer/index.html">Maintainer handbook</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../process/index.html">All development-process docs</a></li>
</ul>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../core-api/index.html">Core API</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../driver-api/index.html">Driver APIs</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../../subsystem-apis.html">Subsystems</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../../subsystem-apis.html#core-subsystems">Core subsystems</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../subsystem-apis.html#human-interfaces">Human interfaces</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="../../subsystem-apis.html#networking-interfaces">Networking interfaces</a><ul class="current">
<li class="toctree-l3 current"><a class="reference internal" href="../../networking/index.html">Networking</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../netlabel/index.html">NetLabel</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../infiniband/index.html">InfiniBand</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../isdn/index.html">ISDN</a></li>
<li class="toctree-l3"><a class="reference internal" href="../../mhi/index.html">MHI</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../../subsystem-apis.html#storage-interfaces">Storage interfaces</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../subsystem-apis.html#other-subsystems">Other subsystems</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../locking/index.html">Locking</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../process/license-rules.html">Licensing rules</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../doc-guide/index.html">Writing documentation</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev-tools/index.html">Development tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev-tools/testing-overview.html">Testing guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../kernel-hacking/index.html">Hacking guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../trace/index.html">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../fault-injection/index.html">Fault injection</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../livepatch/index.html">Livepatching</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rust/index.html">Rust</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../admin-guide/index.html">Administration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../kbuild/index.html">Build system</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../admin-guide/reporting-issues.html">Reporting issues</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tools/index.html">Userspace tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../userspace-api/index.html">Userspace API</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../firmware-guide/index.html">Firmware</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../devicetree/index.html">Firmware and Devicetree</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../arch/index.html">CPU architectures</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../staging/index.html">Unsorted documentation</a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../translations/index.html">Translations</a></li>
</ul>
</div>
<script type="text/javascript"> <!--
var sbar = document.getElementsByClassName("sphinxsidebar")[0];
let currents = document.getElementsByClassName("current")
if (currents.length) {
sbar.scrollTop = currents[currents.length - 1].offsetTop;
}
--> </script>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../../_sources/netlink/specs/fou.yaml.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
</div>
</div>
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<section id="family-fou-netlink-specification">
<span id="netlink-fou"></span><h1><a class="toc-backref" href="#id1" role="doc-backlink">Family <code class="docutils literal notranslate"><span class="pre">fou</span></code> netlink specification</a><a class="headerlink" href="#family-fou-netlink-specification" title="Link to this heading">¶</a></h1>
<nav class="contents" id="contents">
<p class="topic-title">Contents</p>
<ul class="simple">
<li><p><a class="reference internal" href="#family-fou-netlink-specification" id="id1">Family <code class="docutils literal notranslate"><span class="pre">fou</span></code> netlink specification</a></p>
<ul>
<li><p><a class="reference internal" href="#summary" id="id2">Summary</a></p></li>
<li><p><a class="reference internal" href="#operations" id="id3">Operations</a></p>
<ul>
<li><p><a class="reference internal" href="#unspec" id="id4">unspec</a></p></li>
<li><p><a class="reference internal" href="#add" id="id5">add</a></p></li>
<li><p><a class="reference internal" href="#del" id="id6">del</a></p></li>
<li><p><a class="reference internal" href="#get" id="id7">get</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#definitions" id="id8">Definitions</a></p>
<ul>
<li><p><a class="reference internal" href="#encap-type" id="id9">encap-type</a></p></li>
</ul>
</li>
<li><p><a class="reference internal" href="#attribute-sets" id="id10">Attribute sets</a></p>
<ul>
<li><p><a class="reference internal" href="#fou" id="id11">fou</a></p></li>
</ul>
</li>
</ul>
</li>
</ul>
</nav>
<section id="summary">
<h2><a class="toc-backref" href="#id2" role="doc-backlink">Summary</a><a class="headerlink" href="#summary" title="Link to this heading">¶</a></h2>
<p>Foo-over-UDP.</p>
</section>
<section id="operations">
<h2><a class="toc-backref" href="#id3" role="doc-backlink">Operations</a><a class="headerlink" href="#operations" title="Link to this heading">¶</a></h2>
<section id="unspec">
<span id="fou-operation-unspec"></span><h3><a class="toc-backref" href="#id4" role="doc-backlink">unspec</a><a class="headerlink" href="#unspec" title="Link to this heading">¶</a></h3>
<p>unused</p>
<dl class="field-list simple">
<dt class="field-odd">value<span class="colon">:</span></dt>
<dd class="field-odd"><p>0</p>
</dd>
</dl>
</section>
<section id="add">
<span id="fou-operation-add"></span><h3><a class="toc-backref" href="#id5" role="doc-backlink">add</a><a class="headerlink" href="#add" title="Link to this heading">¶</a></h3>
<p>Add port.</p>
<dl class="field-list simple">
<dt class="field-odd">attribute-set<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#fou-attribute-set-fou"><span class="std std-ref">fou</span></a></p>
</dd>
<dt class="field-even">dont-validate<span class="colon">:</span></dt>
<dd class="field-even"><p>[‘strict’, ‘dump’]</p>
</dd>
<dt class="field-odd">flags<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">admin-perm</span></code>]</p>
</dd>
<dt class="field-even">do<span class="colon">:</span></dt>
<dd class="field-even"><dl class="simple">
<dt><strong>request</strong></dt><dd><dl class="field-list simple">
<dt class="field-odd">attributes<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">port</span></code>, <code class="docutils literal notranslate"><span class="pre">ipproto</span></code>, <code class="docutils literal notranslate"><span class="pre">type</span></code>, <code class="docutils literal notranslate"><span class="pre">remcsum-nopartial</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-port</span></code>, <code class="docutils literal notranslate"><span class="pre">ifindex</span></code>]</p>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</section>
<section id="del">
<span id="fou-operation-del"></span><h3><a class="toc-backref" href="#id6" role="doc-backlink">del</a><a class="headerlink" href="#del" title="Link to this heading">¶</a></h3>
<p>Delete port.</p>
<dl class="field-list simple">
<dt class="field-odd">attribute-set<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#fou-attribute-set-fou"><span class="std std-ref">fou</span></a></p>
</dd>
<dt class="field-even">dont-validate<span class="colon">:</span></dt>
<dd class="field-even"><p>[‘strict’, ‘dump’]</p>
</dd>
<dt class="field-odd">flags<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">admin-perm</span></code>]</p>
</dd>
<dt class="field-even">do<span class="colon">:</span></dt>
<dd class="field-even"><dl class="simple">
<dt><strong>request</strong></dt><dd><dl class="field-list simple">
<dt class="field-odd">attributes<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">af</span></code>, <code class="docutils literal notranslate"><span class="pre">ifindex</span></code>, <code class="docutils literal notranslate"><span class="pre">port</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-port</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v6</span></code>]</p>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</section>
<section id="get">
<span id="fou-operation-get"></span><h3><a class="toc-backref" href="#id7" role="doc-backlink">get</a><a class="headerlink" href="#get" title="Link to this heading">¶</a></h3>
<p>Get tunnel info.</p>
<dl class="field-list simple">
<dt class="field-odd">attribute-set<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#fou-attribute-set-fou"><span class="std std-ref">fou</span></a></p>
</dd>
<dt class="field-even">dont-validate<span class="colon">:</span></dt>
<dd class="field-even"><p>[‘strict’, ‘dump’]</p>
</dd>
<dt class="field-odd">do<span class="colon">:</span></dt>
<dd class="field-odd"><dl class="simple">
<dt><strong>request</strong></dt><dd><dl class="field-list simple">
<dt class="field-odd">attributes<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">af</span></code>, <code class="docutils literal notranslate"><span class="pre">ifindex</span></code>, <code class="docutils literal notranslate"><span class="pre">port</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-port</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v6</span></code>]</p>
</dd>
</dl>
</dd>
<dt><strong>reply</strong></dt><dd><dl class="field-list simple">
<dt class="field-odd">attributes<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">port</span></code>, <code class="docutils literal notranslate"><span class="pre">ipproto</span></code>, <code class="docutils literal notranslate"><span class="pre">type</span></code>, <code class="docutils literal notranslate"><span class="pre">remcsum-nopartial</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-port</span></code>, <code class="docutils literal notranslate"><span class="pre">ifindex</span></code>]</p>
</dd>
</dl>
</dd>
</dl>
</dd>
<dt class="field-even">dump<span class="colon">:</span></dt>
<dd class="field-even"><dl class="simple">
<dt><strong>reply</strong></dt><dd><dl class="field-list simple">
<dt class="field-odd">attributes<span class="colon">:</span></dt>
<dd class="field-odd"><p>[<code class="docutils literal notranslate"><span class="pre">port</span></code>, <code class="docutils literal notranslate"><span class="pre">ipproto</span></code>, <code class="docutils literal notranslate"><span class="pre">type</span></code>, <code class="docutils literal notranslate"><span class="pre">remcsum-nopartial</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v4</span></code>, <code class="docutils literal notranslate"><span class="pre">local-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-v6</span></code>, <code class="docutils literal notranslate"><span class="pre">peer-port</span></code>, <code class="docutils literal notranslate"><span class="pre">ifindex</span></code>]</p>
</dd>
</dl>
</dd>
</dl>
</dd>
</dl>
</section>
</section>
<section id="definitions">
<h2><a class="toc-backref" href="#id8" role="doc-backlink">Definitions</a><a class="headerlink" href="#definitions" title="Link to this heading">¶</a></h2>
<section id="encap-type">
<span id="fou-definition-encap-type"></span><h3><a class="toc-backref" href="#id9" role="doc-backlink">encap-type</a><a class="headerlink" href="#encap-type" title="Link to this heading">¶</a></h3>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p>enum</p>
</dd>
<dt class="field-even">name-prefix<span class="colon">:</span></dt>
<dd class="field-even"><p>fou-encap-</p>
</dd>
<dt class="field-odd">enum-name<span class="colon">:</span></dt>
<dd class="field-odd"><p>None</p>
</dd>
<dt class="field-even">entries<span class="colon">:</span></dt>
<dd class="field-even"><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">unspec</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">direct</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">gue</span></code></p></li>
</ul>
</dd>
</dl>
</section>
</section>
<section id="attribute-sets">
<h2><a class="toc-backref" href="#id10" role="doc-backlink">Attribute sets</a><a class="headerlink" href="#attribute-sets" title="Link to this heading">¶</a></h2>
<section id="fou">
<span id="fou-attribute-set-fou"></span><h3><a class="toc-backref" href="#id11" role="doc-backlink">fou</a><a class="headerlink" href="#fou" title="Link to this heading">¶</a></h3>
<section id="unspec-unused">
<h4>unspec (<code class="docutils literal notranslate"><span class="pre">unused</span></code>)<a class="headerlink" href="#unspec-unused" title="Link to this heading">¶</a></h4>
<dl class="field-list simple">
<dt class="field-odd">value<span class="colon">:</span></dt>
<dd class="field-odd"><p>0</p>
</dd>
</dl>
</section>
<section id="port-u16">
<h4>port (<code class="docutils literal notranslate"><span class="pre">u16</span></code>)<a class="headerlink" href="#port-u16" title="Link to this heading">¶</a></h4>
<dl class="field-list simple">
<dt class="field-odd">byte-order<span class="colon">:</span></dt>
<dd class="field-odd"><p>big-endian</p>
</dd>
</dl>
</section>
<section id="af-u8">
<h4>af (<code class="docutils literal notranslate"><span class="pre">u8</span></code>)<a class="headerlink" href="#af-u8" title="Link to this heading">¶</a></h4>
</section>
<section id="ipproto-u8">
<h4>ipproto (<code class="docutils literal notranslate"><span class="pre">u8</span></code>)<a class="headerlink" href="#ipproto-u8" title="Link to this heading">¶</a></h4>
</section>
<section id="type-u8">
<h4>type (<code class="docutils literal notranslate"><span class="pre">u8</span></code>)<a class="headerlink" href="#type-u8" title="Link to this heading">¶</a></h4>
</section>
<section id="remcsum-nopartial-flag">
<h4>remcsum-nopartial (<code class="docutils literal notranslate"><span class="pre">flag</span></code>)<a class="headerlink" href="#remcsum-nopartial-flag" title="Link to this heading">¶</a></h4>
</section>
<section id="local-v4-u32">
<h4>local-v4 (<code class="docutils literal notranslate"><span class="pre">u32</span></code>)<a class="headerlink" href="#local-v4-u32" title="Link to this heading">¶</a></h4>
</section>
<section id="local-v6-binary">
<h4>local-v6 (<code class="docutils literal notranslate"><span class="pre">binary</span></code>)<a class="headerlink" href="#local-v6-binary" title="Link to this heading">¶</a></h4>
</section>
<section id="peer-v4-u32">
<h4>peer-v4 (<code class="docutils literal notranslate"><span class="pre">u32</span></code>)<a class="headerlink" href="#peer-v4-u32" title="Link to this heading">¶</a></h4>
</section>
<section id="peer-v6-binary">
<h4>peer-v6 (<code class="docutils literal notranslate"><span class="pre">binary</span></code>)<a class="headerlink" href="#peer-v6-binary" title="Link to this heading">¶</a></h4>
</section>
<section id="peer-port-u16">
<h4>peer-port (<code class="docutils literal notranslate"><span class="pre">u16</span></code>)<a class="headerlink" href="#peer-port-u16" title="Link to this heading">¶</a></h4>
<dl class="field-list simple">
<dt class="field-odd">byte-order<span class="colon">:</span></dt>
<dd class="field-odd"><p>big-endian</p>
</dd>
</dl>
</section>
<section id="ifindex-s32">
<h4>ifindex (<code class="docutils literal notranslate"><span class="pre">s32</span></code>)<a class="headerlink" href="#ifindex-s32" title="Link to this heading">¶</a></h4>
</section>
</section>
</section>
</section>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©The kernel development community.
|
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.1.3</a>
& <a href="https://alabaster.readthedocs.io">Alabaster 0.7.16</a>
|
<a href="../../_sources/netlink/specs/fou.yaml.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>