diff options
-rw-r--r-- | src/lib/libc/net/ethers.3 | 5 |
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 |
24 | Ethernet addresses are represented by the | 27 | Ethernet addresses are represented by the |
25 | following structure: | 28 | following structure: |
26 | .Bd -literal -offset indent | 29 | .Bd -literal -offset indent |
27 | struct ether_addr { | 30 | struct 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 |