Activate the IPMI changes
From Alexey Neyman. svn path=/trunk/; revision=25951
This commit is contained in:
parent
28e4827320
commit
82ca2b89f0
|
@ -481,6 +481,7 @@ CLEAN_DISSECTOR_SRC = \
|
|||
packet-ipdc.c \
|
||||
packet-ipfc.c \
|
||||
packet-ipmi.c \
|
||||
packet-ipmi-session.c \
|
||||
packet-ipp.c \
|
||||
packet-ipsec.c \
|
||||
packet-ipsec-tcp.c \
|
||||
|
@ -963,6 +964,7 @@ DISSECTOR_INCLUDES = \
|
|||
packet-ip.h \
|
||||
packet-ipdc.h \
|
||||
packet-ipfc.h \
|
||||
packet-ipmi.h \
|
||||
packet-ipsec.h \
|
||||
packet-ipv6.h \
|
||||
packet-ipx.h \
|
||||
|
@ -1122,10 +1124,23 @@ DISSECTOR_INCLUDES = \
|
|||
rpc_defrag.h \
|
||||
$(GENERATED_HEADER_FILES)
|
||||
|
||||
# IPMI sub-parsers for each network function code
|
||||
IPMI_SUBPARSERS = \
|
||||
packet-ipmi-app.c \
|
||||
packet-ipmi-bridge.c \
|
||||
packet-ipmi-chassis.c \
|
||||
packet-ipmi-picmg.c \
|
||||
packet-ipmi-se.c \
|
||||
packet-ipmi-storage.c \
|
||||
packet-ipmi-transport.c \
|
||||
packet-ipmi-pps.c \
|
||||
packet-ipmi-update.c
|
||||
|
||||
# Dissector helpers. They're included in the source files in this
|
||||
# directory, but they're not dissectors themselves, i.e. they're not
|
||||
# used to generate "register.c").
|
||||
DISSECTOR_SUPPORT_SRC = \
|
||||
$(IPMI_SUBPARSERS) \
|
||||
packet-dcerpc-nt.c \
|
||||
register.c
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -51,7 +51,7 @@
|
|||
* 0x30..0x3f. Note that the commands which bear defining body signature
|
||||
* (netFns 0x2c..0x2f) are registered with IPMI_OEM_NONE, as they can be
|
||||
* recognized. */
|
||||
enum ipmi_oem_selector {
|
||||
enum {
|
||||
IPMI_OEM_NONE = 0,
|
||||
IPMI_OEM_PPS /* Pigeon Point Systems extensions */
|
||||
};
|
||||
|
@ -97,7 +97,7 @@ gboolean ipmi_getsaveddata(guint idx, guint32 *val);
|
|||
typedef struct ipmi_netfn_handler {
|
||||
struct ipmi_netfn_handler *next;
|
||||
const char *desc;
|
||||
enum ipmi_oem_selector oem_selector;
|
||||
guint oem_selector;
|
||||
const guint8 *sig;
|
||||
ipmi_cmd_t *cmdtab;
|
||||
guint32 cmdtablen;
|
||||
|
@ -135,7 +135,7 @@ void ipmi_fmt_udpport(gchar *, guint32);
|
|||
void ipmi_fmt_percent(gchar *, guint32);
|
||||
|
||||
/* Registrar for subparsers */
|
||||
void ipmi_register_netfn_cmdtab(guint32 netfn, enum ipmi_oem_selector oem_selector,
|
||||
void ipmi_register_netfn_cmdtab(guint32 netfn, guint oem_selector,
|
||||
const guint8 *sig, guint32 siglen, const char *desc,
|
||||
ipmi_cmd_t *cmdtab, guint32 cmdtablen);
|
||||
|
||||
|
|
Loading…
Reference in New Issue