Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

packet-icmp.h
1 /* packet-icmp.h
2 * Definitions for ICMP: http://tools.ietf.org/html/rfc792.
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11 #ifndef __PACKET_ICMP_H__
12 #define __PACKET_ICMP_H__
13
14 /* ICMP echo request/reply transaction statistics ... used by ICMP tap(s) */
15 typedef struct _icmp_transaction_t {
16 guint32 rqst_frame;
17 guint32 resp_frame;
18 nstime_t rqst_time;
19 nstime_t resp_time;
20 } icmp_transaction_t;
21
22 /* ICMP info ... used by sequence analysis tap and stored in pinfo with p_add_proto_data */
23 typedef struct {
24 guint8 type;
25 guint8 code;
26 } icmp_info_t;
27
28 #endif
nstime_t
Definition: nstime.h:27
icmp_info_t
Definition: packet-icmp.h:23
_icmp_transaction_t
Definition: packet-icmp.h:15