| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-iuup.h
1/* packet-iuup.h
2 *
3 * IuUP Protocol 3GPP TS 25.415 V6.2.0 (2005-03)
4
5 * (C) 2024 by sysmocom s.f.m.c. GmbH <info@sysmocom.de>
6 * Written by Pau Espin Pedrol <pespin@sysmocom.de>
7 *
8 * (c) 2005 Luis E. Garcia Ontanon <luis@ontanon.org>
9 *
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
13 *
14 * SPDX-License-Identifier: GPL-2.0-or-later
15 */
16
17#ifndef __PACKET_IUUP_H__
18#define __PACKET_IUUP_H__
19
20#include <stdint.h>
21
22#include "epan/packet.h"
23
24#define ACKNACK_MASK 0x0c
25#define PROCEDURE_MASK 0x0f
26#define FQC_MASK 0xc0
27#define PDUTYPE_MASK 0xf0
28
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;
38
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;
45
46 struct _iuup_info {
47 iuup_circuit_t *iuup_circuit;
48};
49
50#define PDUTYPE_DATA_WITH_CRC 0
51#define PDUTYPE_DATA_NO_CRC 1
52#define PDUTYPE_DATA_CONTROL_PROC 14
53
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
57
58#endif /*__PACKET_IUUP_H__*/
packet.h
_iuup_info
Definition packet-iuup.h:46
_iuup_rfci_t
Definition packet-iuup.h:29
iuup_circuit_t
Definition packet-iuup.h:39