Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-chdlc.h
1/* packet-chdlc.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#ifndef __PACKET_CHDLC_H__
11#define __PACKET_CHDLC_H__
12
13/* Cisco HDLC packet types that aren't just Ethernet types */
14#define CHDLCTYPE_FRARP 0x0808 /* Frame Relay ARP */
15#define CHDLCTYPE_BPDU 0x4242 /* IEEE spanning tree protocol */
16#define CHDLCTYPE_OSI 0xfefe /* ISO network-layer protocols */
17
18/*
19 * See section 4.3.1 of RFC 1547, and
20 *
21 * http://www.nethelp.no/net/cisco-hdlc.txt
22 */
23
24#define CHDLC_ADDR_UNICAST 0x0f
25#define CHDLC_ADDR_MULTICAST 0x8f
26
27extern const value_string chdlc_vals[];
28
29void
30chdlctype(dissector_handle_t sub_dissector, uint16_t chdlctype,
31 tvbuff_t *tvb, int offset_after_chdlctype,
32 packet_info *pinfo, proto_tree *tree, proto_tree *fh_tree,
33 int chdlctype_id);
34
35#endif
Definition packet_info.h:43
Definition proto.h:907
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
Definition packet.c:848
Definition tvbuff-int.h:35