diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-08 23:18:15 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-08 23:18:15 +0800 |
commit | 5d930f8745ae6ecbe995cc353217d50c542d9b9f (patch) | |
tree | 932778d949654f9308bc3154f5ea28b2621c8510 /include | |
parent | dedb7ce3fef7a14c52c62c22acdc043016f2563d (diff) |
mtp: Store the mtp_link inside the connection
Prepare to have multiple links to the BSC.
Diffstat (limited to 'include')
-rw-r--r-- | include/bsc_data.h | 2 | ||||
-rw-r--r-- | include/bsc_sccp.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h index e48e5b7..67d9d02 100644 --- a/include/bsc_data.h +++ b/include/bsc_data.h @@ -131,7 +131,7 @@ void msc_clear_queue(struct bsc_data *data); void msc_close_connection(struct bsc_data *data); /* connection tracking and action */ -void update_con_state(int rc, struct sccp_parse_result *result, struct msgb *msg, int from_msc, int sls); +void update_con_state(struct mtp_link *link, int rc, struct sccp_parse_result *result, struct msgb *msg, int from_msc, int sls); unsigned int sls_for_src_ref(struct sccp_source_reference *ref); /* c7 init */ diff --git a/include/bsc_sccp.h b/include/bsc_sccp.h index aed5daa..eee9a93 100644 --- a/include/bsc_sccp.h +++ b/include/bsc_sccp.h @@ -54,6 +54,9 @@ struct active_sccp_con { /* how often did we send a RLSD this */ unsigned int rls_tries; + /* MTP link this was coming in */ + struct mtp_link *link; + /* sls id */ int sls; }; |