aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/amd64/net/ntohl.S
Commit message (Collapse)AuthorAgeFilesLines
* Instead of re-implementing hton[ls] and friends for each arch, add a new MIOlivier Houchard2006-11-061-50/+0
| | | | | | | | | | file, net/ntoh.c, which just implement them using the inline functions from <sys/endian.h>. Suggested by: bde Notes: svn path=/head/; revision=164053
* Update for AMD64 (repocopied from i386/net). We can depend on havingPeter Wemm2003-04-301-4/+2
| | | | | | | | the bswap instruction (yay!). Update for register parameter passing instead of i386 style stack based param passing. Notes: svn path=/head/; revision=114307
* Restore CSRG ID's lost in January 1995.David E. O'Brien2002-03-231-6/+5
| | | | Notes: svn path=/head/; revision=92999
* o Move NTOHL() and associated macros into <sys/param.h>. These areMike Barcroft2002-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 Notes: svn path=/head/; revision=90868
* De-orbit DEFS.h - the other arches do not use it, and it got replacedPeter Wemm2001-10-241-1/+1
| | | | | | | | | with <machine/asm.h>. Reviewed by: bde Notes: svn path=/head/; revision=85437
* Removed duplicate VCS ID tags, as per style(9).Ruslan Ermilov2001-08-131-2/+0
| | | | Notes: svn path=/head/; revision=81586
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-2/+2
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* First round of changes to clean up the RCSID mess in libc:David Greenman1995-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. Notes: svn path=/head/; revision=5790
* First crack at making libc work with the new make macros. It compiles onGarrett Wollman1994-08-051-0/+50
my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge. Notes: svn path=/head/; revision=1849