2013-09-25 20:58:37 +00:00
|
|
|
/* packet-l2tp.h
|
|
|
|
* Routines for Layer Two Tunnelling Protocol (L2TP) packet disassembly
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-02-12 11:23:27 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2013-09-25 20:58:37 +00:00
|
|
|
*/
|
|
|
|
#ifndef __PACKET_L2TP_H__
|
|
|
|
#define __PACKET_L2TP_H__
|
|
|
|
|
|
|
|
typedef struct _l2tp_cntrl_data {
|
|
|
|
guint32 ccid;
|
|
|
|
int msg_type;
|
|
|
|
} l2tp_cntrl_data_t;
|
|
|
|
|
2015-04-03 03:11:51 +00:00
|
|
|
#define L2TPv3_PROTOCOL_ETH 0
|
|
|
|
#define L2TPv3_PROTOCOL_CHDLC 1
|
|
|
|
#define L2TPv3_PROTOCOL_FR 2
|
|
|
|
#define L2TPv3_PROTOCOL_PPP 3
|
|
|
|
#define L2TPv3_PROTOCOL_IP 4
|
|
|
|
#define L2TPv3_PROTOCOL_MPLS 5
|
|
|
|
#define L2TPv3_PROTOCOL_AAL5 6
|
|
|
|
#define L2TPv3_PROTOCOL_LAPD 7
|
|
|
|
#define L2TPv3_PROTOCOL_DOCSIS_DMPT 8
|
|
|
|
#define L2TPv3_PROTOCOL_ERICSSON 9
|
|
|
|
#define L2TPv3_PROTOCOL_MAX (L2TPv3_PROTOCOL_ERICSSON + 1)
|
|
|
|
|
2013-09-25 20:58:37 +00:00
|
|
|
#endif /* __PACKET_L2TP_H__ */
|