Lines Matching refs:mhdr

668 	struct tipc_msg *mhdr = &tsk->phdr;  in tipc_sendmcast()  local
674 msg_set_type(mhdr, TIPC_MCAST_MSG); in tipc_sendmcast()
675 msg_set_lookup_scope(mhdr, TIPC_CLUSTER_SCOPE); in tipc_sendmcast()
676 msg_set_destport(mhdr, 0); in tipc_sendmcast()
677 msg_set_destnode(mhdr, 0); in tipc_sendmcast()
678 msg_set_nametype(mhdr, seq->type); in tipc_sendmcast()
679 msg_set_namelower(mhdr, seq->lower); in tipc_sendmcast()
680 msg_set_nameupper(mhdr, seq->upper); in tipc_sendmcast()
681 msg_set_hdr_sz(mhdr, MCAST_H_SIZE); in tipc_sendmcast()
685 rc = tipc_msg_build(mhdr, msg, 0, dsz, mtu, pktchain); in tipc_sendmcast()
856 struct tipc_msg *mhdr = &tsk->phdr; in __tipc_sendmsg() local
900 msg_set_type(mhdr, TIPC_NAMED_MSG); in __tipc_sendmsg()
901 msg_set_hdr_sz(mhdr, NAMED_H_SIZE); in __tipc_sendmsg()
902 msg_set_nametype(mhdr, type); in __tipc_sendmsg()
903 msg_set_nameinst(mhdr, inst); in __tipc_sendmsg()
904 msg_set_lookup_scope(mhdr, tipc_addr_scope(domain)); in __tipc_sendmsg()
906 msg_set_destnode(mhdr, dnode); in __tipc_sendmsg()
907 msg_set_destport(mhdr, dport); in __tipc_sendmsg()
912 msg_set_type(mhdr, TIPC_DIRECT_MSG); in __tipc_sendmsg()
913 msg_set_lookup_scope(mhdr, 0); in __tipc_sendmsg()
914 msg_set_destnode(mhdr, dnode); in __tipc_sendmsg()
915 msg_set_destport(mhdr, dest->addr.id.ref); in __tipc_sendmsg()
916 msg_set_hdr_sz(mhdr, BASIC_H_SIZE); in __tipc_sendmsg()
922 rc = tipc_msg_build(mhdr, m, 0, dsz, mtu, pktchain); in __tipc_sendmsg()
1009 struct tipc_msg *mhdr = &tsk->phdr; in __tipc_send_stream() local
1043 rc = tipc_msg_build(mhdr, m, sent, send, mtu, pktchain); in __tipc_send_stream()