Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/hyperv/include/vmbus.h
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | |||||
struct vmbus_chanpkt_rxbuf { | struct vmbus_chanpkt_rxbuf { | ||||
struct vmbus_chanpkt_hdr cp_hdr; | struct vmbus_chanpkt_hdr cp_hdr; | ||||
uint16_t cp_rxbuf_id; | uint16_t cp_rxbuf_id; | ||||
uint16_t cp_rsvd; | uint16_t cp_rsvd; | ||||
uint32_t cp_rxbuf_cnt; | uint32_t cp_rxbuf_cnt; | ||||
struct vmbus_rxbuf_desc cp_rxbuf[]; | struct vmbus_rxbuf_desc cp_rxbuf[]; | ||||
} __packed; | } __packed; | ||||
#define VMBUS_CHAN_SGLIST_MAX 32 | |||||
#define VMBUS_CHAN_PRPLIST_MAX 32 | |||||
struct vmbus_channel; | struct vmbus_channel; | ||||
struct hyperv_guid; | struct hyperv_guid; | ||||
typedef void (*vmbus_chan_callback_t)(struct vmbus_channel *, void *); | typedef void (*vmbus_chan_callback_t)(struct vmbus_channel *, void *); | ||||
static __inline struct vmbus_channel * | static __inline struct vmbus_channel * | ||||
vmbus_get_channel(device_t dev) | vmbus_get_channel(device_t dev) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |