drochner
34f6ce854a
Use functions (shared with DHCP boot) in nfs_boot.c.
1997-09-30 20:46:17 +00:00
gwr
2f81e6c9c1
Supporting changes for the new BOOTP support in nfs_mountroot.
1997-08-29 16:12:49 +00:00
fvdl
735944405b
Enhancements from Matthias Drochner:
...
- Try V3 first for diskless booting. Fall back to V2 if V3 fails.
- optionally (option NFS_BOOT_TCP) try a TCP mount first
for diskless booting. Fall back to UDP if it fails.
- Enable switching between UDP and TCP for remounts.
1996-10-20 13:13:22 +00:00
christos
bcf4552fb1
revert kprintf changes
1996-10-13 01:39:03 +00:00
christos
117a51c5a5
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:31:17 +00:00
thorpej
5404d54edb
Another %lx -> %x for ntohl()
1996-08-14 03:47:42 +00:00
cgd
2af08e028e
print result of ntohl/htonl as a long.
1996-07-10 18:43:23 +00:00
cgd
d73abf41aa
avoid unnecessary checks of m_get/MGET/etc.'s return values. When
...
they're called with M_WAIT, they are defined to never return NULL.
1996-06-14 22:21:12 +00:00
cgd
d9d0cc229c
fix two bugs (the latter potentially fatal) in xdr_string_encode():
...
(1) if length needed was > MCLBYTES, an mbuf would be lost, and
(2) the wrong check was being used to determine if MCLGET succeeded.
1996-06-07 00:48:10 +00:00
fvdl
5ac7df1caf
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
1996-02-18 11:53:36 +00:00
cgd
3e0efb4d89
changes to make this work on systems where pointers & longs are 64 bits.
...
This is mostly just changes to make the stuff that goes over the wire
use fixed-size types.
1995-12-19 23:07:11 +00:00
gwr
19969f2fe2
Use RPCAUTH_UNIX in requests to please picky NFS servers.
1995-08-08 20:43:43 +00:00
mycroft
f6ff0fba6d
Use fxdr_*() and txdr_*() macros to do byte order conversions.
1995-05-20 01:52:49 +00:00
gwr
d73db495da
Fixed RPC code to deal with RPC messages larger than one mbuf.
1995-04-24 21:54:56 +00:00
gwr
62f18b1dda
Do the first BOOTPARAM RPC call to the broadcast address instead of
...
using the address of the RARP server because a BOOTPARAM server
might not be running on the machine that sent the RARP reply.
1994-09-26 16:42:29 +00:00
cgd
c4b592cd82
fix typo
1994-08-12 04:31:51 +00:00
gwr
38cca96798
Diskless boot will now bind the local socket to a reserved port to
...
satisfy picky servers. Also fix some missing initializations.
(Thanks to Chuck Cranor for PR#394 -- now fixed.)
1994-08-11 22:25:32 +00:00
pk
4070698468
error codes are in network order too.
1994-06-30 10:45:03 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
gwr
0784b58d30
New diskless boot code (uses RARP, bootparamd).
1994-06-13 15:28:55 +00:00
glass
a3b042140f
revised nfs diskless support. uses bootp+rpc to gather parameters
1994-04-18 06:18:05 +00:00