Whamcloud - gitweb
LU-7734 lnet: Add peer_ni and NI stats for DLC
[fs/lustre-release.git] / lnet / selftest / conrpc.h
index d9742cd..3ac7005 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * version 2 along with this program; If not, see
- * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
- *
- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
+ * http://www.gnu.org/licenses/gpl-2.0.html
  *
  * GPL HEADER END
  */
@@ -112,7 +108,7 @@ typedef struct lstcon_rpc_trans {
 
 typedef int (* lstcon_rpc_cond_func_t)(int, struct lstcon_node *, void *);
 typedef int (*lstcon_rpc_readent_func_t)(int, srpc_msg_t *,
-                                        lstcon_rpc_ent_t __user *);
+                                        struct lstcon_rpc_ent __user *);
 
 int  lstcon_sesrpc_prep(struct lstcon_node *nd, int transop,
                        unsigned version, lstcon_rpc_t **crpc);
@@ -132,7 +128,7 @@ int  lstcon_rpc_trans_ndlist(struct list_head *ndlist,
                             void *arg, lstcon_rpc_cond_func_t condition,
                             lstcon_rpc_trans_t **transpp);
 void lstcon_rpc_trans_stat(lstcon_rpc_trans_t *trans,
-                          lstcon_trans_stat_t *stat);
+                          struct lstcon_trans_stat *stat);
 int  lstcon_rpc_trans_interpreter(lstcon_rpc_trans_t *trans,
                                  struct list_head __user *head_up,
                                  lstcon_rpc_readent_func_t readent);