Lines Matching refs:tftp_block_size
157 static unsigned short tftp_block_size = TFTP_BLOCK_SIZE; variable
163 ulong offset = block * tftp_block_size + tftp_block_wrap_offset - in store_block()
164 tftp_block_size; in store_block()
238 ulong offset = block * tftp_block_size + tftp_block_wrap_offset - in load_block()
239 tftp_block_size; in load_block()
261 pos = tftp_cur_block * tftp_block_size + in show_block_marker()
308 tftp_block_wrap_offset += tftp_block_size * TFTP_SEQUENCE_SIZE; in update_block_number()
406 int toload = tftp_block_size; in tftp_send()
556 tftp_block_size = (unsigned short) in tftp_handler()
560 (char *)pkt + i + 8, tftp_block_size); in tftp_handler()
561 if (tftp_block_size > tftp_block_size_option) { in tftp_handler()
563 tftp_block_size); in tftp_handler()
672 if (len < tftp_block_size) { in tftp_handler()
883 tftp_block_size = TFTP_BLOCK_SIZE; in tftp_start()
915 tftp_block_size = TFTP_BLOCK_SIZE; in tftp_start_server()