Searched refs:blockno (Results 1 - 3 of 3) sorted by relevance
/barrelfish-master/lib/tftp/ |
H A D | common.c | 28 errval_t tftp_send_ack(struct net_socket *socket, uint32_t blockno, argument 31 TFTP_DEBUG_PACKETS("sending ack(%u)\n", blockno); 40 length += set_block_no(payload + length, blockno);
|
H A D | client.c | 65 static errval_t tftp_client_send_data(struct net_socket *socket, uint32_t blockno, void *buf, argument 72 offset += set_block_no(payload + offset, blockno); 95 uint32_t blockno; local 98 blockno = get_block_no(data, size); 99 if (blockno == TFTP_ERR_INVALID_BUFFER) { 104 if (blockno == tftp_client.block) { 110 uint32_t offset = TFTP_BLOCKSIZE * blockno; 123 TFTP_DEBUG("got double packet: %u\n", blockno); 140 uint32_t blockno; local 143 blockno [all...] |
H A D | tftp_internal.h | 252 * \param blockno block number to write 256 static inline size_t set_block_no(void *buf, uint16_t blockno) { argument 258 *p = (uint8_t)((blockno >> 8) & 0xff); p++; 259 *p = (uint8_t)(blockno & 0xff); 268 errval_t tftp_send_ack(struct net_socket *socket, uint32_t blockno,
|
Completed in 91 milliseconds