diff options
author | Ralf Nasilowski <Ralf.Nasilowski@ise.de> | 2018-08-16 10:49:31 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2018-10-16 09:03:43 +0000 |
commit | 9769df50efd830254aef0310562cdf47edd4ada3 (patch) | |
tree | 4e0b386f619e5a85c44a13dac9cf00071bfece1c /epan/dissectors/packet-knxip.h | |
parent | 84fd2d79682278927ce07361d901faed35bd1202 (diff) |
KNX-IP: new KNXnet/IP dissector
The new KNXnet/IP dissector replaces the old KNXnet/IP dissector.
The new KNXnet/IP dissector supports the new KNX features
- A_MemoryExtended services
- A_PropertyExt services
- KNX Data Security
- KNXnet/IP Core V2
- KNXnet/IP Device Management V2
- KNXnet/IP Tunneling V2
- KNXnet/IP Routing V2
- KNXnet/IP Security
Change-Id: I3d1d716ef03d16d2720e6a1fcb23c2243d1cd956
Reviewed-on: https://code.wireshark.org/review/29155
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-knxip.h')
-rw-r--r-- | epan/dissectors/packet-knxip.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/epan/dissectors/packet-knxip.h b/epan/dissectors/packet-knxip.h new file mode 100644 index 0000000000..b5a04bdaa4 --- /dev/null +++ b/epan/dissectors/packet-knxip.h @@ -0,0 +1,56 @@ +/* packet-knxip.h + * Routines for KNXnet/IP dissection + * Copyright 2004, Jan Kessler <kessler@ise.de> + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@ethereal.com> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#ifndef PACKET_KNXIP_H +#define PACKET_KNXIP_H + +#include <stdarg.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +#include <glib.h> +#include <epan/expert.h> +#include <epan/packet.h> +#include <epan/proto.h> +#include <epan/ipproto.h> +#include <epan/prefs.h> +#include <epan/tvbuff.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: + */ |