diff options
author | Ebben Aries <exa@fb.com> | 2015-03-04 19:13:43 -0800 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-03-05 15:39:48 +0000 |
commit | 23c6a0f97f4eb24d532c50e57cc4d77b76bb8b81 (patch) | |
tree | 8cd5c01e166e786edea05d4ae69e9c8e22934f43 /epan/dissectors/packet-bgp.h | |
parent | 3948d82872a5d04bd2f7fc07d27df53a52fabccd (diff) | |
download | wireshark-23c6a0f97f4eb24d532c50e57cc4d77b76bb8b81.tar.gz |
[bmp] Support for decoding of BGP Peer Distinguisher
re-utilize decode_bgp_rd() logic from packet-bgp
Change-Id: I588a58e0b2f7da5d3c9b86b28abb9c5b29e0dc8f
Reviewed-on: https://code.wireshark.org/review/7537
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bgp.h')
-rw-r--r-- | epan/dissectors/packet-bgp.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bgp.h b/epan/dissectors/packet-bgp.h new file mode 100644 index 0000000000..5662e0e24c --- /dev/null +++ b/epan/dissectors/packet-bgp.h @@ -0,0 +1,29 @@ +/* packet-bgp.h + * Routines for BGP packet disassembly + * (c) Copyright Ebben Aries <exa@fb.com> + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#ifndef __PACKET_BGP_H__ +#define __PACKET_BGP_H__ + +const char* +decode_bgp_rd(tvbuff_t *tvb, gint offset); + +#endif |