Lines Matching refs:mhdr
675 struct tipc_msg *mhdr = &tsk->phdr; in tipc_sendmcast() local
681 msg_set_type(mhdr, TIPC_MCAST_MSG); in tipc_sendmcast()
682 msg_set_lookup_scope(mhdr, TIPC_CLUSTER_SCOPE); in tipc_sendmcast()
683 msg_set_destport(mhdr, 0); in tipc_sendmcast()
684 msg_set_destnode(mhdr, 0); in tipc_sendmcast()
685 msg_set_nametype(mhdr, seq->type); in tipc_sendmcast()
686 msg_set_namelower(mhdr, seq->lower); in tipc_sendmcast()
687 msg_set_nameupper(mhdr, seq->upper); in tipc_sendmcast()
688 msg_set_hdr_sz(mhdr, MCAST_H_SIZE); in tipc_sendmcast()
694 rc = tipc_msg_build(mhdr, msg, 0, dsz, mtu, &pktchain); in tipc_sendmcast()
866 struct tipc_msg *mhdr = &tsk->phdr; in __tipc_sendmsg() local
910 msg_set_type(mhdr, TIPC_NAMED_MSG); in __tipc_sendmsg()
911 msg_set_hdr_sz(mhdr, NAMED_H_SIZE); in __tipc_sendmsg()
912 msg_set_nametype(mhdr, type); in __tipc_sendmsg()
913 msg_set_nameinst(mhdr, inst); in __tipc_sendmsg()
914 msg_set_lookup_scope(mhdr, tipc_addr_scope(domain)); in __tipc_sendmsg()
916 msg_set_destnode(mhdr, dnode); in __tipc_sendmsg()
917 msg_set_destport(mhdr, dport); in __tipc_sendmsg()
922 msg_set_type(mhdr, TIPC_DIRECT_MSG); in __tipc_sendmsg()
923 msg_set_lookup_scope(mhdr, 0); in __tipc_sendmsg()
924 msg_set_destnode(mhdr, dnode); in __tipc_sendmsg()
925 msg_set_destport(mhdr, dest->addr.id.ref); in __tipc_sendmsg()
926 msg_set_hdr_sz(mhdr, BASIC_H_SIZE); in __tipc_sendmsg()
933 rc = tipc_msg_build(mhdr, m, 0, dsz, mtu, &pktchain); in __tipc_sendmsg()
1021 struct tipc_msg *mhdr = &tsk->phdr; in __tipc_send_stream() local
1056 rc = tipc_msg_build(mhdr, m, sent, send, mtu, &pktchain); in __tipc_send_stream()