diff options
author | 1996-07-06 06:51:46 +0000 | |
---|---|---|
committer | 1996-07-06 06:51:46 +0000 | |
commit | 96a9a77c8859ca0b3dea9cc3695038fe1c6db2c4 (patch) | |
tree | 36f3090d0b1afe806d6c4f1674f8e743a16902b2 | |
parent | Should get installed as nawk as well. (diff) | |
download | wireguard-openbsd-96a9a77c8859ca0b3dea9cc3695038fe1c6db2c4.tar.xz wireguard-openbsd-96a9a77c8859ca0b3dea9cc3695038fe1c6db2c4.zip |
type fixos
-rw-r--r-- | lib/libc/net/ethers.3 | 5 |
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 |