summaryrefslogtreecommitdiff
path: root/cesar/cp/msg/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/msg/msg.h')
-rw-r--r--cesar/cp/msg/msg.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/cesar/cp/msg/msg.h b/cesar/cp/msg/msg.h
index 6eda939d20..0cab91342e 100644
--- a/cesar/cp/msg/msg.h
+++ b/cesar/cp/msg/msg.h
@@ -121,6 +121,18 @@ cp_msg_mme_write_frag_header (cp_t *ctx, cp_mme_tx_t *msg, bitstream_t *bs,
* \param ctx control plane context
* \param peer peer information
* \param mmtype the MME MMTYPE.
+ * \param mme_payload_length total payload size in byte.
+ * \return the newly created message
+ */
+cp_mme_tx_t *
+cp_msg_mme_init (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
+ uint mme_payload_length);
+
+/**
+ * Initialise a MME handle for a new message fragment to be transmitted.
+ * \param ctx control plane context
+ * \param peer peer information
+ * \param mmtype the MME MMTYPE.
* \param fmi_nbFrag The number of fragments.
* \param fmi_nb the number of the fragment.
* \return the newly created message
@@ -133,7 +145,7 @@ cp_msg_mme_write_frag_header (cp_t *ctx, cp_mme_tx_t *msg, bitstream_t *bs,
*/
cp_mme_tx_t *
cp_msg_mme_init_frag (cp_t *ctx, cp_mme_peer_t *peer, cp_mmtype_t mmtype,
- uint fmi_nbFrag, uint fmi_nb);
+ uint fmi_nbFrag);
/**
* Finalise and send a MME.