[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.
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 66acde5..1da58bc 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 @@
/* a timeout node */
struct timer_list id_timeout;
+
+ /* a back pointer */
+ struct bsc_nat *nat;
};
/*