Whamcloud - gitweb
LU-13837 lnet: Introduce constant for net ID of LNET_NID_ANY
[fs/lustre-release.git] / lnet / include / uapi / linux / lnet / lnet-types.h
index d9cb63a..2a478ef 100644 (file)
@@ -110,6 +110,8 @@ static inline __u32 LNET_MKNET(__u32 type, __u32 num)
 /** The lolnd NID (i.e. myself) */
 #define LNET_NID_LO_0 LNET_MKNID(LNET_MKNET(LOLND, 0), 0)
 
+#define LNET_NET_ANY LNET_NIDNET(LNET_NID_ANY)
+
 #define WIRE_ATTR      __attribute__((packed))
 
 /* Packed version of struct lnet_process_id to transfer via network */