Commit Graph

8 Commits

Author SHA1 Message Date
cgd
98a0fb0a16 fix a typo: take and cast a pointer to the argument, rather than trying
to cast the argument to a pointer.
1996-10-17 01:39:40 +00:00
christos
858f971050 in_addr_t and in_port_t changes 1996-10-13 04:08:34 +00:00
cgd
0351ca5efa Add some casts so that we're not bitten by type promotions on 64-bit
systems.  Not a great concern since the only 64-bit system currently
supported by NetBSD (Alpha) uses assembly versions of these routines.
1996-05-29 23:23:27 +00:00
jtc
528957a005 Winning Strategies has placed this code into the Public Domain 1995-04-28 23:19:22 +00:00
cgd
32b5bdd221 use NetBSD rather than ID 1995-02-25 03:34:50 +00:00
cgd
bf8067b9da maybe they should actually... WORK! 1994-10-19 03:27:52 +00:00
jtc
e2c220f94b Fix spelling error in Copyright notice 1994-01-28 20:34:33 +00:00
jtc
53229bead2 Provide C language versions of the netorder functions.
These may be "good enough" for big-endian systems that do not have assembly
language versions of their own.  A compiler should be able to do a fairly
good job optimising them, it probably won't be smart enough to omit the
stack frame, but then again, these functions won't be called unless the
macro versions are undef'd.
On the other hand, they are only intended for bootstrap purposes on little-
endian systems.  They should be replaced with assembly language versions as
soon as possible.
1993-08-31 19:00:11 +00:00