2011-04-05 20:21:59 +00:00
|
|
|
/* packet-icmp.h
|
|
|
|
* Definitions for ICMP: http://tools.ietf.org/html/rfc792.
|
|
|
|
*
|
2011-04-29 14:56:40 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-02-12 11:23:27 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
2011-04-05 20:21:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PACKET_ICMP_H__
|
|
|
|
#define __PACKET_ICMP_H__
|
|
|
|
|
|
|
|
/* ICMP echo request/reply transaction statistics ... used by ICMP tap(s) */
|
|
|
|
typedef struct _icmp_transaction_t {
|
|
|
|
guint32 rqst_frame;
|
|
|
|
guint32 resp_frame;
|
|
|
|
nstime_t rqst_time;
|
2012-05-03 01:48:59 +00:00
|
|
|
nstime_t resp_time;
|
2011-04-05 20:21:59 +00:00
|
|
|
} icmp_transaction_t;
|
|
|
|
|
2015-08-27 21:35:58 +00:00
|
|
|
/* ICMP info ... used by sequence analysis tap and stored in pinfo with p_add_proto_data */
|
|
|
|
typedef struct {
|
|
|
|
guint8 type;
|
|
|
|
guint8 code;
|
|
|
|
} icmp_info_t;
|
|
|
|
|
2011-04-05 20:21:59 +00:00
|
|
|
#endif
|