tftp.c File Reference
TFTP protocol implementation. More...
#include "tftp.h"#include <cfg/compiler.h>#include <lwip/sockets.h>#include <io/kfile.h>#include "cfg/cfg_tftp.h"#include <cfg/log.h>#include <lwip/inet.h>#include <string.h>Go to the source code of this file.
Functions | |
| KFile * | tftp_listen (TftpSession *ctx, char *filename, size_t len, TftpOpenMode *mode) |
| Listen for incoming tftp sessions. | |
| int | tftp_init (TftpSession *ctx, unsigned short port, mtime_t timeout) |
| Init a server session. | |
Detailed Description
TFTP protocol implementation.
Definition in file tftp.c.
Function Documentation
| int tftp_init | ( | TftpSession * | ctx, | |
| unsigned short | port, | |||
| mtime_t | timeout | |||
| ) |
| KFile* tftp_listen | ( | TftpSession * | ctx, | |
| char * | filename, | |||
| size_t | len, | |||
| TftpOpenMode * | mode | |||
| ) |
