diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-12-09 16:14:42 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-12-09 16:14:42 +0000 |
commit | fdec74f1c79f922b3527ee7994907e7413ca76f1 (patch) | |
tree | 031da7e635d279907fd6f46789e262aa1dc9a238 /epan/dissectors/packet-nhrp.h | |
parent | ba1b45448ae488730aec49d8f356f16ab359b8a7 (diff) |
From: Deepak Jain
changes/addition to support decode for Next Hop Resolution Protocol
svn path=/trunk/; revision=16744
Diffstat (limited to 'epan/dissectors/packet-nhrp.h')
-rw-r--r-- | epan/dissectors/packet-nhrp.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nhrp.h b/epan/dissectors/packet-nhrp.h new file mode 100644 index 0000000000..7774b7e733 --- /dev/null +++ b/epan/dissectors/packet-nhrp.h @@ -0,0 +1,48 @@ +/* packet-nhrp.h + * Definitions for NHRP + * + * $Id$ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@ethereal.com> + * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + + +#ifndef __PACKET_NHRP_H__ +#define __PACKET_NHRP_H__ + +typedef struct _e_nhrp { + guint16 ar_afn; + guint16 ar_pro_type; + guint8 ar_pro_snap[5]; + guint8 ar_hopCnt; + guint16 ar_pktsz; + guint16 ar_chksum; + guint16 ar_extoff; + guint8 ar_op_version; + guint8 ar_op_type; + guint8 ar_shtl; + guint8 ar_sstl; +} e_nhrp_hdr; + +void capture_nhrp(const guchar *, int, int, packet_counts *); + +/* Export the DSCP value-string table for other protocols */ +/*extern const value_string dscp_vals[];*/ + +#endif |