diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-ipmi-update.c | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-ipmi-update.c')
-rw-r--r-- | epan/dissectors/packet-ipmi-update.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ipmi-update.c b/epan/dissectors/packet-ipmi-update.c new file mode 100644 index 00000000..7dccb96a --- /dev/null +++ b/epan/dissectors/packet-ipmi-update.c @@ -0,0 +1,48 @@ +/* packet-ipmi-update.c + * Sub-dissectors for IPMI messages (netFn=Firmware Update, PPS-specific) + * Copyright 2007-2008, Alexey Neyman, Pigeon Point Systems <avn@pigeonpoint.com> + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "config.h" + +#include <epan/packet.h> + +#include "packet-ipmi.h" + +void proto_register_ipmi_update(void); + +static ipmi_cmd_t cmd_update[] = { + { 0x00, IPMI_TBD, NULL, NULL, "[PPS OEM] Upgrade Status", 0 }, + { 0x01, IPMI_TBD, NULL, NULL, "[PPS OEM] Upgrade Start", 0 }, + { 0x02, IPMI_TBD, NULL, NULL, "[PPS OEM] Upgrade Prepare", 0 }, + { 0x03, IPMI_TBD, NULL, NULL, "[PPS OEM] Upgrade Write", 0 }, + { 0x04, IPMI_TBD, NULL, NULL, "[PPS OEM] Upgrade Complete", 0 }, + { 0x05, IPMI_TBD, NULL, NULL, "[PPS OEM] Restore Backup", 0 }, + { 0x06, IPMI_TBD, NULL, NULL, "[PPS OEM] Query Backup Version", 0 } +}; + +void +proto_register_ipmi_update(void) +{ + ipmi_register_netfn_cmdtab(IPMI_UPDATE_REQ, IPMI_OEM_PPS, NULL, 0, NULL, + cmd_update, array_length(cmd_update)); +} + +/* + * Editor modelines - https://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |