Lines Matching +full:0 +full:xffff

64 #define TIPC_CONN_MSG           0
146 #define TIPC_SKB_CB(__skb) ((struct tipc_skb_cb *)&((__skb)->cb[0]))
158 * --> Gap ACK blocks: <4, 5>, <11, 1>, <15, 4>, <20, 0>
173 * 31 16 15 0
230 * Word 0
234 return msg_bits(m, 0, 29, 7); in msg_version()
239 msg_set_bits(m, 0, 29, 7, TIPC_VERSION); in msg_set_version()
244 return msg_bits(m, 0, 25, 0xf); in msg_user()
254 msg_set_bits(m, 0, 25, 0xf, n); in msg_set_user()
259 return msg_bits(m, 0, 21, 0xf) << 2; in msg_hdr_sz()
264 msg_set_bits(m, 0, 21, 0xf, n>>2); in msg_set_hdr_sz()
269 return msg_bits(m, 0, 0, 0x1ffff); in msg_size()
284 return msg_bits(m, 0, 20, 1); in msg_non_seq()
289 msg_set_bits(m, 0, 20, 1, n); in msg_set_non_seq()
294 return msg_bits(m, 0, 17, 1); in msg_is_syn()
299 msg_set_bits(m, 0, 17, 1, d); in msg_set_syn()
304 return msg_bits(m, 0, 19, 1); in msg_dest_droppable()
309 msg_set_bits(m, 0, 19, 1, d); in msg_set_dest_droppable()
314 return msg_bits(m, 0, 19, 1); in msg_is_keepalive()
319 msg_set_bits(m, 0, 19, 1, d); in msg_set_is_keepalive()
324 return msg_bits(m, 0, 18, 1); in msg_src_droppable()
329 msg_set_bits(m, 0, 18, 1, d); in msg_set_src_droppable()
334 return msg_bits(m, 0, 18, 1); in msg_ack_required()
339 msg_set_bits(m, 0, 18, 1, 1); in msg_set_ack_required()
344 return msg_bits(m, 0, 18, 1); in msg_nagle_ack()
349 msg_set_bits(m, 0, 18, 1, 1); in msg_set_nagle_ack()
354 return msg_bits(m, 0, 18, 0x1); in msg_is_rcast()
359 msg_set_bits(m, 0, 18, 0x1, d); in msg_set_is_rcast()
364 m->hdr[0] = htonl((msg_word(m, 0) & ~0x1ffff) | sz); in msg_set_size()
382 return msg_bits(m, 1, 29, 0x7); in msg_type()
387 msg_set_bits(m, 1, 29, 0x7, n); in msg_set_type()
427 return msg_bits(m, 1, 25, 0xf); in msg_errcode()
432 msg_set_bits(m, 1, 25, 0xf, err); in msg_set_errcode()
437 msg_set_bits(m, 1, 28, 0x1, 1); in msg_set_bulk()
442 return msg_bits(m, 1, 28, 0x1); in msg_is_bulk()
447 msg_set_bits(m, 1, 27, 0x1, 1); in msg_set_last_bulk()
452 return msg_bits(m, 1, 27, 0x1); in msg_is_last_bulk()
457 msg_set_bits(m, 1, 26, 0x1, 1); in msg_set_non_legacy()
462 return !msg_bits(m, 1, 26, 0x1); in msg_is_legacy()
467 return msg_bits(m, 1, 21, 0xf); in msg_reroute_cnt()
472 msg_set_bits(m, 1, 21, 0xf, msg_reroute_cnt(m) + 1); in msg_incr_reroute_cnt()
477 return msg_bits(m, 1, 19, 0x3); in msg_lookup_scope()
482 msg_set_bits(m, 1, 19, 0x3, n); in msg_set_lookup_scope()
487 return msg_bits(m, 1, 0, 0xffff); in msg_bcast_ack()
492 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_bcast_ack()
500 return msg_bits(m, 1, 16, 0x1); in msg_dest_session_valid()
505 msg_set_bits(m, 1, 16, 0x1, valid); in msg_set_dest_session_valid()
510 return msg_bits(m, 1, 0, 0xffff); in msg_dest_session()
515 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_dest_session()
523 return msg_bits(m, 2, 16, 0xffff); in msg_ack()
528 msg_set_bits(m, 2, 16, 0xffff, n); in msg_set_ack()
533 return msg_bits(m, 2, 0, 0xffff); in msg_seqno()
538 msg_set_bits(m, 2, 0, 0xffff, n); in msg_set_seqno()
551 return msg_bits(m, 9, 0, 0x7); in msg_importance()
560 msg_set_bits(m, 9, 0, 0x7, i); in msg_set_importance()
591 return msg_bits(m, 4, 0, 0xffff); in msg_named_seqno()
596 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_named_seqno()
693 #define CONN_PROBE 0
700 #define PUBLICATION 0
706 #define FIRST_FRAGMENT 0
713 #define STATE_MSG 0
720 #define SYNCH_MSG 0
726 #define DSC_REQ_MSG 0
734 #define GRP_JOIN_MSG 0
742 #define KEY_DISTR_MSG 0
749 return msg_bits(m, 1, 16, 0x1fff); in msg_seq_gap()
754 msg_set_bits(m, 1, 16, 0x1fff, n); in msg_set_seq_gap()
759 return msg_bits(m, 1, 0, 0xffff); in msg_node_sig()
764 msg_set_bits(m, 1, 0, 0xffff, n); in msg_set_node_sig()
769 return msg_bits(m, 1, 15, 0x1fff); in msg_node_capabilities()
774 msg_set_bits(m, 1, 15, 0x1fff, n); in msg_set_node_capabilities()
792 msg_set_bits(m, 2, 16, 0xffff, n); in msg_set_bcgap_after()
797 return msg_bits(m, 2, 0, 0xffff); in msg_bcgap_to()
802 msg_set_bits(m, 2, 0, 0xffff, n); in msg_set_bcgap_to()
810 return msg_bits(m, 4, 16, 0xffff); in msg_last_bcast()
820 msg_set_bits(m, 4, 16, 0xffff, n); in msg_set_last_bcast()
825 return msg_bits(m, 4, 0, 0xffff); in msg_nof_fragms()
830 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_nof_fragms()
835 return msg_bits(m, 4, 16, 0xffff); in msg_fragm_no()
840 msg_set_bits(m, 4, 16, 0xffff, n); in msg_set_fragm_no()
845 return msg_bits(m, 4, 0, 0xffff); in msg_next_sent()
850 msg_set_bits(m, 4, 0, 0xffff, n); in msg_set_next_sent()
867 return msg_bits(m, 4, 0, 1); in msg_link_selector()
875 return msg_bits(m, 5, 16, 0xffff); in msg_session()
880 msg_set_bits(m, 5, 16, 0xffff, n); in msg_set_session()
885 return msg_bits(m, 5, 0, 1); in msg_probe()
890 msg_set_bits(m, 5, 0, 1, val); in msg_set_probe()
905 return msg_bits(m, 5, 4, 0x1f); in msg_linkprio()
910 msg_set_bits(m, 5, 4, 0x1f, n); in msg_set_linkprio()
915 return msg_bits(m, 5, 9, 0x7); in msg_bearer_id()
920 msg_set_bits(m, 5, 9, 0x7, n); in msg_set_bearer_id()
925 return msg_bits(m, 5, 12, 0x1); in msg_redundant_link()
930 msg_set_bits(m, 5, 12, 0x1, r); in msg_set_redundant_link()
935 return msg_bits(m, 5, 13, 0x1); in msg_peer_stopping()
940 msg_set_bits(m, 5, 13, 0x1, s); in msg_set_peer_stopping()
949 return msg_bits(m, 5, 14, 0x1); in msg_bc_ack_invalid()
957 msg_set_bits(m, 5, 14, 0x1, invalid); in msg_set_bc_ack_invalid()
967 return msg_bits(m, 8, 0, 0x3ff); in msg_bc_gap()
972 msg_set_bits(m, 8, 0, 0x3ff, n); in msg_set_bc_gap()
980 return msg_bits(m, 9, 16, 0xffff); in msg_msgcnt()
985 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_msgcnt()
990 return msg_bits(m, 9, 16, 0xffff); in msg_syncpt()
995 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_syncpt()
1000 return msg_bits(m, 9, 16, 0xffff); in msg_conn_ack()
1005 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_conn_ack()
1010 return msg_bits(m, 9, 0, 0xffff); in msg_adv_win()
1015 msg_set_bits(m, 9, 0, 0xffff, n); in msg_set_adv_win()
1020 return msg_bits(m, 9, 16, 0xffff) * 4; in msg_max_pkt()
1025 msg_set_bits(m, 9, 16, 0xffff, (n / 4)); in msg_set_max_pkt()
1030 return msg_bits(m, 9, 0, 0xffff); in msg_link_tolerance()
1035 msg_set_bits(m, 9, 0, 0xffff, n); in msg_set_link_tolerance()
1040 return msg_bits(m, 9, 16, 0xffff); in msg_grp_bc_syncpt()
1045 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_grp_bc_syncpt()
1050 return msg_bits(m, 9, 16, 0xffff); in msg_grp_bc_acked()
1055 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_grp_bc_acked()
1060 return msg_bits(m, 9, 16, 0xffff); in msg_grp_remitted()
1065 msg_set_bits(m, 9, 16, 0xffff, n); in msg_set_grp_remitted()
1072 return msg_bits(m, 10, 0, 0x3); in msg_grp_evt()
1077 msg_set_bits(m, 10, 0, 0x3, n); in msg_set_grp_evt()
1082 return msg_bits(m, 10, 0, 0x1); in msg_grp_bc_ack_req()
1087 msg_set_bits(m, 10, 0, 0x1, n); in msg_set_grp_bc_ack_req()
1092 return msg_bits(m, 10, 16, 0xffff); in msg_grp_bc_seqno()
1097 msg_set_bits(m, 10, 16, 0xffff, n); in msg_set_grp_bc_seqno()
1222 u32 dport = 0; in tipc_skb_peek_port()