Commit graph

11 commits

Author SHA1 Message Date
Sebastien Bourdeauducq
2e3c2611a6 software: put network code in a library 2013-05-01 00:12:13 +02:00
Werner Almesberger
1ab89d6a62 tftp.h, tftp.c: add tftp_put 2013-04-16 19:23:12 +02:00
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