summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/net/htons.S
Commit message (Collapse)AuthorAgeFilesLines
* Instead of re-implementing hton[ls] and friends for each arch, add a new MIcognet2006-11-061-50/+0
| | | | | | | file, net/ntoh.c, which just implement them using the inline functions from <sys/endian.h>. Suggested by: bde
* Restore CSRG ID's lost in January 1995.obrien2002-03-231-6/+5
|
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* De-orbit DEFS.h - the other arches do not use it, and it got replacedpeter2001-10-241-1/+1
| | | | | | with <machine/asm.h>. Reviewed by: bde
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-131-2/+0
|
* $Id$ -> $FreeBSD$peter1999-08-281-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* First round of changes to clean up the RCSID mess in libc:dg1995-01-231-3/+6
| | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright.
* First crack at making libc work with the new make macros. It compiles onwollman1994-08-051-0/+48
my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
OpenPOWER on IntegriCloud