#ifndef cp_sta_action_bridge_h #define cp_sta_action_bridge_h /* Cesar project {{{ * * Copyright (C) 2008 Spidcom * * <<>> * * }}} */ /** * \file cp/sta/action/bridge.h * \brief STA action, bridge table related definitions. * \ingroup cp_sta_action * * This file handles the request and reception of the bridge table MME for an * authenticated STA and a CCo. */ BEGIN_DECLS /** * Initialize the STA action bridge module. * \param ctx the CP context. */ void cp_sta_action_bridge_init (cp_t *ctx); /** * Process a CM_BRG_INFO.CNF (see section 11.5.15). * \param ctx control plain context. * \param mme received MME to process. * * Add the new bridged entries into the MAC to TEI table. */ void cp_sta_action_process_cm_brg_info_cnf (cp_t *ctx, cp_mme_rx_t *mme); /** * Process a CM_BRG_INFO.REQ (see section 11.5.14) and respond with a * CM_BRG_INFO.CNF. * \param ctx control plain context. * \param mme received MME to process. */ void cp_sta_action_process_cm_brg_info_req (cp_t *ctx, cp_mme_rx_t *mme); /** * Update bridge table and send CM_BRG_INFO.CNF if needed. * \param ctx the control plain context. */ void cp_sta_action_update_bridge_table (cp_t *ctx); /** * Send the CM_BRG_INFO.CNF MME when we are having our first communication * with an authenticated STA. * \param ctx the control plain context. * \param sta the authenticated STA. */ void cp_sta_action_bridge_first_com (cp_t *ctx, cp_net_t *net, cp_sta_t *sta); END_DECLS #endif /* cp_sta_action_bridge_h */