summaryrefslogtreecommitdiffstats
path: root/lib/libstand/bswap.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r297147, r297148, r297149, r297150, r297151:ian2016-05-311-57/+0
| | | | | | | | | | | | | | | | | | | | | | | Make both the loader and kernel use the interface-mtu option if the dhcp server provides it. Made up of these (semi-)related changes... [kernel...] If the dhcp server provides an interface-mtu option, parse the value and set that mtu on the interface. [libstand...] Garbage collect the bswap routines from libstand, use sys/endian.h. If the dhcp server delivers an interface-mtu option, parse it and store the value in a new global intf_mtu for use by the application. [loader...] If the dhcp server provided an interface-mtu option, transcribe the value to the boot.netif.mtu env var, which will be picked up by pre-existing code in nfs_mountroot() and used to configure the interface accordingly. PR: 187094
* Consitently use "__LP64__".obrien2012-05-241-1/+1
| | | | | [there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/), and 11 _LP64's]
* Obtain bswap64() function implementation fromrodrigc2011-06-101-10/+26
| | | | | | version 1.3 of src/common/lib/libc/gen/bswap64.c in NetBSD. Obtained from: NetBSD
* Switch to ANSI function prototypes in a few places.rodrigc2011-05-031-4/+5
| | | | Get rid of some unused parameter warnings.
* Add __FBSDID()s to libstanddillon2001-09-301-0/+3
|
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+37
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud