Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-iuup.h
blobbefed647088730606f0ba1128dfebefb58aa9711
1 /* packet-iuup.h
3 * IuUP Protocol 3GPP TS 25.415 V6.2.0 (2005-03)
5 * (C) 2024 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
6 * Written by Pau Espin Pedrol <pespin@sysmocom.de>
8 * (c) 2005 Luis E. Garcia Ontanon <luis@ontanon.org>
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * SPDX-License-Identifier: GPL-2.0-or-later
17 #ifndef __PACKET_IUUP_H__
18 #define __PACKET_IUUP_H__
20 #include <stdint.h>
22 #include "epan/packet.h"
24 #define ACKNACK_MASK 0x0c
25 #define PROCEDURE_MASK 0x0f
26 #define FQC_MASK 0xc0
27 #define PDUTYPE_MASK 0xf0
29 typedef struct _iuup_rfci_t {
30 unsigned id;
31 unsigned sum_len;
32 unsigned num_of_subflows;
33 struct {
34 unsigned len;
35 } subflow[8];
36 struct _iuup_rfci_t* next;
37 } iuup_rfci_t;
39 typedef struct {
40 uint32_t id;
41 unsigned num_of_subflows;
42 iuup_rfci_t* rfcis;
43 iuup_rfci_t* last_rfci;
44 } iuup_circuit_t;
46 struct _iuup_info {
47 iuup_circuit_t *iuup_circuit;
50 #define PDUTYPE_DATA_WITH_CRC 0
51 #define PDUTYPE_DATA_NO_CRC 1
52 #define PDUTYPE_DATA_CONTROL_PROC 14
54 #define PDUTYPE_DATA_WITH_CRC_HDR_LEN 4
55 #define PDUTYPE_DATA_NO_CRC_HDR_LEN 3
56 #define PDUTYPE_DATA_CONTROL_PROC_HDR_LEN 4
58 #endif /*__PACKET_IUUP_H__*/