diff options
Diffstat (limited to 'static/netbsd/man4/srt.4 3.html')
| -rw-r--r-- | static/netbsd/man4/srt.4 3.html | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/static/netbsd/man4/srt.4 3.html b/static/netbsd/man4/srt.4 3.html deleted file mode 100644 index d0b20954..00000000 --- a/static/netbsd/man4/srt.4 3.html +++ /dev/null @@ -1,108 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">SRT(4)</td> - <td class="head-vol">Device Drivers Manual</td> - <td class="head-rtitle">SRT(4)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">srt</code> — - <span class="Nd">source-routing network interface</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="Cd">pseudo-device srt</code></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The <code class="Nm">srt</code> interface is a software interface - that implements source-address-based routing. Packets are directed to the - <code class="Nm">srt</code> interface using normal routing decision process. - Packets queued for delivery are then processed according to the rules - established for the interface using the <a class="Xr">srtconfig(1)</a> - utility.</p> -<p class="Pp" id="N">To use an <code class="Nm">srt</code> device, the - administrator must first create the interface. This can be done by using the - <a class="Xr">ifconfig(8)</a> <code class="Cm">create</code> command. An - <a class="Xr">open(2)</a> call on - <span class="Pa">/dev/srt</span><a class="permalink" href="#N"><b class="Sy">N</b></a> - will also create a network interface with a unit number the same as the - minor device number of that device if the interface doesn't exist yet.</p> -<p class="Pp" id="_">To be useful, the <code class="Nm">srt</code> interface - needs to be configured using <a class="Xr">srtconfig(1)</a> which uses the - associated <code class="Nm">srt</code> character device - <span class="Pa">/dev/srt</span><a class="permalink" href="#_"><b class="Sy">#</b></a>.</p> -<p class="Pp">The network interfaces should be named - <b class="Sy">srt</b><var class="Ar">0</var>, - <b class="Sy">srt</b><var class="Ar">1</var>, etc. The - <code class="Nm">srt</code> interface supports only the - <a class="Xr">open(2)</a>, <a class="Xr">close(2)</a>, and - <a class="Xr">ioctl(2)</a> operations; other operations such as - <a class="Xr">read(2)</a> and <a class="Xr">write(2)</a> are not - supported.</p> -<p class="Pp">All standard network interface <a class="Xr">ioctl(2)</a> calls - are supported by the <code class="Nm">srt</code> interface. In addition, the - following <a class="Xr">ioctl(2)</a> calls (defined in - ⟨<span class="Pa">net/if_srt.h</span>⟩) are supported on the - <code class="Nm">srt</code> character device:</p> -<div class="Bd-indent"> -<dl class="Bl-tag"> - <dt id="SRT_GETNRT"><a class="permalink" href="#SRT_GETNRT"><code class="Dv">SRT_GETNRT</code></a></dt> - <dd>The argument is a pointer to an integer, in which the number of entries in - the device's routing table is returned.</dd> - <dt id="SRT_GETRT"><a class="permalink" href="#SRT_GETRT"><code class="Dv">SRT_GETRT</code></a></dt> - <dd>The argument is the address of a <var class="Fa">struct srt_rt</var>. The - routing table entry specified by the “inx” member is - returned.</dd> - <dt id="SRT_SETRT"><a class="permalink" href="#SRT_SETRT"><code class="Dv">SRT_SETRT</code></a></dt> - <dd>The argument is the address of a <var class="Fa">struct srt_rt</var>. The - routing entry is placed into the device's routing table at the index - specified by the “inx” member.</dd> - <dt id="SRT_DELRT"><a class="permalink" href="#SRT_DELRT"><code class="Dv">SRT_DELRT</code></a></dt> - <dd>The argument is the address of a <var class="Fa">struct srt_rt</var>. The - routing entry specified by the “inx” member is deleted from - the device's routing table. (Any entries in the device's routing table - with higher index values are renumbered.)</dd> - <dt id="SRT_SFLAGS"><a class="permalink" href="#SRT_SFLAGS"><code class="Dv">SRT_SFLAGS</code></a></dt> - <dd>The argument is a pointer to an integer containing any of the following - flags to be set: - <dl class="Bl-tag"> - <dt id="SSF_MTULOCK"><a class="permalink" href="#SSF_MTULOCK"><code class="Dv">SSF_MTULOCK</code></a></dt> - <dd>If set, do not automatically update the interface's MTU.</dd> - </dl> - </dd> - <dt id="SRT_GFLAGS"><a class="permalink" href="#SRT_GFLAGS"><code class="Dv">SRT_GFLAGS</code></a></dt> - <dd>The argument is a pointer to an integer in which the current flags are - returned.</dd> - <dt id="SRT_SGFLAGS"><a class="permalink" href="#SRT_SGFLAGS"><code class="Dv">SRT_SGFLAGS</code></a></dt> - <dd>This call updates the flags in the same manner as - <code class="Dv">SRT_SFLAGS</code>. The original flags are returned in the - integer pointed to by the argument.</dd> - <dt id="SRT_DEBUG"><a class="permalink" href="#SRT_DEBUG"><code class="Dv">SRT_DEBUG</code></a></dt> - <dd>Currently this is a no-op.</dd> -</dl> -</div> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">srtconfig(1)</a>, <a class="Xr">inet(4)</a>, - <a class="Xr">intro(4)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> -<p class="Pp">The <code class="Nm">srt</code> device was added in - <span class="Ux">NetBSD 5.0</span> by <span class="An">der Mouse</span> - <<a class="Mt" href="mailto:mouse@NetBSD.org">mouse@NetBSD.org</a>>. - This manual page was prepared by <span class="An">Paul Goyette</span> - <<a class="Mt" href="mailto:pgoyette@NetBSD.org">pgoyette@NetBSD.org</a>>.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">March 27, 2019</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
