• Home
  • Raw
  • Download

Lines Matching refs:tipc_msg

148 struct tipc_msg {  struct
200 static inline struct tipc_msg *buf_msg(struct sk_buff *skb) in buf_msg()
202 return (struct tipc_msg *)skb->data; in buf_msg()
205 static inline u32 msg_word(struct tipc_msg *m, u32 pos) in msg_word()
210 static inline void msg_set_word(struct tipc_msg *m, u32 w, u32 val) in msg_set_word()
215 static inline u32 msg_bits(struct tipc_msg *m, u32 w, u32 pos, u32 mask) in msg_bits()
220 static inline void msg_set_bits(struct tipc_msg *m, u32 w, in msg_set_bits()
229 static inline void msg_swap_words(struct tipc_msg *msg, u32 a, u32 b) in msg_swap_words()
240 static inline u32 msg_version(struct tipc_msg *m) in msg_version()
245 static inline void msg_set_version(struct tipc_msg *m) in msg_set_version()
250 static inline u32 msg_user(struct tipc_msg *m) in msg_user()
255 static inline u32 msg_isdata(struct tipc_msg *m) in msg_isdata()
260 static inline void msg_set_user(struct tipc_msg *m, u32 n) in msg_set_user()
265 static inline u32 msg_hdr_sz(struct tipc_msg *m) in msg_hdr_sz()
270 static inline void msg_set_hdr_sz(struct tipc_msg *m, u32 n) in msg_set_hdr_sz()
275 static inline u32 msg_size(struct tipc_msg *m) in msg_size()
280 static inline u32 msg_blocks(struct tipc_msg *m) in msg_blocks()
285 static inline u32 msg_data_sz(struct tipc_msg *m) in msg_data_sz()
290 static inline int msg_non_seq(struct tipc_msg *m) in msg_non_seq()
295 static inline void msg_set_non_seq(struct tipc_msg *m, u32 n) in msg_set_non_seq()
300 static inline int msg_is_syn(struct tipc_msg *m) in msg_is_syn()
305 static inline void msg_set_syn(struct tipc_msg *m, u32 d) in msg_set_syn()
310 static inline int msg_dest_droppable(struct tipc_msg *m) in msg_dest_droppable()
315 static inline void msg_set_dest_droppable(struct tipc_msg *m, u32 d) in msg_set_dest_droppable()
320 static inline int msg_is_keepalive(struct tipc_msg *m) in msg_is_keepalive()
325 static inline void msg_set_is_keepalive(struct tipc_msg *m, u32 d) in msg_set_is_keepalive()
330 static inline int msg_src_droppable(struct tipc_msg *m) in msg_src_droppable()
335 static inline void msg_set_src_droppable(struct tipc_msg *m, u32 d) in msg_set_src_droppable()
340 static inline int msg_ack_required(struct tipc_msg *m) in msg_ack_required()
345 static inline void msg_set_ack_required(struct tipc_msg *m) in msg_set_ack_required()
350 static inline int msg_nagle_ack(struct tipc_msg *m) in msg_nagle_ack()
355 static inline void msg_set_nagle_ack(struct tipc_msg *m) in msg_set_nagle_ack()
360 static inline bool msg_is_rcast(struct tipc_msg *m) in msg_is_rcast()
365 static inline void msg_set_is_rcast(struct tipc_msg *m, bool d) in msg_set_is_rcast()
370 static inline void msg_set_size(struct tipc_msg *m, u32 sz) in msg_set_size()
375 static inline unchar *msg_data(struct tipc_msg *m) in msg_data()
380 static inline struct tipc_msg *msg_inner_hdr(struct tipc_msg *m) in msg_inner_hdr()
382 return (struct tipc_msg *)msg_data(m); in msg_inner_hdr()
388 static inline u32 msg_type(struct tipc_msg *m) in msg_type()
393 static inline void msg_set_type(struct tipc_msg *m, u32 n) in msg_set_type()
398 static inline int msg_in_group(struct tipc_msg *m) in msg_in_group()
405 static inline bool msg_is_grp_evt(struct tipc_msg *m) in msg_is_grp_evt()
410 static inline u32 msg_named(struct tipc_msg *m) in msg_named()
415 static inline u32 msg_mcast(struct tipc_msg *m) in msg_mcast()
423 static inline u32 msg_connected(struct tipc_msg *m) in msg_connected()
428 static inline u32 msg_direct(struct tipc_msg *m) in msg_direct()
433 static inline u32 msg_errcode(struct tipc_msg *m) in msg_errcode()
438 static inline void msg_set_errcode(struct tipc_msg *m, u32 err) in msg_set_errcode()
443 static inline void msg_set_bulk(struct tipc_msg *m) in msg_set_bulk()
448 static inline u32 msg_is_bulk(struct tipc_msg *m) in msg_is_bulk()
453 static inline void msg_set_last_bulk(struct tipc_msg *m) in msg_set_last_bulk()
458 static inline u32 msg_is_last_bulk(struct tipc_msg *m) in msg_is_last_bulk()
463 static inline void msg_set_non_legacy(struct tipc_msg *m) in msg_set_non_legacy()
468 static inline u32 msg_is_legacy(struct tipc_msg *m) in msg_is_legacy()
473 static inline u32 msg_reroute_cnt(struct tipc_msg *m) in msg_reroute_cnt()
478 static inline void msg_incr_reroute_cnt(struct tipc_msg *m) in msg_incr_reroute_cnt()
483 static inline void msg_reset_reroute_cnt(struct tipc_msg *m) in msg_reset_reroute_cnt()
488 static inline u32 msg_lookup_scope(struct tipc_msg *m) in msg_lookup_scope()
493 static inline void msg_set_lookup_scope(struct tipc_msg *m, u32 n) in msg_set_lookup_scope()
498 static inline u16 msg_bcast_ack(struct tipc_msg *m) in msg_bcast_ack()
503 static inline void msg_set_bcast_ack(struct tipc_msg *m, u16 n) in msg_set_bcast_ack()
511 static inline bool msg_dest_session_valid(struct tipc_msg *m) in msg_dest_session_valid()
516 static inline void msg_set_dest_session_valid(struct tipc_msg *m, bool valid) in msg_set_dest_session_valid()
521 static inline u16 msg_dest_session(struct tipc_msg *m) in msg_dest_session()
526 static inline void msg_set_dest_session(struct tipc_msg *m, u16 n) in msg_set_dest_session()
534 static inline u16 msg_ack(struct tipc_msg *m) in msg_ack()
539 static inline void msg_set_ack(struct tipc_msg *m, u16 n) in msg_set_ack()
544 static inline u16 msg_seqno(struct tipc_msg *m) in msg_seqno()
549 static inline void msg_set_seqno(struct tipc_msg *m, u16 n) in msg_set_seqno()
557 static inline u32 msg_importance(struct tipc_msg *m) in msg_importance()
568 static inline void msg_set_importance(struct tipc_msg *m, u32 i) in msg_set_importance()
580 static inline u32 msg_prevnode(struct tipc_msg *m) in msg_prevnode()
585 static inline void msg_set_prevnode(struct tipc_msg *m, u32 a) in msg_set_prevnode()
590 static inline u32 msg_origport(struct tipc_msg *m) in msg_origport()
597 static inline void msg_set_origport(struct tipc_msg *m, u32 p) in msg_set_origport()
602 static inline u16 msg_named_seqno(struct tipc_msg *m) in msg_named_seqno()
607 static inline void msg_set_named_seqno(struct tipc_msg *m, u16 n) in msg_set_named_seqno()
612 static inline u32 msg_destport(struct tipc_msg *m) in msg_destport()
617 static inline void msg_set_destport(struct tipc_msg *m, u32 p) in msg_set_destport()
622 static inline u32 msg_mc_netid(struct tipc_msg *m) in msg_mc_netid()
627 static inline void msg_set_mc_netid(struct tipc_msg *m, u32 p) in msg_set_mc_netid()
632 static inline int msg_short(struct tipc_msg *m) in msg_short()
637 static inline u32 msg_orignode(struct tipc_msg *m) in msg_orignode()
644 static inline void msg_set_orignode(struct tipc_msg *m, u32 a) in msg_set_orignode()
649 static inline u32 msg_destnode(struct tipc_msg *m) in msg_destnode()
654 static inline void msg_set_destnode(struct tipc_msg *m, u32 a) in msg_set_destnode()
659 static inline u32 msg_nametype(struct tipc_msg *m) in msg_nametype()
664 static inline void msg_set_nametype(struct tipc_msg *m, u32 n) in msg_set_nametype()
669 static inline u32 msg_nameinst(struct tipc_msg *m) in msg_nameinst()
674 static inline u32 msg_namelower(struct tipc_msg *m) in msg_namelower()
679 static inline void msg_set_namelower(struct tipc_msg *m, u32 n) in msg_set_namelower()
684 static inline void msg_set_nameinst(struct tipc_msg *m, u32 n) in msg_set_nameinst()
689 static inline u32 msg_nameupper(struct tipc_msg *m) in msg_nameupper()
694 static inline void msg_set_nameupper(struct tipc_msg *m, u32 n) in msg_set_nameupper()
760 static inline u32 msg_seq_gap(struct tipc_msg *m) in msg_seq_gap()
765 static inline void msg_set_seq_gap(struct tipc_msg *m, u32 n) in msg_set_seq_gap()
770 static inline u32 msg_node_sig(struct tipc_msg *m) in msg_node_sig()
775 static inline void msg_set_node_sig(struct tipc_msg *m, u32 n) in msg_set_node_sig()
780 static inline u32 msg_node_capabilities(struct tipc_msg *m) in msg_node_capabilities()
785 static inline void msg_set_node_capabilities(struct tipc_msg *m, u32 n) in msg_set_node_capabilities()
793 static inline u32 msg_dest_domain(struct tipc_msg *m) in msg_dest_domain()
798 static inline void msg_set_dest_domain(struct tipc_msg *m, u32 n) in msg_set_dest_domain()
803 static inline u32 msg_bcgap_after(struct tipc_msg *m) in msg_bcgap_after()
808 static inline void msg_set_bcgap_after(struct tipc_msg *m, u32 n) in msg_set_bcgap_after()
813 static inline u32 msg_bcgap_to(struct tipc_msg *m) in msg_bcgap_to()
818 static inline void msg_set_bcgap_to(struct tipc_msg *m, u32 n) in msg_set_bcgap_to()
826 static inline u32 msg_last_bcast(struct tipc_msg *m) in msg_last_bcast()
831 static inline u32 msg_bc_snd_nxt(struct tipc_msg *m) in msg_bc_snd_nxt()
836 static inline void msg_set_last_bcast(struct tipc_msg *m, u32 n) in msg_set_last_bcast()
841 static inline u32 msg_nof_fragms(struct tipc_msg *m) in msg_nof_fragms()
846 static inline void msg_set_nof_fragms(struct tipc_msg *m, u32 n) in msg_set_nof_fragms()
851 static inline u32 msg_fragm_no(struct tipc_msg *m) in msg_fragm_no()
856 static inline void msg_set_fragm_no(struct tipc_msg *m, u32 n) in msg_set_fragm_no()
861 static inline u16 msg_next_sent(struct tipc_msg *m) in msg_next_sent()
866 static inline void msg_set_next_sent(struct tipc_msg *m, u16 n) in msg_set_next_sent()
871 static inline void msg_set_long_msgno(struct tipc_msg *m, u32 n) in msg_set_long_msgno()
876 static inline u32 msg_bc_netid(struct tipc_msg *m) in msg_bc_netid()
881 static inline void msg_set_bc_netid(struct tipc_msg *m, u32 id) in msg_set_bc_netid()
886 static inline u32 msg_link_selector(struct tipc_msg *m) in msg_link_selector()
896 static inline u16 msg_session(struct tipc_msg *m) in msg_session()
901 static inline void msg_set_session(struct tipc_msg *m, u16 n) in msg_set_session()
906 static inline u32 msg_probe(struct tipc_msg *m) in msg_probe()
911 static inline void msg_set_probe(struct tipc_msg *m, u32 val) in msg_set_probe()
916 static inline char msg_net_plane(struct tipc_msg *m) in msg_net_plane()
921 static inline void msg_set_net_plane(struct tipc_msg *m, char n) in msg_set_net_plane()
926 static inline u32 msg_linkprio(struct tipc_msg *m) in msg_linkprio()
931 static inline void msg_set_linkprio(struct tipc_msg *m, u32 n) in msg_set_linkprio()
936 static inline u32 msg_bearer_id(struct tipc_msg *m) in msg_bearer_id()
941 static inline void msg_set_bearer_id(struct tipc_msg *m, u32 n) in msg_set_bearer_id()
946 static inline u32 msg_redundant_link(struct tipc_msg *m) in msg_redundant_link()
951 static inline void msg_set_redundant_link(struct tipc_msg *m, u32 r) in msg_set_redundant_link()
956 static inline u32 msg_peer_stopping(struct tipc_msg *m) in msg_peer_stopping()
961 static inline void msg_set_peer_stopping(struct tipc_msg *m, u32 s) in msg_set_peer_stopping()
966 static inline bool msg_bc_ack_invalid(struct tipc_msg *m) in msg_bc_ack_invalid()
978 static inline void msg_set_bc_ack_invalid(struct tipc_msg *m, bool invalid) in msg_set_bc_ack_invalid()
983 static inline char *msg_media_addr(struct tipc_msg *m) in msg_media_addr()
988 static inline u32 msg_bc_gap(struct tipc_msg *m) in msg_bc_gap()
993 static inline void msg_set_bc_gap(struct tipc_msg *m, u32 n) in msg_set_bc_gap()
1001 static inline u16 msg_msgcnt(struct tipc_msg *m) in msg_msgcnt()
1006 static inline void msg_set_msgcnt(struct tipc_msg *m, u16 n) in msg_set_msgcnt()
1011 static inline u16 msg_syncpt(struct tipc_msg *m) in msg_syncpt()
1016 static inline void msg_set_syncpt(struct tipc_msg *m, u16 n) in msg_set_syncpt()
1021 static inline u32 msg_conn_ack(struct tipc_msg *m) in msg_conn_ack()
1026 static inline void msg_set_conn_ack(struct tipc_msg *m, u32 n) in msg_set_conn_ack()
1031 static inline u16 msg_adv_win(struct tipc_msg *m) in msg_adv_win()
1036 static inline void msg_set_adv_win(struct tipc_msg *m, u16 n) in msg_set_adv_win()
1041 static inline u32 msg_max_pkt(struct tipc_msg *m) in msg_max_pkt()
1046 static inline void msg_set_max_pkt(struct tipc_msg *m, u32 n) in msg_set_max_pkt()
1051 static inline u32 msg_link_tolerance(struct tipc_msg *m) in msg_link_tolerance()
1056 static inline void msg_set_link_tolerance(struct tipc_msg *m, u32 n) in msg_set_link_tolerance()
1061 static inline u16 msg_grp_bc_syncpt(struct tipc_msg *m) in msg_grp_bc_syncpt()
1066 static inline void msg_set_grp_bc_syncpt(struct tipc_msg *m, u16 n) in msg_set_grp_bc_syncpt()
1071 static inline u16 msg_grp_bc_acked(struct tipc_msg *m) in msg_grp_bc_acked()
1076 static inline void msg_set_grp_bc_acked(struct tipc_msg *m, u16 n) in msg_set_grp_bc_acked()
1081 static inline u16 msg_grp_remitted(struct tipc_msg *m) in msg_grp_remitted()
1086 static inline void msg_set_grp_remitted(struct tipc_msg *m, u16 n) in msg_set_grp_remitted()
1093 static inline u16 msg_grp_evt(struct tipc_msg *m) in msg_grp_evt()
1098 static inline void msg_set_grp_evt(struct tipc_msg *m, int n) in msg_set_grp_evt()
1103 static inline u16 msg_grp_bc_ack_req(struct tipc_msg *m) in msg_grp_bc_ack_req()
1108 static inline void msg_set_grp_bc_ack_req(struct tipc_msg *m, bool n) in msg_set_grp_bc_ack_req()
1113 static inline u16 msg_grp_bc_seqno(struct tipc_msg *m) in msg_grp_bc_seqno()
1118 static inline void msg_set_grp_bc_seqno(struct tipc_msg *m, u32 n) in msg_set_grp_bc_seqno()
1123 static inline bool msg_peer_link_is_up(struct tipc_msg *m) in msg_peer_link_is_up()
1132 static inline bool msg_peer_node_is_up(struct tipc_msg *m) in msg_peer_node_is_up()
1139 static inline bool msg_is_reset(struct tipc_msg *hdr) in msg_is_reset()
1146 static inline void msg_set_peer_net_hash(struct tipc_msg *m, u32 n) in msg_set_peer_net_hash()
1151 static inline u32 msg_peer_net_hash(struct tipc_msg *m) in msg_peer_net_hash()
1158 static inline u32 msg_sugg_node_addr(struct tipc_msg *m) in msg_sugg_node_addr()
1163 static inline void msg_set_sugg_node_addr(struct tipc_msg *m, u32 n) in msg_set_sugg_node_addr()
1168 static inline void msg_set_node_id(struct tipc_msg *hdr, u8 *id) in msg_set_node_id()
1173 static inline u8 *msg_node_id(struct tipc_msg *hdr) in msg_node_id()
1183 void tipc_msg_init(u32 own_addr, struct tipc_msg *m, u32 user, u32 type,
1192 int tipc_msg_fragment(struct sk_buff *skb, const struct tipc_msg *hdr,
1194 int tipc_msg_build(struct tipc_msg *mhdr, struct msghdr *m,
1196 int tipc_msg_append(struct tipc_msg *hdr, struct msghdr *m, int dlen,