aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat_sccp.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-04-16 13:23:43 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-16 14:14:17 +0200
commitb2b291d3efea54a60c2e5c50f8ac34a2f12125cd (patch)
tree13a9793755108f044ebaf31d6e914986eb06ecf7 /openbsc/include/openbsc/bsc_nat_sccp.h
parentc279e39c128615286a50e440179b6957158ceadb (diff)
nat: Extract the LAC/CI from the Complete Layer3 Information
Find the Cell Identifier from the Complete Layer3 Information and store it for future reference. We could begin to verify that the LAC/CI used really belongs to the BSC.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat_sccp.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat_sccp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat_sccp.h b/openbsc/include/openbsc/bsc_nat_sccp.h
index a21684b7f..34aa6320a 100644
--- a/openbsc/include/openbsc/bsc_nat_sccp.h
+++ b/openbsc/include/openbsc/bsc_nat_sccp.h
@@ -80,6 +80,9 @@ struct nat_sccp_connection {
int imsi_checked;
char *imsi;
+ uint16_t lac;
+ uint16_t ci;
+
/* remember which Transactions we run over the bypass */
char ussd_ti[8];