summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-06 06:51:46 +0000
committerderaadt <deraadt@openbsd.org>1996-07-06 06:51:46 +0000
commit96a9a77c8859ca0b3dea9cc3695038fe1c6db2c4 (patch)
tree36f3090d0b1afe806d6c4f1674f8e743a16902b2
parentShould get installed as nawk as well. (diff)
downloadwireguard-openbsd-96a9a77c8859ca0b3dea9cc3695038fe1c6db2c4.tar.xz
wireguard-openbsd-96a9a77c8859ca0b3dea9cc3695038fe1c6db2c4.zip
type fixos
-rw-r--r--lib/libc/net/ethers.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/net/ethers.3 b/lib/libc/net/ethers.3
index 81e6c65935a..2a6fcb9aa33 100644
--- a/lib/libc/net/ethers.3
+++ b/lib/libc/net/ethers.3
@@ -17,15 +17,18 @@
.Fn ether_ntoa "struct ether_addr *e"
.Ft struct ether_addr *
.Fn ether_aton "char *s"
+.Ft int
.Fn ether_ntohost "char *hostname" "struct ether_addr *e"
+.Ft int
.Fn ether_hostton "char *hostname" "struct ether_addr *e"
+.Ft int
.Fn ether_line "char *l" "struct ether_addr *e" "char *hostname"
.Sh DESCRIPTION
Ethernet addresses are represented by the
following structure:
.Bd -literal -offset indent
struct ether_addr {
- u_char ether_addr_octet[6];
+ u_int8_t ether_addr_octet[6];
};
.Ed
.Pp