Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/utilities/vmbus_icreg.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | struct vmbus_icmsg_negotiate { | ||||
* - The first set consists of #ic_fwver_cnt supported framework | * - The first set consists of #ic_fwver_cnt supported framework | ||||
* versions. | * versions. | ||||
* - The second set consists of #ic_msgver_cnt supported message | * - The second set consists of #ic_msgver_cnt supported message | ||||
* versions. | * versions. | ||||
*/ | */ | ||||
uint32_t ic_ver[]; | uint32_t ic_ver[]; | ||||
} __packed; | } __packed; | ||||
/* VMBUS_ICMSG_TYPE_HEARTBEAT */ | |||||
struct vmbus_icmsg_heartbeat { | |||||
struct vmbus_icmsg_hdr ic_hdr; | |||||
uint64_t ic_seq; | |||||
uint32_t ic_rsvd[8]; | |||||
} __packed; | |||||
#define VMBUS_ICMSG_HEARTBEAT_SIZE_MIN \ | |||||
__offsetof(struct vmbus_icmsg_heartbeat, ic_rsvd[0]) | |||||
#endif /* !_VMBUS_ICREG_H_ */ | #endif /* !_VMBUS_ICREG_H_ */ |