42#define HTTP_BLKSIZE 512
75 DBGC ( http,
"HTTP %p could not insert block translator: %s\n",
106 DBGC ( http,
"HTTP %p could not insert block translator: %s\n",
#define NULL
NULL pointer (VOID *)
struct arbelprm_rc_send_wqe rc
unsigned long long uint64_t
#define assert(condition)
Assert a condition at run-time.
int block_translate(struct interface *block, void *buffer, size_t size)
Insert block device translator.
uint8_t data[48]
Additional event data.
static unsigned int count
Number of entries.
uint32_t buffer
Buffer index (or NETVSC_RNDIS_NO_BUFFER)
uint64_t lba
Starting block number.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Hyper Text Transport Protocol.
int http_block_read_capacity(struct http_transaction *http, struct interface *data)
Read block device capacity.
#define HTTP_BLKSIZE
Block size used for HTTP block device requests.
int http_block_read(struct http_transaction *http, struct interface *data, uint64_t lba, unsigned int count, void *buffer, size_t len)
Read from block device.
struct http_method http_head
HTTP HEAD method.
struct http_method http_get
HTTP GET method.
int http_open(struct interface *xfer, struct http_method *method, struct uri *uri, struct http_request_range *range, struct http_request_content *content)
Open HTTP transaction.
void intf_restart(struct interface *intf, int rc)
Shut down and restart an object interface.
struct pci_range range
PCI bus:dev.fn address range.
char * strerror(int errno)
Retrieve string representation of error number.
HTTP request range descriptor.
struct uri * uri
Request URI.