The NetBSD Project

CVS log for src/sys/nfs/krpc_subr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / nfs

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.42 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:16 2016 UTC (4 years, 7 months ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-futex-base, thorpej-futex, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.

Revision 1.41 / (download) - annotate - [select for diffs], Thu May 21 02:04:22 2015 UTC (5 years, 7 months ago) by rtr
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.40: +7 -11 lines
Diff to previous 1.40 (colored)

change nfs_boot_sendrecv to take sockaddr_in * instead of mbuf *

fixes m_serv (single mbuf leak) leak in kern/subr_tftproot.c

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 9 18:12:19 2015 UTC (5 years, 8 months ago) by rtr
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

when calling nfs_boot_sendrecv pass NULL for pointers instead of 0

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 27 07:18:11 2015 UTC (5 years, 9 months ago) by hikaru
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.38: +6 -5 lines
Diff to previous 1.38 (colored)

m_pullup() is called in rcvproc callback functions,
so nfs_boot_sendrecv() should keep track of the head of mbuf chain.
fixes kern/48746

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 6 19:03:30 2015 UTC (5 years, 10 months ago) by maxv
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Fix uninitialized variable.

Found by The Brainy Code Scanner in FreeBSD.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Mar 15 17:20:09 2009 UTC (11 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb, netbsd-7, netbsd-6
Changes since 1.36: +3 -5 lines
Diff to previous 1.36 (colored)

ansify function definitions

Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:25 2009 UTC (11 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.35: +15 -22 lines
Diff to previous 1.35 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:24 2009 UTC (11 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.34: +3 -5 lines
Diff to previous 1.34 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:11 2009 UTC (11 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:39 2008 UTC (12 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:36 2007 UTC (13 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Apr 15 01:25:54 2006 UTC (14 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Coverity CID 2445: Only set from_p if we succeed so that we free it on error.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:16 2005 UTC (15 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.29: +10 -10 lines
Diff to previous 1.29 (colored)

merge ktrace-lwp.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Feb 26 22:39:50 2005 UTC (15 years, 10 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

nuke trailing whitespace

Revision 1.28 / (download) - annotate - [select for diffs], Sat May 22 22:52:15 2004 UTC (16 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.27: +11 -8 lines
Diff to previous 1.27 (colored)

Eliminate several uses of `curproc' from the socket-layer code and from NFS.

Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded  by Matt Thomas.

Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize.   Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.

Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.

Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Feb 26 06:31:18 2003 UTC (17 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Sep 22 19:15:09 2002 UTC (18 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.25: +2 -4 lines
Diff to previous 1.25 (colored)

don't seem to need <sys/conf.h> or <net/if.h> here

Revision 1.25 / (download) - annotate - [select for diffs], Sat Nov 10 10:59:08 2001 UTC (19 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

add RCSIDs

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 12 15:17:28 2001 UTC (19 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, kqueue
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

receive, not recieve

Revision 1.23 / (download) - annotate - [select for diffs], Sun Aug 9 21:19:49 1998 UTC (22 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej_scsipi, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: nathanw_sa
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:27 1998 UTC (22 years, 10 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

Merge with Lite2 + local changes

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 30 20:46:17 1997 UTC (23 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.20: +77 -152 lines
Diff to previous 1.20 (colored)

Use functions (shared with DHCP boot) in nfs_boot.c.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 29 16:12:49 1997 UTC (23 years, 4 months ago) by gwr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.19: +116 -83 lines
Diff to previous 1.19 (colored)

Supporting changes for the new BOOTP support in nfs_mountroot.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Oct 20 13:13:24 1996 UTC (24 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, marc-pcmcia-bp, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.18: +7 -5 lines
Diff to previous 1.18 (colored)

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.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Oct 13 01:39:03 1996 UTC (24 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored)

revert kprintf changes

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 10 23:31:17 1996 UTC (24 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 14 03:47:42 1996 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Another %lx -> %x for ntohl()

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 10 18:43:23 1996 UTC (24 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

print result of ntohl/htonl as a long.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 14 22:22:24 1996 UTC (24 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.13: +7 -22 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 7 00:48:10 1996 UTC (24 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.12: +8 -5 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 18 11:53:36 1996 UTC (24 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Bring in a merge of Rick Macklem's NFSv3 code from Lite2

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 19 23:07:19 1995 UTC (25 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.10: +13 -13 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Aug 8 20:43:43 1995 UTC (25 years, 5 months ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.9: +32 -15 lines
Diff to previous 1.9 (colored)

Use RPCAUTH_UNIX in requests to please picky NFS servers.

Revision 1.9 / (download) - annotate - [select for diffs], Sat May 20 01:52:49 1995 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +37 -35 lines
Diff to previous 1.8 (colored)

Use fxdr_*() and txdr_*() macros to do byte order conversions.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 24 21:55:05 1995 UTC (25 years, 9 months ago) by gwr
Branch: MAIN
Changes since 1.7: +193 -70 lines
Diff to previous 1.7 (colored)

Fixed RPC code to deal with RPC messages larger than one mbuf.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 26 16:42:31 1994 UTC (26 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.6: +84 -57 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 12 04:31:51 1994 UTC (26 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

fix typo

Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 11 22:25:32 1994 UTC (26 years, 5 months ago) by gwr
Branch: MAIN
Changes since 1.4: +30 -2 lines
Diff to previous 1.4 (colored)

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.)

Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 30 10:45:03 1994 UTC (26 years, 6 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.3: +6 -2 lines
Diff to previous 1.3 (colored)

error codes are in network order too.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 29 06:42:02 1994 UTC (26 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 13 15:28:55 1994 UTC (26 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.1: +73 -41 lines
Diff to previous 1.1 (colored)

New diskless boot code (uses RARP, bootparamd).

Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 18 06:18:19 1994 UTC (26 years, 9 months ago) by glass
Branch: MAIN

revised nfs diskless support.  uses bootp+rpc to gather parameters

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>