2 * Routines for DDTP (Dynamic DNS Tools Protocol) packet disassembly
3 * see http://ddt.sourceforge.net/
4 * Olivier Abad <oabad@noos.fr>
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 #ifndef __PACKET_DDTP_H__
31 #define __PACKET_DDTP_H__
33 #define DDTP_VERSION_ERROR 0
34 #define DDTP_VERSION_4 1
35 #define DDTP_VERSION_5 2
37 #define DDTP_ENCRYPT_ERROR 0
38 #define DDTP_ENCRYPT_PLAINTEXT 1
39 #define DDTP_ENCRYPT_BLOWFISH 2
41 #define DDTP_MESSAGE_ERROR 0
42 #define DDTP_UPDATE_QUERY 1
43 #define DDTP_UPDATE_REPLY 2
44 #define DDTP_ALIVE_QUERY 3
45 #define DDTP_ALIVE_REPLY 4
47 #define DDTP_MARK_ONLINE 0
48 #define DDTP_MARK_OFFLINE 1
50 #define DDTP_UPDATE_SUCCEEDED 0
51 #define DDTP_UPDATE_FAILED 1
52 #define DDTP_INVALID_PASSWORD 2
53 #define DDTP_INVALID_ACCOUNT 3
54 #define DDTP_INVALID_OPCODE 4