cosmetic: regroup members of hnbgw_context_map
Change the order in the struct definition so that the items for RUA and for SCCP are grouped together. Tweak comments. Change-Id: I84424617996d8e1a6814aa122e63454c0666b724
This commit is contained in:
parent
52b2a9e6b0
commit
29f82a7b48
|
@ -28,23 +28,26 @@ struct hnbgw_cnlink;
|
|||
struct hnbgw_context_map {
|
||||
/* entry in the per-CN list of mappings */
|
||||
struct llist_head cn_list;
|
||||
/* entry in the per-HNB list of mappings */
|
||||
/* entry in the per-HNB list of mappings. */
|
||||
struct llist_head hnb_list;
|
||||
/* pointer to HNB */
|
||||
|
||||
/* Pointer to HNB for this map, to transceive RUA. */
|
||||
struct hnb_context *hnb_ctx;
|
||||
/* pointer to CN */
|
||||
struct hnbgw_cnlink *cn_link;
|
||||
/* RUA contxt ID */
|
||||
/* RUA context ID used in RUA messages to/from the hnb_gw. */
|
||||
uint32_t rua_ctx_id;
|
||||
/* False for CS, true for PS */
|
||||
bool is_ps;
|
||||
/* SCCP User SAP connection ID */
|
||||
|
||||
/* Pointer to CN, to transceive SCCP. */
|
||||
struct hnbgw_cnlink *cn_link;
|
||||
/* SCCP User SAP connection ID used in SCCP messages to/from the cn_link. */
|
||||
uint32_t scu_conn_id;
|
||||
/* Set to true on SCCP Conn Conf, set to false when an OSMO_SCU_PRIM_N_DISCONNECT has been sent for the SCCP
|
||||
* User SAP conn. Useful to avoid leaking SCCP connections: guarantee that an OSMO_SCU_PRIM_N_DISCONNECT gets
|
||||
* sent, even when RUA fails to gracefully disconnect. */
|
||||
bool scu_conn_active;
|
||||
|
||||
/* False for CS, true for PS */
|
||||
bool is_ps;
|
||||
|
||||
enum hnbgw_context_map_state state;
|
||||
|
||||
/* FSM instance for the MGW, handles the async MGCP communication necessary to intercept CS RAB Assignment and
|
||||
|
|
Loading…
Reference in New Issue