summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-06 06:51:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-06 06:51:47 +0000
commite02a3ff82cc56db1a75728f20c50cb2770516f62 (patch)
tree6ff269e899624e67833f1007d8f3a4a5e5070c4a /lib/libc/net
parentc26895f4fd4bfa5bb423b19b0c3d06c8e8cd6a33 (diff)
type fixos
Diffstat (limited to 'lib/libc/net')
-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