diff options
author | 2021-03-04 14:16:49 +0100 | |
---|---|---|
committer | 2021-03-24 00:25:56 +0100 | |
commit | 5b034fbab02299e1106e7a35af51cbeaf15f55eb (patch) | |
tree | c33ca6affba939909b2270be0131f21a7c7dd3ff /src/gb/gprs_ns2_internal.h | |
parent | gprs_ns2_sns: Rename BSS-side states to include 'bss' in name (diff) | |
download | libosmocore-5b034fbab02299e1106e7a35af51cbeaf15f55eb.tar.xz libosmocore-5b034fbab02299e1106e7a35af51cbeaf15f55eb.zip |
gprs_ns2: Introduce gprs_ns2_create_nse2() for SGSN side SNS
gprs_ns2_create_nse() doesn't allow the caller to specify if the
BSS or the SGSN role of IP-SNS shall be implemented. Add
gprs_ns2_create_nse2() to fix that.
Change-Id: I6db8c36f7c69b592d7d0fbcf323804f7e9912be2
Related: OS#3373
Diffstat (limited to 'src/gb/gprs_ns2_internal.h')
-rw-r--r-- | src/gb/gprs_ns2_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2_internal.h b/src/gb/gprs_ns2_internal.h index 9b138e5d..567e1c57 100644 --- a/src/gb/gprs_ns2_internal.h +++ b/src/gb/gprs_ns2_internal.h @@ -182,6 +182,9 @@ struct gprs_ns2_nse { /*! MTU of a NS PDU. This is the lowest MTU of all NSVCs */ uint16_t mtu; + + /*! are we implementing the SGSN role? */ + bool ip_sns_role_sgsn; }; /*! Structure representing a single NS-VC */ |