diff options
Diffstat (limited to 'epan/dissectors/asn1/nbap/packet-nbap-template.h')
-rw-r--r-- | epan/dissectors/asn1/nbap/packet-nbap-template.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/nbap/packet-nbap-template.h b/epan/dissectors/asn1/nbap/packet-nbap-template.h new file mode 100644 index 0000000000..705d32bd65 --- /dev/null +++ b/epan/dissectors/asn1/nbap/packet-nbap-template.h @@ -0,0 +1,57 @@ +/* packet-nbap-template.h + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef PACKET_NBAP_H +#define PACKET_NBAP_H + +#include "packet-rlc.h" +#include "packet-umts_mac.h" + +/* + * Ericsson specific mapping for various dissector settings. + * Must be altered for other equipment. + */ + +/*Array are indexed on logical channel id, meaning they need to be defined for 1-15*/ +/* Mapping from logical channel id to MAC content type ie. DCCH or DTCH*/ +extern guint8 lchId_type_table[]; + +/* Mapping logicalchannel id to RLC_MODE */ +extern guint8 lchId_rlc_map[]; + +#if 0 +static const value_string lchid_name_resolve[] = { + {1,"DCCH"}, /* 1 to 4 SRB => DCCH*/ + {2,"DCCH"}, + {3,"DCCH"}, + {4,"DCCH"}, + {8,"DCCH"}, /* 8 SRB => DCCH*/ + {9,"DTCH"}, /*9 maps to DTCH*/ + {10,"UNKNOWN"}, /*10 Conv CS unknown*/ + {11,"DTCH"}, /*11 Interactive PS => DTCH*/ + {12,"DTCH"}, /*12 13 Streaming PS => DTCH*/ + {13,"DTCH"}, + {14,"DTCH"}, /*14 Interatictive PS => DTCH*/ + {15,"MAC_CONTENT_UNKNOWN"}, + {0, NULL} /* This is CCCH? */ +}; +#endif +#endif |