Whamcloud - gitweb
LU-4378 wireshark: Add parsing for HSM commands
[fs/lustre-release.git] / lustre / contrib / wireshark / wireshark-compat.h
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * Copyright (c) 2012, 2013, Intel Corporation.
13  */
14
15 #include <wireshark/config.h>
16
17 #define WIRESHARK_VERSION                       \
18         ((VERSION_MAJOR * 1000 * 1000) +        \
19          (VERSION_MINOR * 1000) +               \
20          (VERSION_MICRO))
21
22 /* Wireshark 1.12 brings API change */
23 #if WIRESHARK_VERSION < 1012000
24 # define WIRESHARK_COMPAT
25 #endif