diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-10-18 18:38:59 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-11-12 16:08:22 +0100 |
commit | c692fc5e2eb62eb86c85847c79dedb4d87ad564c (patch) | |
tree | 5460cc1d7bae6ebb573fb892a436085661f6a2c4 /openbsc/include/openbsc/transaction.h | |
parent | d9e229b08871c6be76e97e7d7281a824c1bdb231 (diff) |
mgcp parsing, mgcp test
Change-Id: Ibe2ab17b3fa3a506a2e841ba979ea4175e3a21e8
Diffstat (limited to 'openbsc/include/openbsc/transaction.h')
-rw-r--r-- | openbsc/include/openbsc/transaction.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/transaction.h b/openbsc/include/openbsc/transaction.h index 9a87d04e4..13482522a 100644 --- a/openbsc/include/openbsc/transaction.h +++ b/openbsc/include/openbsc/transaction.h @@ -9,6 +9,14 @@ #include <osmocom/gsm/gsm0411_smc.h> #include <osmocom/gsm/gsm0411_smr.h> +enum bridge_state { + BRIDGE_STATE_NONE, + BRIDGE_STATE_LOOPBACK_PENDING, + BRIDGE_STATE_LOOPBACK_ESTABLISHED, + BRIDGE_STATE_BRIDGE_PENDING, + BRIDGE_STATE_BRIDGE_ESTABLISHED, +}; + /* One transaction */ struct gsm_trans { /* Entry in list of all transactions */ @@ -57,6 +65,11 @@ struct gsm_trans { struct gsm_sms *sms; } sms; }; + + struct { + struct gsm_trans *peer; + enum bridge_state state; + } bridge; }; |