Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 14:53:28 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 42400 for review
Message-ID:  <200311142253.hAEMrSho081702@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42400

Change 42400 by peter@peter_daintree on 2003/11/14 14:53:14

	avoid futzing around with alfred's changes for now.

Affected files ...

.. //depot/projects/hammer/sys/nfsclient/krpc_subr.c#6 edit

Differences ...

==== //depot/projects/hammer/sys/nfsclient/krpc_subr.c#6 (text+ko) ====

@@ -98,7 +98,7 @@
 	struct	auth_info rpc_verf;
 };
 
-struct rpc_reply {
+struct krpc_reply {
 	u_int32_t rp_xid;		/* request transaction id */
 	int32_t  rp_direction;		/* call direction (1) */
 	int32_t  rp_astatus;		/* accept status (0: accepted) */
@@ -195,7 +195,7 @@
 	struct sockaddr *from;
 	struct mbuf *m, *nam, *mhead;
 	struct rpc_call *call;
-	struct rpc_reply *reply;
+	struct krpc_reply *reply;
 	struct sockopt sopt;
 	struct timeval tv;
 	struct uio auio;
@@ -372,7 +372,7 @@
 				continue;
 			if (m->m_len < MIN_REPLY_HDR)
 				continue;
-			reply = mtod(m, struct rpc_reply *);
+			reply = mtod(m, struct krpc_reply *);
 
 			/* Is it the right reply? */
 			if (reply->rp_direction != txdr_unsigned(RPC_REPLY))
@@ -421,7 +421,7 @@
 			goto out;
 		}
 	}
-	reply = mtod(m, struct rpc_reply *);
+	reply = mtod(m, struct krpc_reply *);
 	if (reply->rp_auth.authtype != 0) {
 		len += fxdr_unsigned(u_int32_t, reply->rp_auth.authlen);
 		len = (len + 3) & ~3; /* XXX? */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311142253.hAEMrSho081702>