aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-02-09 16:28:32 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-02-09 16:30:38 +0100
commitd838951302d8c84220325517a902094d40cf6512 (patch)
tree77ea1a3fed101dd5261ffc167ddacc723896c10b /openbsc/include/openbsc/bsc_nat.h
parentf8e1b45a788d459ff1c44147b8a8833d72485a28 (diff)
[nat] Implement token based identification.
Based on the token the NAT/MUX is capable of figuring out which LAC this BSC is supposed to satisfy. This will be needed for messages like paging that can be done by LAC.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 66acde504..1da58bcba 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -32,6 +32,8 @@
#define DIR_BSC 1
#define DIR_MSC 2
+struct bsc_nat;
+
/*
* For the NAT we will need to analyze and later patch
* the received message. This would require us to parse
@@ -82,6 +84,9 @@ struct bsc_connection {
/* a timeout node */
struct timer_list id_timeout;
+
+ /* a back pointer */
+ struct bsc_nat *nat;
};
/*