| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-bgp.h
1/* packet-bgp.h
2 * Routines for BGP packet disassembly
3 * (c) Copyright Ebben Aries <exa@fb.com>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11#ifndef __PACKET_BGP_H__
12#define __PACKET_BGP_H__
13
14const char*
15decode_bgp_rd(wmem_allocator_t *pool, tvbuff_t *tvb, int offset);
16
17void
18dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, uint16_t path_attr_len, unsigned tvb_off, packet_info *pinfo);
19
20int
21dissect_bgp_capability_item(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, int offset, bool action);
22
23#endif
24
25/*
26 * Editor modelines - https://www.wireshark.org/tools/modelines.html
27 *
28 * Local variables:
29 * c-basic-offset: 4
30 * tab-width: 8
31 * indent-tabs-mode: nil
32 * End:
33 *
34 * vi: set shiftwidth=4 tabstop=8 expandtab:
35 * :indentSize=4:tabSize=8:noTabs=true:
36 */
_packet_info
Definition packet_info.h:43
_proto_node
Definition proto.h:907
_wmem_allocator_t
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
tvbuff
Definition tvbuff-int.h:35