summaryrefslogtreecommitdiff
path: root/cesar/cp/msg/inc/msg_cc.h
diff options
context:
space:
mode:
authorlaranjeiro2008-11-27 14:59:32 +0000
committerlaranjeiro2008-11-27 14:59:32 +0000
commit1fb6495d218e95349779d1964509549253d474d0 (patch)
tree494d78e779d4f4a98a86b55f75f9cdda16d6cd3a /cesar/cp/msg/inc/msg_cc.h
parent11eea95a8f36ea75582d5f345f8596bbd19c385a (diff)
cp/msg: handle the forward for the cc_relay.req.
When the station receives a cc_relay.req it can use the cc_relay_forward function to generate the cc_relay.cnf and copy the payload of the received message to the new one. * Added a function to fill automatically the cc_relay MME if the station is not visible on the from the station. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@3535 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cp/msg/inc/msg_cc.h')
-rw-r--r--cesar/cp/msg/inc/msg_cc.h24
1 files changed, 6 insertions, 18 deletions
diff --git a/cesar/cp/msg/inc/msg_cc.h b/cesar/cp/msg/inc/msg_cc.h
index a200b2c4fa..23f7bd3600 100644
--- a/cesar/cp/msg/inc/msg_cc.h
+++ b/cesar/cp/msg/inc/msg_cc.h
@@ -300,30 +300,18 @@ void
cp_msg_cc_relay_req_send_finalise (cp_t *ctx, cp_mme_tx_t *msg, uint length);
/**
- * Write the header of a CC_RELAY MME.
- * \param ctx the module context.
- * \param peer the peer information.
- * \param prun if the MME shall be encrypted.
- * \param peks the Payload encryption key select.
- * \param fda the final destination mac address.
- * \param ftei the final TEI.
- */
-cp_mme_tx_t *
-cp_msg_cc_relay_ind_send_begin (cp_t *ctx, cp_mme_peer_t *peer,
- const cp_secu_protocol_run_t *prun,
- cp_mme_peks_t peks,
- mac_t oda, cp_tei_t otei);
-
-/**
* Finalise the MME CC_RELAY.IND.
* \param ctx the module context.
- * \param msg the MME to send.
- * \param length the MME length corresponding (header included).
+ * \param msg the MME REQ received.
+ * \param osa the original source mac address.
+ * \param stei the source TEI of the station which sent the cc_relay_req.
+ * \param length the length of the payload.
*
* Patch the Length of the MME payload in the MSG CC_RELAY.REQ MME.
*/
void
-cp_msg_cc_relay_ind_send_finalise (cp_t *ctx, cp_mme_tx_t *msg, uint length);
+cp_msg_cc_relay_ind_send (cp_t *ctx, cp_mme_rx_t *msg, mac_t osa, cp_tei_t
+ stei, uint length);
/**