iPXE
|
VMBus channel operations. More...
#include <vmbus.h>
Data Fields | |
int(* | recv_control )(struct vmbus_device *vmdev, uint64_t xid, const void *data, size_t len) |
Handle received control packet. More... | |
int(* | recv_data )(struct vmbus_device *vmdev, uint64_t xid, const void *data, size_t len, struct list_head *list) |
Handle received data packet. More... | |
int(* | recv_completion )(struct vmbus_device *vmdev, uint64_t xid, const void *data, size_t len) |
Handle received completion packet. More... | |
int(* | recv_cancellation )(struct vmbus_device *vmdev, uint64_t xid) |
Handle received cancellation packet. More... | |
int( * vmbus_channel_operations::recv_control) (struct vmbus_device *vmdev, uint64_t xid, const void *data, size_t len) |
Handle received control packet.
vmdev | VMBus device |
xid | Transaction ID |
data | Data |
len | Length of data |
rc | Return status code |
Definition at line 407 of file vmbus.h.
Referenced by vmbus_poll().
int( * vmbus_channel_operations::recv_data) (struct vmbus_device *vmdev, uint64_t xid, const void *data, size_t len, struct list_head *list) |
Handle received data packet.
vmdev | VMBus device |
xid | Transaction ID |
data | Data |
len | Length of data |
list | List of I/O buffers |
rc | Return status code |
This function takes ownership of the I/O buffer. It should eventually call vmbus_send_completion() to indicate to the host that the buffer can be reused.
Definition at line 423 of file vmbus.h.
Referenced by vmbus_poll().
int( * vmbus_channel_operations::recv_completion) (struct vmbus_device *vmdev, uint64_t xid, const void *data, size_t len) |
Handle received completion packet.
vmdev | VMBus device |
xid | Transaction ID |
data | Data |
len | Length of data |
rc | Return status code |
Definition at line 435 of file vmbus.h.
Referenced by vmbus_poll().
int( * vmbus_channel_operations::recv_cancellation) (struct vmbus_device *vmdev, uint64_t xid) |
Handle received cancellation packet.
vmdev | VMBus device |
xid | Transaction ID |
rc | Return status code |
Definition at line 444 of file vmbus.h.
Referenced by vmbus_poll().