diff options
| author | deraadt <> | 1996-07-06 06:51:46 +0000 |
|---|---|---|
| committer | deraadt <> | 1996-07-06 06:51:46 +0000 |
| commit | 693c499dbc9ea293d6ea5c1dfcc158e62ac61dcb (patch) | |
| tree | d0de4b3df49de82dc8a248a2e1facc65a65c0d39 /src/lib/libc | |
| parent | 89349db48952550db7b39a67f52d620af9035347 (diff) | |
| download | openbsd-693c499dbc9ea293d6ea5c1dfcc158e62ac61dcb.tar.gz openbsd-693c499dbc9ea293d6ea5c1dfcc158e62ac61dcb.tar.bz2 openbsd-693c499dbc9ea293d6ea5c1dfcc158e62ac61dcb.zip | |
type fixos
Diffstat (limited to 'src/lib/libc')
| -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 |
