The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.89 / (download) - annotate - [select for diffs], Tue Sep 20 02:23:37 2022 UTC (18 months, 4 weeks ago) by knakahara
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

Remove routes on an address removal if the routes referencing to the address.  Implemented by ozaki-r@n.o.

A route that has a gateway is on a connected route can be invalid if the
connected route is deleted, i.e., an associated address is removed.
Traditionally NetBSD doesn't sweep such a route on the address removal.  Sending
packets over the route fails with "No route to host".  Also the route holds an
orphan ifaddr as rt_ifa that is destructed say by in_purgeaddr.

If the same address is assgined again in such a state, there can be two
different ifaddr objects with the same address.  Until recently it's not a
big problem because we can send packets anyway.  However after MP-ification
of the network stack, we can't send packets because we strictly check if rt_ifa
(i.e., the (old) ifaddr) is valid.

This change automatically removes such routes on a removal of an associated
address to avoid keeping inconsistent routes.

Revision 1.88 / (download) - annotate - [select for diffs], Thu May 17 02:34:31 2018 UTC (5 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.87: +9 -5 lines
Diff to previous 1.87 (colored)

Default NFS mounts to using TCP transport instead of UDP.
PR kern/53166

Revision 1.87 / (download) - annotate - [select for diffs], Tue Nov 15 01:50:06 2016 UTC (7 years, 5 months ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.86: +6 -12 lines
Diff to previous 1.86 (colored)

Don't use rt_walktree to delete routes

Some functions use rt_walktree to scan the routing table and delete
matched routes. However, we shouldn't use rt_walktree to delete
routes because rt_walktree is recursive to the routing table (radix
tree) and isn't friendly to MP-ification. rt_walktree allows a caller
to pass a callback function to delete an matched entry. The callback
function is called from an API of the radix tree (rn_walktree) but
also calls an API of the radix tree to delete an entry.

This change adds a new API of the radix tree, rn_search_matched,
which returns a matched entry that is selected by a callback
function passed by a caller and the caller itself deletes the
entry. By using the API, we can avoid the recursive form.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:43 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.85 / (download) - annotate - [select for diffs], Thu May 21 02:04:22 2015 UTC (8 years, 11 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.84: +4 -4 lines
Diff to previous 1.84 (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.84 / (download) - annotate - [select for diffs], Sat May 9 15:22:47 2015 UTC (8 years, 11 months ago) by rtr
Branch: MAIN
Changes since 1.83: +4 -3 lines
Diff to previous 1.83 (colored)

change sosend() to accept sockaddr * instead of mbuf * for nam.

bump to 7.99.16

Revision 1.83 / (download) - annotate - [select for diffs], Fri Apr 3 20:01:07 2015 UTC (9 years ago) by rtr
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.82: +8 -12 lines
Diff to previous 1.82 (colored)

* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* update protocol bind implementations to use/expect sockaddr *
  instead of mbuf *
* introduce sockaddr_big struct for storage of addr data passed via
  sys_bind; sockaddr_big is of sufficient size and alignment to
  accommodate all addr data sizes received.
* modify sys_bind to allocate sockaddr_big instead of using an mbuf.
* bump kernel version to 7.99.9 for change to pr_bind() parameter type.

Patch posted to tech-net@
  http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html

The choice to use a new structure sockaddr_big has been retained since
changing sockaddr_storage size would lead to unnecessary ABI change. The
use of the new structure does not preclude future work that increases
the size of sockaddr_storage and at that time sockaddr_big may be
trivially replaced.

Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@

Revision 1.82 / (download) - annotate - [select for diffs], Fri Mar 27 07:18:11 2015 UTC (9 years ago) by hikaru
Branch: MAIN
Changes since 1.81: +4 -4 lines
Diff to previous 1.81 (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.81 / (download) - annotate - [select for diffs], Fri Oct 25 20:46:29 2013 UTC (10 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Mark a potentially unused variable

Revision 1.80 / (download) - annotate - [select for diffs], Mon Oct 4 23:48:22 2010 UTC (13 years, 6 months ago) by cyber
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, 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-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, 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: yamt-pagecache, tls-maxphys, rmind-smpnet, netbsd-6
Changes since 1.79: +52 -2 lines
Diff to previous 1.79 (colored)

Add support to honor MTU settings from DHCP during netboot.

Defines IP_MIN_MTU as 576.

Glanced over quickly by martin@ and joerg@.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Mar 4 06:56:25 2009 UTC (15 years, 1 month ago) by nisimura
Branch: MAIN
CVS Tags: 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-base10, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.78: +8 -6 lines
Diff to previous 1.78 (colored)

Update comments to reflect realities; the filenames were changed in 1997
and another one was added years ago.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:09 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.77: +4 -6 lines
Diff to previous 1.77 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.77 / (download) - annotate - [select for diffs], Mon Oct 27 13:24:01 2008 UTC (15 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: 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, 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
Changes since 1.76: +8 -3 lines
Diff to previous 1.76 (colored)

make this build again without having
NFS_BOOT_BOOTSTATIC, NFS_BOOT_BOOTP, NFS_BOOT_DHCP or NFS_BOOT_BOOTPARAM
defined.

I uncovered this case when compiling rump.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 27 10:58:22 2008 UTC (15 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.75: +8 -5 lines
Diff to previous 1.75 (colored)

change nfs boot behaviour to automatically try next boot method if boot information are incomplete to succeed.
That way, it is possible combine static and dhcp boot:
  For example, to boot diskless you can specify the nfs-server and the rootpath statically. All other information will be taken via dhcp.

Patch has been presented on port-xen, tech-kern and tech-net:
http://mail-index.netbsd.org/port-xen/2008/10/24/msg004488.html
http://mail-index.netbsd.org/tech-kern/2008/10/24/msg003255.html
http://mail-index.netbsd.org/tech-net/2008/10/24/msg000864.html

No comments, no objections.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Oct 24 17:17:12 2008 UTC (15 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.74: +23 -47 lines
Diff to previous 1.74 (colored)

- ansify function definition
- de- __P
- u_int32_t -> uint32_t

No functional changes.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Aug 6 15:01:23 2008 UTC (15 years, 8 months ago) by plunky
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, haad-dm-base1
Changes since 1.73: +12 -17 lines
Diff to previous 1.73 (colored)

Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.

approved by core

Revision 1.73 / (download) - annotate - [select for diffs], Thu May 22 00:57:09 2008 UTC (15 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Delete unnecessary cast to void *.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:10 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.71: +2 -9 lines
Diff to previous 1.71 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:39 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (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.70 / (download) - annotate - [select for diffs], Sat Apr 5 13:49:36 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

use aprint_*_dev and device_xname

Revision 1.69 / (download) - annotate - [select for diffs], Fri Aug 31 22:02:58 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, 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: mjf-devfs2
Changes since 1.68: +10 -11 lines
Diff to previous 1.68 (colored)

Use sockaddr_in_init() and ifreq_setaddr() to initialize a sockaddr_in
and an ifreq.ifr_addr, respectively.  Get rid of an extraneous
cast---down the elevator shaft!  Change 'ireq' to 'ifr', which is
what the kernel calls a temporary struct ifreq virtually everywhere
else.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jul 19 20:49:00 2007 UTC (16 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-mips64, matt-armv6, jmcneill-pm
Changes since 1.67: +12 -12 lines
Diff to previous 1.67 (colored)

Take steps to hide the radix_node implementation of the forwarding table
from the forwarding table's users:

        Introduce rt_walktree() for walking the routing table and
        applying a function to each rtentry.  Replace most
        rn_walktree() calls with it.

        Use rt_getkey()/rt_setkey() to get/set a route's destination.
        Keep a pointer to the sockaddr key in the rtentry, so that
        rtentry users do not have to grovel in the radix_node for
        the key.

        Add a RTM_GET method to rtrequest.  Use that instead of
        radix_node lookups in, e.g., carp(4).

Add sys/net/link_proto.c, which supplies sockaddr routines for
link-layer socket addresses (sockaddr_dl).

Cosmetic:

        Constify.  KNF.  Stop open-coding LIST_FOREACH, TAILQ_FOREACH,
        et cetera.  Use NULL instead of 0 for null pointers.  Use
        __arraycount().  Reduce gratuitous parenthesization.

        Stop using variadic arguments for rip6_output(), it is
        unnecessary.

        Remove the unnecessary rtentry member rt_genmask and the
        code to maintain it, since nothing actually used it.

        Make rt_maskedcopy() easier to read by using meaningful variable
        names.

        Extract a subroutine intern_netmask() for looking up a netmask in
        the masks table.

        Start converting backslash-ridden IPv6 macros in
        sys/netinet6/in6_var.h into inline subroutines that one
        can read without special eyeglasses.

One functional change: when the kernel serves an RTM_GET, RTM_LOCK,
or RTM_CHANGE request, it applies the netmask (if supplied) to a
destination before searching for it in the forwarding table.

I have changed sys/netinet/ip_carp.c, carp_setroute(), to remove
the unlawful radix_node knowledge.

Apart from the changes to carp(4), netiso, ATM, and strip(4), I
have run the changes on three nodes in my wireless routing testbed,
which involves IPv4 + IPv6 dynamic routing acrobatics, and it's
working beautifully so far.

Revision 1.67 / (download) - annotate - [select for diffs], Sat Jun 9 02:32:34 2007 UTC (16 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.66: +11 -14 lines
Diff to previous 1.66 (colored)

Cosmetic: de-__P() et cetera.

Revision 1.66 / (download) - annotate - [select for diffs], Tue May 8 09:29:50 2007 UTC (16 years, 11 months ago) by manu
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.65: +4 -2 lines
Diff to previous 1.65 (colored)

Fix buid (broken by a fix introduced in the wrong file...)

Revision 1.65 / (download) - annotate - [select for diffs], Tue May 8 06:10:28 2007 UTC (16 years, 11 months ago) by manu
Branch: MAIN
Changes since 1.64: +9 -3 lines
Diff to previous 1.64 (colored)

Add the TFTPROOT kernel option for TFTP'ing root RAMdisk at root mount time.
This allows working around situations where a kernel with embedded RAMdisk
cannot be booted by the bootloader because the RAMdisk is too big.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:36 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.63: +9 -9 lines
Diff to previous 1.63 (colored)

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

Revision 1.63 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:32 2006 UTC (18 years, 1 month ago) by yamt
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, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, 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, netbsd-4
Changes since 1.62: +2 -3 lines
Diff to previous 1.62 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:16 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.61: +43 -43 lines
Diff to previous 1.61 (colored)

merge ktrace-lwp.

Revision 1.61 / (download) - annotate - [select for diffs], Sat May 22 22:52:15 2004 UTC (19 years, 11 months ago) by jonathan
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, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.60: +23 -18 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Thu Mar 11 21:48:43 2004 UTC (20 years, 1 month ago) by cl
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
Changes since 1.59: +11 -2 lines
Diff to previous 1.59 (colored)

Add static nfs boot configuration, from the kernel config file or from
a driver selectable callback function.  This is used in the Xen port to
allow controlling  the domain's network setup from the domain building
environment at domain creation (vs. having to maintain/change this on a
dhcp server).  The Xen network driver parses a command line passed in
from the domain builder.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:14 2003 UTC (20 years, 9 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.58: +20 -20 lines
Diff to previous 1.58 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:16 2003 UTC (20 years, 9 months ago) by darrenr
Branch: MAIN
Changes since 1.57: +22 -22 lines
Diff to previous 1.57 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.57 / (download) - annotate - [select for diffs], Sat Nov 10 10:59:09 2001 UTC (22 years, 5 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored)

add RCSIDs

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jan 19 14:26:01 2001 UTC (23 years, 3 months ago) by enami
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Changes since 1.55: +5 -3 lines
Diff to previous 1.55 (colored)

Use tsleep instead of dalay; since we're mounting root, we can sleep
and no reason to use delay.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Dec 10 23:17:01 2000 UTC (23 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Make sobind() take a struct proc *. It already took curproc and
passed it down to the appropriate usrreq function, and this
allows usage for contexts that need to be explicitly different
from curproc (like in the NFS code when binding to a reserved port).

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 19 17:04:51 2000 UTC (23 years, 7 months ago) by bjh21
Branch: MAIN
Changes since 1.53: +6 -2 lines
Diff to previous 1.53 (colored)

New kernel option, NFS_V2_ONLY, which aims to reduce the NFS client to just
that required to support NFSv2 mounts.  Not finished yet, but already
provides some 44k of saving in code size on arm26.  More savings, and some
documentation, are still to come.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Mar 29 03:43:33 2000 UTC (24 years ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

Don't need to include <sys/conf.h> here.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 3 20:06:46 1999 UTC (24 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.51: +4 -1 lines
Diff to previous 1.51 (colored)

Wait some seconds after the interface is brought up before packets
are sent. Needed at least for if_ti to get the link up.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jul 7 21:29:29 1999 UTC (24 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

mount diskless root with "NFSMNT_NOCONN" (which is default in "mount_nfs"
for quite a while) to allow certain servers (multihomed, as our DEC NSE
cluster) to be used as root filesystem without special tweaks

Revision 1.50 / (download) - annotate - [select for diffs], Sun Feb 21 15:07:49 1999 UTC (25 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Changes since 1.49: +215 -25 lines
Diff to previous 1.49 (colored)

restructure the diskless NFS boot code to keep track of the used
interface and the address allocated, to roll everything back if the
mount fails:
-put an interface pointer into "struct nfs_diskless" to have it
 available for cleanup, don't pass it around anymore where the
 "struct nfs_diskless" is already passed
-add a "cleanup" function which shuts the interface down
-in the protocol-specific parts, either return with "everything
 ready" or "completely shut down"
-use common functions for interface initialization and shutdown
-add a function to delete all routes associate to an interface
 (why is this necessary and not done by ~IFF_UP?)
g/c diskless swap stuff
general cleanup

Revision 1.49 / (download) - annotate - [select for diffs], Sun Sep 13 13:49:29 1998 UTC (25 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Fix copyright spacing.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Aug 9 21:19:50 1998 UTC (25 years, 8 months ago) by perry
Branch: MAIN
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored)

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

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jun 13 14:13:25 1998 UTC (25 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Fix last change: If BOOTP/DHCP was successful, don't try RARP/BOOTPARAM.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jun 13 04:28:46 1998 UTC (25 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.45: +3 -10 lines
Diff to previous 1.45 (colored)

Clean up boogered gcc warning workaround (remove goto completely) and remove
a redundant `if'.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Apr 25 17:41:01 1998 UTC (26 years ago) by matt
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Adapt to new sosend/soreceive and upcall (now down in sowakeup)

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:27 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

Merge with Lite2 + local changes

Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 28 01:45:01 1998 UTC (26 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.42: +6 -2 lines
Diff to previous 1.42 (colored)

be a bit more clear about what protocols will be tried in the
BOOTP/DHCP case.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Jan 12 21:27:12 1998 UTC (26 years, 3 months ago) by scottr
Branch: MAIN
Changes since 1.41: +3 -5 lines
Diff to previous 1.41 (colored)

Consolidate NFS_BOOT_* options into opt_nfs_boot.h

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jan 11 05:55:40 1998 UTC (26 years, 3 months ago) by scottr
Branch: MAIN
Changes since 1.40: +4 -3 lines
Diff to previous 1.40 (colored)

Make NFS_BOOT_DHCP work as expected.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jan 9 15:10:37 1998 UTC (26 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.39: +23 -38 lines
Diff to previous 1.39 (colored)

Use new options "NFS_BOOT_BOOTP" and "NFS_BOOT_BOOTPARAM" for parts
conditional on a particular configuration method.
The global flags "nfs_boot_rfc951" and "nfs_boot_bootparam" control
independantly if the functions are actually called. (Previous meaning
of "nfs_boot_rfc951" was "either-or".)

Revision 1.39 / (download) - annotate - [select for diffs], Tue Sep 30 20:44:31 1997 UTC (26 years, 6 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.38: +158 -1 lines
Diff to previous 1.38 (colored)

Factor out some functions used by bootparam and DHCP boot.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 13 06:16:04 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Correct a comment regarding the sense of the nfs_boot_rfc951 global.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Sep 9 21:39:17 1997 UTC (26 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.36: +25 -15 lines
Diff to previous 1.36 (colored)

Move the call to nfs_boot_getfh() from nfs_vfsops.c to nfs_boot.c
(just for better isolation - it can now be static)

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 2 21:33:17 1997 UTC (26 years, 7 months ago) by gwr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.35: +6 -7 lines
Diff to previous 1.35 (colored)

Change test from NETHER to NARP (revarpwhoami is in if_arp.c)

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 29 16:12:50 1997 UTC (26 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.34: +134 -424 lines
Diff to previous 1.34 (colored)

Supporting changes for the new BOOTP support in nfs_mountroot.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 14 15:50:05 1997 UTC (26 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.33: +14 -4 lines
Diff to previous 1.33 (colored)

1. Allow to set a netmask (option NFS_BOOT_NETMASK) for the booting
   interface. Without this, NFS_BOOT_NETMASK could be useless in
   subnetting envirinment.
2. Comment out unneeded NFS swap related stuff.
   Closes PR kern/3918.

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 27 23:37:39 1997 UTC (26 years, 10 months ago) by gwr
Branch: MAIN
CVS Tags: marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.32: +103 -69 lines
Diff to previous 1.32 (colored)

Minor reorganization of nfs_mountroot code to simplify BOOTP support.
The RPC/bootparamd calls to get the root and swap paths are now done
in nfs_boot_init() instead of nfs_boot_getfh(), so the latter now just
does the RPC/mountd call.  Also changed some panics into error returns.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 17 17:41:45 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Add some missing "\n"'s.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 15 18:12:40 1997 UTC (27 years, 1 month ago) by is
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 31 02:57:31 1997 UTC (27 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Changes since 1.29: +15 -16 lines
Diff to previous 1.29 (colored)

- Don't look for a "suitable interface"; we're now given the name of the
  network interface to use.
- If any part of the NFS root mount process fails, don't panic.
  Simply return the appropriate error and let the caller recover.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 20 13:13:25 1996 UTC (27 years, 6 months ago) by fvdl
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.28: +93 -21 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Sun Oct 13 01:39:05 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.27: +9 -9 lines
Diff to previous 1.27 (colored)

revert kprintf changes

Revision 1.27 / (download) - annotate - [select for diffs], Thu Oct 10 23:31:19 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.26: +9 -9 lines
Diff to previous 1.26 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 7 02:51:25 1996 UTC (27 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 18 11:53:41 1996 UTC (28 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +9 -14 lines
Diff to previous 1.24 (colored)

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

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 16 15:18:19 1996 UTC (28 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.23: +10 -1 lines
Diff to previous 1.23 (colored)

Add stub for nfs_boot_getfh if NETHER==0

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 13 17:53:33 1996 UTC (28 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.22: +26 -15 lines
Diff to previous 1.22 (colored)

Do the RPC to bootparamd a little later (just before the mountd call)
so that we do not ask for the "swap" path when swapping on disk.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 10 22:55:16 1996 UTC (28 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 (colored)

Don't return EBADRPC if we have something else.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 9 21:48:22 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

nfs prototype changes

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 19 23:07:24 1995 UTC (28 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Mon Jun 12 00:48:31 1995 UTC (28 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Various cleanup, including:
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 23 00:14:06 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored)

don't blindly set IFF_UP; or it with old flags

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 20 01:52:52 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +9 -8 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 24 21:55:08 1995 UTC (29 years ago) by gwr
Branch: MAIN
Changes since 1.15: +76 -200 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 28 21:29:32 1995 UTC (29 years ago) by gwr
Branch: MAIN
Changes since 1.14: +18 -29 lines
Diff to previous 1.14 (colored)

Cosmetic changes suggested by Adam.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 18 05:51:22 1995 UTC (29 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Do the printf "root/swap on" elsewhere to avoid confusion.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 16 21:43:15 1995 UTC (29 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.12: +10 -5 lines
Diff to previous 1.12 (colored)

Working "config generic" support; from Theo.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 29 06:38:11 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.11: +8 -8 lines
Diff to previous 1.11 (colored)

fix a couple of obvious, painful endianness bugs introduced in last commit.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 26 16:42:33 1994 UTC (29 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.10: +87 -53 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Thu Aug 11 23:47:51 1994 UTC (29 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

char * --> caddr_t, where appropriate.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 11 22:25:35 1994 UTC (29 years, 8 months ago) by gwr
Branch: MAIN
Changes since 1.8: +6 -3 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Tue Jul 19 02:23:27 1994 UTC (29 years, 9 months ago) by gwr
Branch: MAIN
Changes since 1.7: +21 -16 lines
Diff to previous 1.7 (colored)

Fix the conditionally compiled code inside #ifdef NFS_BOOT_GATEWAY
and make some printf args use host byteorder.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 16 11:43:12 1994 UTC (29 years, 9 months ago) by paulus
Branch: MAIN
Changes since 1.6: +15 -1 lines
Diff to previous 1.6 (colored)

If we don't have ethernet, nfs_boot_init reduces to just a panic.
This is so I don't get an undefined symbol compiling a kernel with
NFSCLIENT but no ethernet.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 29 07:28:36 1994 UTC (29 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.5: +59 -56 lines
Diff to previous 1.5 (colored)

knf

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 29 06:42:07 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 21 08:30:20 1994 UTC (29 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.3: +12 -1 lines
Diff to previous 1.3 (colored)

Construct mountpath for remote root.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 13 15:28:59 1994 UTC (29 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.2: +490 -300 lines
Diff to previous 1.2 (colored)

New diskless boot code (uses RARP, bootparamd).

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 5 05:39:42 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)

lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 18 06:18:20 1994 UTC (30 years 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>