1 /* packet-ipmi-update.c
2 * Sub-dissectors for IPMI messages (netFn=Firmware Update, PPS-specific)
3 * Copyright 2007-2008, Alexey Neyman, Pigeon Point Systems <avn@pigeonpoint.com>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28 #include <epan/packet.h>
30 #include "packet-ipmi.h"
32 static ipmi_cmd_t cmd_update
[] = {
33 { 0x00, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Upgrade Status", 0 },
34 { 0x01, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Upgrade Start", 0 },
35 { 0x02, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Upgrade Prepare", 0 },
36 { 0x03, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Upgrade Write", 0 },
37 { 0x04, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Upgrade Complete", 0 },
38 { 0x05, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Restore Backup", 0 },
39 { 0x06, IPMI_TBD
, NULL
, NULL
, "[PPS OEM] Query Backup Version", 0 }
43 ipmi_register_update(gint proto_ipmi _U_
)
45 ipmi_register_netfn_cmdtab(IPMI_UPDATE_REQ
, IPMI_OEM_PPS
, NULL
, 0, NULL
,
46 cmd_update
, array_length(cmd_update
));