Merge tag 'powerpc-5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git] / net / tipc / msg.h
index 6d466eb..871fead 100644 (file)
@@ -394,6 +394,11 @@ static inline u32 msg_connected(struct tipc_msg *m)
        return msg_type(m) == TIPC_CONN_MSG;
 }
 
+static inline u32 msg_direct(struct tipc_msg *m)
+{
+       return msg_type(m) == TIPC_DIRECT_MSG;
+}
+
 static inline u32 msg_errcode(struct tipc_msg *m)
 {
        return msg_bits(m, 1, 25, 0xf);