|author||Holger Hans Peter Freyther <email@example.com>||2013-08-24 18:31:27 +0200|
|committer||Ivan Kluchnikov <firstname.lastname@example.org>||2013-10-18 15:15:49 +0400|
tbf: Begin to add some structure to the tbf code
The TBF should use the IMSI to identify a block flow but all handling is spread across the entire code. Start to clean this up by moving relevant code into the tbf file. Afterwards one can clean up and add more internal structure.
Diffstat (limited to 'src/tbf.h')
1 files changed, 27 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
new file mode 100644
@@ -0,0 +1,27 @@
+ * Copyright (C) 2013 by Holger Hans Peter Freyther
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+int tbf_handle(struct gprs_rlcmac_bts *bts,
+ const uint32_t tlli, const char *imsi, const uint8_t ms_class,
+ const uint16_t delay_csec, const uint8_t *data, const uint16_t len);