]> Git Repo - linux.git/blobdiff - net/tipc/msg.h
Disable router anycast address for /127 prefixes
[linux.git] / net / tipc / msg.h
index a58975ced222c6902de966cbc439e2e81507bf5a..d93178f2e852eb0c77344d7ba3e29aa616dcce20 100644 (file)
  * Message header sizes
  */
 
-#define SHORT_H_SIZE              24   /* Connected, in-cluster messages */
-#define DIR_MSG_H_SIZE            32   /* Directly addressed messages */
-#define LONG_H_SIZE               40   /* Named messages */
-#define MCAST_H_SIZE              44   /* Multicast messages */
+#define SHORT_H_SIZE              24   /* In-cluster basic payload message */
+#define BASIC_H_SIZE              32   /* Basic payload message */
+#define NAMED_H_SIZE              40   /* Named payload message */
+#define MCAST_H_SIZE              44   /* Multicast payload message */
 #define INT_H_SIZE                40   /* Internal messages */
 #define MIN_H_SIZE                24   /* Smallest legal TIPC header size */
 #define MAX_H_SIZE                60   /* Largest possible TIPC header size */
@@ -357,7 +357,7 @@ static inline void msg_set_mc_netid(struct tipc_msg *m, u32 p)
 
 static inline int msg_short(struct tipc_msg *m)
 {
-       return msg_hdr_sz(m) == 24;
+       return msg_hdr_sz(m) == SHORT_H_SIZE;
 }
 
 static inline u32 msg_orignode(struct tipc_msg *m)
This page took 0.035098 seconds and 4 git commands to generate.