Lines Matching refs:msg_set_bits
144 static inline void msg_set_bits(struct tipc_msg *m, u32 w, in msg_set_bits() function
171 msg_set_bits(m, 0, 29, 7, TIPC_VERSION); in msg_set_version()
186 msg_set_bits(m, 0, 25, 0xf, n); in msg_set_user()
196 msg_set_bits(m, 0, 21, 0xf, n>>2); in msg_set_hdr_sz()
216 msg_set_bits(m, 0, 20, 1, n); in msg_set_non_seq()
226 msg_set_bits(m, 0, 19, 1, d); in msg_set_dest_droppable()
236 msg_set_bits(m, 0, 18, 1, d); in msg_set_src_droppable()
264 msg_set_bits(m, 1, 29, 0x7, n); in msg_set_type()
289 msg_set_bits(m, 1, 25, 0xf, err); in msg_set_errcode()
299 msg_set_bits(m, 1, 21, 0xf, msg_reroute_cnt(m) + 1); in msg_incr_reroute_cnt()
304 msg_set_bits(m, 1, 21, 0xf, 0); in msg_reset_reroute_cnt()
314 msg_set_bits(m, 1, 19, 0x3, n); in msg_set_lookup_scope()
324 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_bcast_ack()
338 msg_set_bits(m, 2, 16, 0xffff, n); in msg_set_ack()
348 msg_set_bits(m, 2, 0, 0xffff, n); in msg_set_seqno()
370 msg_set_bits(m, 9, 0, 0x7, i); in msg_set_importance()
539 msg_set_bits(m, 1, 16, 0x1fff, n); in msg_set_seq_gap()
549 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_node_sig()
559 msg_set_bits(m, 1, 15, 0x1fff, n); in msg_set_node_capabilities()
582 msg_set_bits(m, 2, 16, 0xffff, n); in msg_set_bcgap_after()
592 msg_set_bits(m, 2, 0, 0xffff, n); in msg_set_bcgap_to()
611 msg_set_bits(m, 4, 16, 0xffff, n); in msg_set_last_bcast()
616 msg_set_bits(m, 4, 16, 0xffff, n); in msg_set_fragm_no()
627 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_next_sent()
632 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_long_msgno()
652 msg_set_bits(m, 4, 0, 1, n); in msg_set_link_selector()
665 msg_set_bits(m, 5, 16, 0xffff, n); in msg_set_session()
675 msg_set_bits(m, 5, 0, 1, val); in msg_set_probe()
685 msg_set_bits(m, 5, 1, 7, (n - 'A')); in msg_set_net_plane()
695 msg_set_bits(m, 5, 4, 0x1f, n); in msg_set_linkprio()
705 msg_set_bits(m, 5, 9, 0x7, n); in msg_set_bearer_id()
715 msg_set_bits(m, 5, 12, 0x1, r); in msg_set_redundant_link()
733 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_msgcnt()
743 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_bcast_tag()
753 msg_set_bits(m, 9, 16, 0xffff, (n / 4)); in msg_set_max_pkt()
763 msg_set_bits(m, 9, 0, 0xffff, n); in msg_set_link_tolerance()