diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-02 13:07:45 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-03 15:02:46 +0200 |
commit | c1a8687cb83fe7d8dade703587253765b83842ef (patch) | |
tree | b12d9a9d81c59a84413dd1dc9a4a9411bc08e82a /openbsc/include | |
parent | 0df1ab97a2acfe272124634c9484883dd210070d (diff) |
bsc_msc: Add a name field to the MSC Connection to differentiate links
Assign a static name to a MSC Connection and use it. In case there
are multiple connections we can now more easily identify them.
This is only used for the NAT right now, the BSC could start to
name the various MSC connections too.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_msc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_msc.h b/openbsc/include/openbsc/bsc_msc.h index 9543002a7..647f47e56 100644 --- a/openbsc/include/openbsc/bsc_msc.h +++ b/openbsc/include/openbsc/bsc_msc.h @@ -42,6 +42,8 @@ struct bsc_msc_connection { struct llist_head *dests; + const char *name; + void (*connection_loss) (struct bsc_msc_connection *); void (*connected) (struct bsc_msc_connection *); struct osmo_timer_list reconnect_timer; |