summaryrefslogtreecommitdiffstats
path: root/lib/libstand/net.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r297147, r297148, r297149, r297150, r297151:ian2016-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* Increase maximum network timeout from 20s to 120s. Given that an ETIMEDOUTemaste2010-09-281-1/+1
| | | | | return from sendrecv probably means a failure to boot we might as well be generous in the timeout period.
* Remove California Regent's clause 3, per letterimp2007-01-091-4/+0
|
* Don't always enable debugging for the network device code.benno2000-11-101-2/+0
| | | | Reviewed by: obrien
* Add support to send the string 'PXEClient' as the Vendor classps2000-08-111-1/+1
| | | | | | identifier to the DHCP server. Now you can check for this string in your dhcp configuration to decide whether you will hand out a lease to the client or not.
* Cleanup warnings by adding missint prototypes, removing unneeded duplicatejhb2000-08-031-0/+5
| | | | | | | prototypes, and adding in several 'const's. Also, add some missing $FreeBSD$'s. Found by: BDECFLAGS
* This is libstand; a support library for standalone executables (eg. bootstrapmsmith1998-08-201-0/+122
modules). Obtained from: NetBSD, with some architectural changes and many additions.
OpenPOWER on IntegriCloud