Coverage Report

Created: 2025-08-04 07:15

/src/wireshark/epan/dissectors/packet-ipmi-update.c
Line
Count
Source
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>
4
 *
5
 * Wireshark - Network traffic analyzer
6
 * By Gerald Combs <gerald@wireshark.org>
7
 * Copyright 1998 Gerald Combs
8
 *
9
 * SPDX-License-Identifier: GPL-2.0-or-later
10
 */
11
12
#include "config.h"
13
14
#include <epan/packet.h>
15
16
#include "packet-ipmi.h"
17
18
void proto_register_ipmi_update(void);
19
20
static const ipmi_cmd_t cmd_update[] = {
21
  { 0x00, IPMI_TBD,   NULL, NULL, "[PPS OEM] Upgrade Status", 0 },
22
  { 0x01, IPMI_TBD,   NULL, NULL, "[PPS OEM] Upgrade Start", 0 },
23
  { 0x02, IPMI_TBD,   NULL, NULL, "[PPS OEM] Upgrade Prepare", 0 },
24
  { 0x03, IPMI_TBD,   NULL, NULL, "[PPS OEM] Upgrade Write", 0 },
25
  { 0x04, IPMI_TBD,   NULL, NULL, "[PPS OEM] Upgrade Complete", 0 },
26
  { 0x05, IPMI_TBD,   NULL, NULL, "[PPS OEM] Restore Backup", 0 },
27
  { 0x06, IPMI_TBD,   NULL, NULL, "[PPS OEM] Query Backup Version", 0 }
28
};
29
30
void
31
proto_register_ipmi_update(void)
32
14
{
33
14
  ipmi_register_netfn_cmdtab(IPMI_UPDATE_REQ, IPMI_OEM_PPS, NULL, 0, NULL,
34
14
      cmd_update, array_length(cmd_update));
35
14
}
36
37
/*
38
 * Editor modelines  -  https://www.wireshark.org/tools/modelines.html
39
 *
40
 * Local variables:
41
 * c-basic-offset: 8
42
 * tab-width: 8
43
 * indent-tabs-mode: t
44
 * End:
45
 *
46
 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
47
 * :indentSize=8:tabSize=8:noTabs=false:
48
 */