diff options
Diffstat (limited to 'static/freebsd/man5/ethers.5 4.html')
| -rw-r--r-- | static/freebsd/man5/ethers.5 4.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/static/freebsd/man5/ethers.5 4.html b/static/freebsd/man5/ethers.5 4.html new file mode 100644 index 00000000..63f2c7cf --- /dev/null +++ b/static/freebsd/man5/ethers.5 4.html @@ -0,0 +1,67 @@ +<table class="head"> + <tr> + <td class="head-ltitle">ETHERS(5)</td> + <td class="head-vol">File Formats Manual</td> + <td class="head-rtitle">ETHERS(5)</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">ethers</code> — <span class="Nd">ethernet + address database</span></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">ethers</code> database contains information + regarding known 48-bit ethernet addresses of hosts on an Internetwork. The + data is stored in a file called <span class="Pa">/etc/ethers</span> in the + following format:</p> +<p class="Pp"></p> +<div class="Bd Bd-indent"><var class="Ar">ethernet-address + fully-qualified-host-name</var></div> +<p class="Pp">Items are separated by any number of blanks and/or tab characters. + A ``#'' at the start of a line indicates the beginning of a comment that + extends to the end of the line. A ``+'' at the start of a line will cause + the <a class="Xr">ethers(3)</a> library functions to use data stored in the + NIS <span class="Pa">ethers.byname</span> and + <span class="Pa">ethers.byaddr</span> maps in addition to the data in the + <span class="Pa">/etc/ethers</span> file.</p> +<p class="Pp">An ethernet address is expressed in ASCII form as + "x:x:x:x:x:x" where <var class="Ar">x</var> is a hexadecimal value + between 0x00 and 0xFF. The address values should be in network order. + Hostnames specified in the <span class="Pa">/etc/ethers</span> database + should correspond to entries in the <a class="Xr">hosts(5)</a> file.</p> +<p class="Pp" id="ether_line">The + <a class="permalink" href="#ether_line"><code class="Fn">ether_line</code></a>() + function in the standard C library can be used to break individual lines in + the <span class="Pa">/etc/ethers</span> database into their individual + components: a binary Ethernet address stored as an + <span class="Pa">ether_addr</span> structure, and a hostname stored as a + character string.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> +<dl class="Bl-tag Bl-compact"> + <dt><span class="Pa">/etc/ethers</span></dt> + <dd>The <code class="Nm">ethers</code> file resides in + <span class="Pa">/etc</span>.</dd> +</dl> +</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">ethers(3)</a>, <a class="Xr">yp(8)</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">ethers</code> format is based on the format + used in SunOS 4.1.x.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">April 12, 1995</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
