summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/ethers.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/ethers.3')
-rw-r--r--lib/libc/net/ethers.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 40b5c7d..bfa5955 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -116,12 +116,16 @@ functions map ethernet addresses to their corresponding hostnames
as specified in the
.Pa /etc/ethers
database.
+The
.Fn ether_ntohost
+function
converts from ethernet address to hostname, and
.Fn ether_hostton
converts from hostname to ethernet address.
.Sh RETURN VALUES
+The
.Fn ether_line
+function
returns zero on success and non-zero if it was unable to parse
any part of the supplied line
.Ar l .
OpenPOWER on IntegriCloud