aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mount.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-08-16 19:16:27 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-08-16 19:16:27 +0000
commit57bf258e3dc9e77a996e738e6bf3e894943970e2 (patch)
tree6c0a9710fd977c7f3055d78384c325bb09195b9e /sys/sys/mount.h
parentcee405ba2712660bd47480f9c304163545121639 (diff)
downloadsrc-57bf258e3dc9e77a996e738e6bf3e894943970e2.tar.gz
src-57bf258e3dc9e77a996e738e6bf3e894943970e2.zip
Fix all areas of the system (or at least all those in LINT) to avoid storing
socket addresses in mbufs. (Socket buffers are the one exception.) A number of kernel APIs needed to get fixed in order to make this happen. Also, fix three protocol families which kept PCBs in mbufs to not malloc them instead. Delete some old compatibility cruft while we're at it, and add some new routines in the in_cksum family.
Notes
Notes: svn path=/head/; revision=28270
Diffstat (limited to 'sys/sys/mount.h')
-rw-r--r--sys/sys/mount.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index 284ccaa3ec11..7e3b297576ac 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mount.h 8.21 (Berkeley) 5/20/95
- * $Id: mount.h,v 1.43 1997/07/16 18:04:52 dfr Exp $
+ * $Id: mount.h,v 1.44 1997/07/22 08:03:19 bde Exp $
*/
#ifndef _SYS_MOUNT_H_
@@ -334,7 +334,7 @@ struct vfsops {
int (*vfs_vget) __P((struct mount *mp, ino_t ino,
struct vnode **vpp));
int (*vfs_fhtovp) __P((struct mount *mp, struct fid *fhp,
- struct mbuf *nam, struct vnode **vpp,
+ struct sockaddr *nam, struct vnode **vpp,
int *exflagsp, struct ucred **credanonp));
int (*vfs_vptofh) __P((struct vnode *vp, struct fid *fhp));
int (*vfs_init) __P((struct vfsconf *));
@@ -426,7 +426,7 @@ int vfs_busy __P((struct mount *, int, struct simplelock *, struct proc *));
int vfs_export /* process mount export info */
__P((struct mount *, struct netexport *, struct export_args *));
struct netcred *vfs_export_lookup /* lookup host in fs export list */
- __P((struct mount *, struct netexport *, struct mbuf *));
+ __P((struct mount *, struct netexport *, struct sockaddr *));
void vfs_getnewfsid __P((struct mount *));
struct mount *vfs_getvfs __P((fsid_t *)); /* return vfs given fsid */
int vfs_mountedon __P((struct vnode *)); /* is a vfs mounted on vp */