summaryrefslogtreecommitdiff
path: root/src/plugins/dummy/dummy.h
blob: bbe3aa3f35f2dc557e91d1b45bb496917bb0596d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef IPMI_DUMMYIPMI_H
# define IPMI_DUMMYIPMI_H

struct dummy_rq {
	struct {
		uint8_t netfn;
		uint8_t lun;
		uint8_t cmd;
		uint8_t target_cmd;
		uint16_t data_len;
		uint8_t *data;
	} msg;
};

struct dummy_rs {
	struct {
		uint8_t netfn;
		uint8_t cmd;
		uint8_t seq;
		uint8_t lun;
	} msg;

	uint8_t ccode;
	int data_len;
	uint8_t *data;
};

#endif