Commit Graph

9 Commits

Author SHA1 Message Date
Werner Almesberger 22f39b9d26 tftp.c: use symbolic constant for block size 2013-04-16 19:23:12 +02:00
Werner Almesberger 944dd5932d tftp.c (format_request): pass opcode as argument 2013-04-16 19:23:12 +02:00
Werner Almesberger aafb3ef8d7 tftp.c: use uintNN_t instead of "unsigned short", etc. 2013-04-16 19:23:12 +02:00
Werner Almesberger cdb5519272 tftp.h, tftp.c (tftp_get): make "buffer" void and use unsigned char internally 2013-04-16 19:23:12 +02:00
Werner Almesberger effa71a811 tftp.c: make "packet_data" unsigned and optimize strcpy+strlen 2013-04-16 19:23:12 +02:00
Werner Almesberger e0e447f0e0 tftp.c (rx_callback): simplify expressions containing unnecessary casts 2013-04-16 19:23:12 +02:00
Werner Almesberger 36613c7955 tftp.c: use symbolic constants for protocol opcodes 2013-04-16 19:23:12 +02:00
Sebastien Bourdeauducq 22f7d1716e Remove some boilerplate 2012-05-24 19:22:27 +02:00
Sebastien Bourdeauducq 4d754dbb33 bios: serial, network and flash boot support 2012-05-21 22:57:12 +02:00