summaryrefslogtreecommitdiff
path: root/cesar/cp2/msg
diff options
context:
space:
mode:
authorlaranjeiro2008-06-11 11:39:35 +0000
committerlaranjeiro2008-06-11 11:39:35 +0000
commit1868b7c506071efb98dd3d3e95d5ce44f886015c (patch)
tree059bab7e43fe08467f3ef61a4f2e9d31a54a4a8f /cesar/cp2/msg
parentb6491fa98d57d776f29ef5b1a578a5294db0d468 (diff)
cp2/msg: Add a function to read the MME header and return the mme rx context.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@2281 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp2/msg')
-rw-r--r--cesar/cp2/msg/msg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cesar/cp2/msg/msg.h b/cesar/cp2/msg/msg.h
index d68c21286c..bf1d4f4c3f 100644
--- a/cesar/cp2/msg/msg.h
+++ b/cesar/cp2/msg/msg.h
@@ -93,6 +93,15 @@ cp_msg_mme_init_encrypted (cp_t *ctx, cp_mme_peer_t *peer,
void
cp_msg_mme_send (cp_t *ctx, cp_mme_tx_t *mme);
+/**
+ * Read the header of a received MME and return the MME context.
+ * \param ctx control plane context.
+ * \param mme the MME received.
+ * \return cp_mme_rx_t object associated.
+ */
+cp_mme_rx_t *
+cp_msg_mme_read_header (cp_t *ctx, u8 *mme);
+
END_DECLS
#endif /* cp2_msg_msg_h */