Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-icmp.h
blobc7686ce9738a16a0a28f1c3f312bd49b130ce855
1 /* packet-icmp.h
2 * Definitions for ICMP: http://tools.ietf.org/html/rfc792.
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <gerald@wireshark.org>
6 * Copyright 1998 Gerald Combs
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
11 #ifndef __PACKET_ICMP_H__
12 #define __PACKET_ICMP_H__
14 /* ICMP echo request/reply transaction statistics ... used by ICMP tap(s) */
15 typedef struct _icmp_transaction_t {
16 uint32_t rqst_frame;
17 uint32_t resp_frame;
18 nstime_t rqst_time;
19 nstime_t resp_time;
20 } icmp_transaction_t;
22 /* ICMP info ... used by sequence analysis tap and stored in pinfo with p_add_proto_data */
23 typedef struct {
24 uint8_t type;
25 uint8_t code;
26 } icmp_info_t;
28 int get_best_guess_timestamp(tvbuff_t *tvb, int offset, nstime_t *comp_ts, nstime_t *out_ts);
30 #endif