Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ip_opts.h
Go to the documentation of this file.
1/* ip_opts.h
2 * Definitions of structures and routines for dissection of options that
3 * work like IPv4 options
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11#pragma once
12#include "ws_symbol_export.h"
13
22
23
24
25/* Quick-Start option, as defined by RFC4782 */
26#define QS_FUNC_MASK 0xf0
27#define QS_RATE_MASK 0x0f
28#define QS_RATE_REQUEST 0
29#define QS_RATE_REPORT 8
30
31/* IP options */
32#define IPOPT_COPY_MASK 0x80
33#define IPOPT_CLASS_MASK 0x60
34#define IPOPT_NUMBER_MASK 0x1F
35
36WS_DLL_PUBLIC const value_string qs_func_vals[];
37WS_DLL_PUBLIC value_string_ext qs_rate_vals_ext;
38
39WS_DLL_PUBLIC const value_string ipopt_type_class_vals[];
40WS_DLL_PUBLIC const value_string ipopt_type_number_vals[];
opt_len_type
Definition ip_opts.h:17
@ OPT_LEN_VARIABLE_LENGTH
Definition ip_opts.h:20
@ OPT_LEN_FIXED_LENGTH
Definition ip_opts.h:19
@ OPT_LEN_NO_LENGTH
Definition ip_opts.h:18
Extended metadata for a value_string array.
Definition value_string.h:325
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33