Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-l2tp.h
1 /* packet-l2tp.h
2 * Routines for Layer Two Tunnelling Protocol (L2TP) packet disassembly
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10 #ifndef __PACKET_L2TP_H__
11 #define __PACKET_L2TP_H__
12
13 typedef struct _l2tp_cntrl_data {
14 guint32 ccid;
15 int msg_type;
16 } l2tp_cntrl_data_t;
17
18 #define L2TPv3_PROTOCOL_ETH 0
19 #define L2TPv3_PROTOCOL_CHDLC 1
20 #define L2TPv3_PROTOCOL_FR 2
21 #define L2TPv3_PROTOCOL_PPP 3
22 #define L2TPv3_PROTOCOL_IP 4
23 #define L2TPv3_PROTOCOL_MPLS 5
24 #define L2TPv3_PROTOCOL_AAL5 6
25 #define L2TPv3_PROTOCOL_LAPD 7
26 #define L2TPv3_PROTOCOL_DOCSIS_DMPT 8
27 #define L2TPv3_PROTOCOL_ERICSSON 9
28 #define L2TPv3_PROTOCOL_MAX (L2TPv3_PROTOCOL_ERICSSON + 1)
29
30 #endif /* __PACKET_L2TP_H__ */
_l2tp_cntrl_data
Definition: packet-l2tp.h:13