diff options
Diffstat (limited to 'net/tipc/msg.h')
-rw-r--r-- | net/tipc/msg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/tipc/msg.h b/net/tipc/msg.h index a4e944d59394..cd64d7b2a0fe 100644 --- a/net/tipc/msg.h +++ b/net/tipc/msg.h | |||
@@ -216,6 +216,16 @@ static inline void msg_set_non_seq(struct tipc_msg *m, u32 n) | |||
216 | msg_set_bits(m, 0, 20, 1, n); | 216 | msg_set_bits(m, 0, 20, 1, n); |
217 | } | 217 | } |
218 | 218 | ||
219 | static inline int msg_is_syn(struct tipc_msg *m) | ||
220 | { | ||
221 | return msg_bits(m, 0, 17, 1); | ||
222 | } | ||
223 | |||
224 | static inline void msg_set_syn(struct tipc_msg *m, u32 d) | ||
225 | { | ||
226 | msg_set_bits(m, 0, 17, 1, d); | ||
227 | } | ||
228 | |||
219 | static inline int msg_dest_droppable(struct tipc_msg *m) | 229 | static inline int msg_dest_droppable(struct tipc_msg *m) |
220 | { | 230 | { |
221 | return msg_bits(m, 0, 19, 1); | 231 | return msg_bits(m, 0, 19, 1); |