path: root/openbsc/src/bssap.c
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-02-09 17:35:09 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-02-09 17:35:09 +0100
commit061947807313551d3255de4604c731cb757bb2a8 (patch)
treee042f2bacfb52b770541d0724b8b42735c0c54a5 /openbsc/src/bssap.c
parentf8f184edab18b033eb8a63282477d737e41c145d (diff)
[nat] Intercept the PAGING message and then forward it to the BSCs with that LAC
* Provide access to the GSM0808 TLV attributes so we can use it in the nat code. * Read the PAGING message, if it is paged by LAC we go through each LAC and then attempt to find the proper BSC connection and then send the message to that BSC.
Diffstat (limited to 'openbsc/src/bssap.c')
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/bssap.c b/openbsc/src/bssap.c
index 3a283666c..002e7ce21 100644
--- a/openbsc/src/bssap.c
+++ b/openbsc/src/bssap.c
@@ -63,6 +63,11 @@ static const struct tlv_definition bss_att_tlvdef = {
+const struct tlv_definition *gsm0808_att_tlvdef()
+ return &bss_att_tlvdef;
static u_int16_t get_network_code_for_msc(struct gsm_network *net)
if (net->core_network_code > 0)