diff options
Diffstat (limited to 'net/tipc/msg.h')
| -rw-r--r-- | net/tipc/msg.h | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/net/tipc/msg.h b/net/tipc/msg.h index a4e944d59394..a2879e6ec5b6 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)  	msg_set_bits(m, 0, 20, 1, n);  } +static inline int msg_is_syn(struct tipc_msg *m) +{ +	return msg_bits(m, 0, 17, 1); +} + +static inline void msg_set_syn(struct tipc_msg *m, u32 d) +{ +	msg_set_bits(m, 0, 17, 1, d); +} +  static inline int msg_dest_droppable(struct tipc_msg *m)  {  	return msg_bits(m, 0, 19, 1); @@ -970,6 +980,7 @@ bool tipc_msg_pskb_copy(u32 dst, struct sk_buff_head *msg,  			struct sk_buff_head *cpy);  void __tipc_skb_queue_sorted(struct sk_buff_head *list, u16 seqno,  			     struct sk_buff *skb); +bool tipc_msg_skb_clone(struct sk_buff_head *msg, struct sk_buff_head *cpy);  static inline u16 buf_seqno(struct sk_buff *skb)  { | 
