summaryrefslogtreecommitdiffstats
path: root/lib/libc/sparc64/net
Commit message (Collapse)AuthorAgeFilesLines
* Use FBSDIDobrien2002-06-304-28/+8
|
* htonl() and ntohl() operate on unsinged types, so they must zero-extend,tmm2002-04-062-2/+2
| | | | | not sign-extend. Fix a comment in the former to that effect, and change the latter over to do the right conversion.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-184-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* Add more libc stuff.jake2001-11-185-0/+242
| | | | Obtained from: netbsd
* Minimal libc for sparc64.jake2001-10-261-0/+1
Reviewed by: obrien
OpenPOWER on IntegriCloud