From 46aa5c44de5b62cc061840b29903a63bc3790445 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Fri, 9 Oct 2009 06:37:48 +0000 Subject: From Tobias Witek: New protocols: UMTS RLC (ETSI TS 125 322), UMTS MAC (ETSI TS 125 321). This does not currently compile cleanly but checking it in to be worked on. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3495 svn path=/trunk/; revision=30414 --- epan/dissectors/packet-rlc.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 epan/dissectors/packet-rlc.h (limited to 'epan/dissectors/packet-rlc.h') diff --git a/epan/dissectors/packet-rlc.h b/epan/dissectors/packet-rlc.h new file mode 100644 index 0000000000..875f0b5bd8 --- /dev/null +++ b/epan/dissectors/packet-rlc.h @@ -0,0 +1,38 @@ +/* Routines for UMTS RLC disassembly + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 1998 Gerald Combs + * + * 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. + */ + +enum rlc_mode { + RLC_TM, + RLC_UM, + RLC_AM +}; + +#define MAX_RLC_CHANS 64 +typedef struct rlc_info +{ + guint32 urnti[MAX_RLC_CHANS]; + guint8 mode[MAX_RLC_CHANS]; + guint8 rbid[MAX_RLC_CHANS]; + gboolean ciphered[MAX_RLC_CHANS]; + gboolean deciphered[MAX_RLC_CHANS]; +} rlc_info; -- cgit v1.2.3