Whamcloud - gitweb
LU-10391 lnet: switch LNetIsPeerLocal() to take 16-byte addr
[fs/lustre-release.git] / lnet / include / lnet / api.h
index 382d3f8..ca04543 100644 (file)
@@ -77,7 +77,7 @@ int LNetNIFini(void);
 int LNetGetId(unsigned int index, struct lnet_processid *id);
 int LNetDist(struct lnet_nid *nid, struct lnet_nid *srcnid, __u32 *order);
 void LNetPrimaryNID(struct lnet_nid *nid);
-bool LNetIsPeerLocal(lnet_nid_t nid);
+bool LNetIsPeerLocal(struct lnet_nid *nid);
 
 /** @} lnet_addr */
 
@@ -144,13 +144,13 @@ int LNetPut(struct lnet_nid               *self,
            unsigned int                offset_in,
            __u64                       hdr_data_in);
 
-int LNetGet(lnet_nid_t       self,
-           struct lnet_handle_md md_in,
-           struct lnet_process_id target_in,
-           unsigned int      portal_in,
-           __u64             match_bits_in,
-           unsigned int      offset_in,
-           bool              recovery);
+int LNetGet(struct lnet_nid            *self,
+           struct lnet_handle_md       md_in,
+           struct lnet_processid       *target_in,
+           unsigned int                portal_in,
+           __u64                       match_bits_in,
+           unsigned int                offset_in,
+           bool                        recovery);
 /** @} lnet_data */