summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-knxip.h
blob: 41d336def8194ae402710d766b1a50906fa38629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* 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 <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 uint8_t knxip_host_protocol;
extern uint8_t knxip_error;

#define MAX_KNX_DECRYPTION_KEYS  10

extern uint8_t knx_decryption_keys[ MAX_KNX_DECRYPTION_KEYS ][ KNX_KEY_LENGTH ];
extern uint8_t 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:
 */