1 #ifndef _IPXE_GUESTRPC_H 2 #define _IPXE_GUESTRPC_H 16 #define GUESTRPC_MAGIC 0x49435052 19 #define GUESTRPC_OPEN 0x00 22 #define GUESTRPC_OPEN_SUCCESS 0x00010000 25 #define GUESTRPC_COMMAND_LEN 0x01 28 #define GUESTRPC_COMMAND_LEN_SUCCESS 0x00810000 31 #define GUESTRPC_COMMAND_DATA 0x02 34 #define GUESTRPC_COMMAND_DATA_SUCCESS 0x00010000 37 #define GUESTRPC_REPLY_LEN 0x03 40 #define GUESTRPC_REPLY_LEN_SUCCESS 0x00830000 43 #define GUESTRPC_REPLY_DATA 0x04 46 #define GUESTRPC_REPLY_DATA_SUCCESS 0x00010000 49 #define GUESTRPC_REPLY_FINISH 0x05 52 #define GUESTRPC_REPLY_FINISH_SUCCESS 0x00010000 55 #define GUESTRPC_CLOSE 0x06 58 #define GUESTRPC_CLOSE_SUCCESS 0x00010000 61 #define GUESTRPC_SUCCESS 0x2031
int guestrpc_command(int channel, const char *command, char *reply, size_t reply_len)
Issue GuestRPC command.
VMware backdoor mechanism.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint32_t channel
RNDIS channel.
int guestrpc_open(void)
Open GuestRPC channel.
void guestrpc_close(int channel)
Close GuestRPC channel.