summaryrefslogtreecommitdiffstats
path: root/data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-09 16:09:18 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-09 16:09:18 +0200
commit903a15fc26e225c2559c98eba362e29f09de3d2c (patch)
tree5680b3c68a728df86092a5b8a4756625724025c3 /data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h
import source code of Vovida GSML project (from www.vovida.org)HEADgsml-1_0master
This is the source code as it was published on vovida.org a couple of years ago. The filename was gsml-1_0.tar.bz2
Diffstat (limited to 'data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h')
-rw-r--r--data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h b/data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h
new file mode 100644
index 0000000..cc724ec
--- /dev/null
+++ b/data/mnet/GP10/Host/Rlc_mac/include/ieNLN.h
@@ -0,0 +1,59 @@
+// *******************************************************************
+//
+// (c) Copyright Cisco 2000
+// All Rights Reserved
+//
+// *******************************************************************
+
+// *******************************************************************
+//
+// File : ieNLN.h
+// Author(s) : Tim Olson
+// Create Date : 6/5/2000
+// Description :
+//
+// *******************************************************************
+
+
+#ifndef __IENLN_H__
+#define __IENLN_H__
+
+#include "IeBase.h"
+#include "bitstream.h"
+
+// *******************************************************************
+// class IeNLN
+//
+// Description:
+// NLN IE -- GSM04.60 11.2.10
+// GSM04.08 10.5.2.23
+// *******************************************************************
+
+
+class IeNLN : public IeBase {
+public:
+
+ IeNLN() : IeBase() {}
+
+ RlcMacResult EncodeIe(BitStreamOut &dataStream);
+ void DisplayDetails(DbgOutput *outObj);
+
+ RlcMacResult SetNLN(unsigned char val)
+ {
+ nln = val;
+ isValid = TRUE;
+ return (RLC_MAC_SUCCESS);
+ }
+
+ unsigned char GetNLN()
+ {
+ return (nln);
+ }
+
+ void ClearNLN() { isValid = FALSE; }
+
+private:
+ unsigned char nln;
+};
+
+#endif \ No newline at end of file