1999-11-27 04:48:14 +00:00
|
|
|
/* packet-arp.h
|
|
|
|
* Definitions of routines for ARP packet disassembly that are used
|
|
|
|
* elsewhere
|
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
1999-11-27 04:48:14 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-11-27 04:48:14 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-11-27 04:48:14 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
1999-11-27 04:48:14 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PACKET_ARP_H__
|
|
|
|
#define __PACKET_ARP_H__
|
|
|
|
|
2011-02-11 03:33:11 +00:00
|
|
|
const gchar *tvb_arphrdaddr_to_str(tvbuff_t *tvb, gint offset, int ad_len, guint16 type);
|
1999-11-27 04:48:14 +00:00
|
|
|
|
2014-10-18 13:26:52 +00:00
|
|
|
void dissect_atm_nsap(tvbuff_t *tvb, packet_info* pinfo, int offset, int len, proto_tree *tree);
|
2015-12-15 00:25:31 +00:00
|
|
|
gboolean capture_arp(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header);
|
1999-11-27 04:48:14 +00:00
|
|
|
|
2012-10-14 15:27:52 +00:00
|
|
|
extern const value_string arp_hrd_vals[];
|
|
|
|
|
1999-11-27 04:48:14 +00:00
|
|
|
#endif /* packet-atm.h */
|