summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/net/ethers.35
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libc/net/ethers.3 b/src/lib/libc/net/ethers.3
index 81e6c65935..2a6fcb9aa3 100644
--- a/src/lib/libc/net/ethers.3
+++ b/src/lib/libc/net/ethers.3
@@ -17,15 +17,18 @@
17.Fn ether_ntoa "struct ether_addr *e" 17.Fn ether_ntoa "struct ether_addr *e"
18.Ft struct ether_addr * 18.Ft struct ether_addr *
19.Fn ether_aton "char *s" 19.Fn ether_aton "char *s"
20.Ft int
20.Fn ether_ntohost "char *hostname" "struct ether_addr *e" 21.Fn ether_ntohost "char *hostname" "struct ether_addr *e"
22.Ft int
21.Fn ether_hostton "char *hostname" "struct ether_addr *e" 23.Fn ether_hostton "char *hostname" "struct ether_addr *e"
24.Ft int
22.Fn ether_line "char *l" "struct ether_addr *e" "char *hostname" 25.Fn ether_line "char *l" "struct ether_addr *e" "char *hostname"
23.Sh DESCRIPTION 26.Sh DESCRIPTION
24Ethernet addresses are represented by the 27Ethernet addresses are represented by the
25following structure: 28following structure:
26.Bd -literal -offset indent 29.Bd -literal -offset indent
27struct ether_addr { 30struct ether_addr {
28 u_char ether_addr_octet[6]; 31 u_int8_t ether_addr_octet[6];
29}; 32};
30.Ed 33.Ed
31.Pp 34.Pp