BeRTOS
|
TFTP protocol implementation. More...
#include "tftp.h"
#include "cfg/cfg_tftp.h"
#include <cfg/log.h>
#include <lwip/inet.h>
#include <lwip/sockets.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. |
TFTP protocol implementation.
Definition in file tftp.c.
int tftp_init | ( | TftpSession * | ctx, |
unsigned short | port, | ||
mtime_t | timeout | ||
) |
KFile* tftp_listen | ( | TftpSession * | ctx, |
char * | filename, | ||
size_t | len, | ||
TftpOpenMode * | mode | ||
) |