Age | Commit message (Collapse) | Author |
|
|
|
(don't forget that cpp is `lazy':
#define A B
#define B value
#if A == value
works, since A isn't extended before it's needed, by which time B is known)
|
|
part. Some ports can optimize the swap operations. This also means the
general API is extended with swap16, swap32, htobe16, htobe32, betoh16,
betoh32, htole16, htole32, letoh16 and letoh32.
|
|
GENERIC currently compiles and runs; some devices (isp) are not complete and
not yet enabled.
|
|
usage in new ip_* code, since fixed. Added usage notes to prevent future
confusion in this regard.
|
|
really doesn't make a lot of sense if you're actually going to use these
as some recent changes to netinet/* want to do. (x) or (u_int*_t) (x)
would be the ticket, and since the rest of the ports settle for (x)...
Note that powerpc has this same problem and needs to be fixed!
|
|
htonl and friends.
|
|
machine dependent "short" and "long" integer. Correct and enhance manpage.
Change all short and longs to u_int16_t and u_int32_t, respectively.
OpenBSD RCSIds
|
|
|
|
|