diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-knxip.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-knxip.h')
-rw-r--r-- | epan/dissectors/packet-knxip.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/epan/dissectors/packet-knxip.h b/epan/dissectors/packet-knxip.h new file mode 100644 index 00000000..caaf8643 --- /dev/null +++ b/epan/dissectors/packet-knxip.h @@ -0,0 +1,45 @@ +/* packet-knxip.h + * Routines for KNXnet/IP dissection + * Copyright 2004, Jan Kessler <kessler@ise.de> + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#ifndef PACKET_KNXIP_H +#define PACKET_KNXIP_H + +#include <glib.h> +#include <epan/expert.h> +#include "packet-knxip_decrypt.h" + +#define KIP_ERROR &ei_knxip_error +#define KIP_WARNING &ei_knxip_warning + +extern expert_field ei_knxip_error; +extern expert_field ei_knxip_warning; + +extern guint8 knxip_host_protocol; +extern guint8 knxip_error; + +#define MAX_KNX_DECRYPTION_KEYS 10 + +extern guint8 knx_decryption_keys[ MAX_KNX_DECRYPTION_KEYS ][ KNX_KEY_LENGTH ]; +extern guint8 knx_decryption_key_count; + +#endif + +/* + * Editor modelines - https://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 2 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * vi: set shiftwidth=2 tabstop=8 expandtab: + * :indentSize=2:tabSize=8:noTabs=true: + */ |