#include <stdio.h>
#include <fcntl.h>
#include <io.h>
#include <dev/board.h>
#include <dev/pnut.h>
#include <dev/sbimmc.h>
#include <fs/phatfs.h>
#include <sys/confnet.h>
#include <sys/version.h>
#include <sys/heap.h>
#include <sys/thread.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <net/route.h>
#include <pro/dhcp.h>
#include <pro/ftpd.h>
#include <pro/wins.h>
#include <pro/sntp.h>
#include <pro/discover.h>
Go to the source code of this file.
Define Documentation
#define DBG_BAUDRATE 115200 |
#define MY_MAC { 0x00, 0x06, 0x98, 0x30, 0x00, 0x35 } |
#define MY_IPADDR "192.168.192.35" |
#define MY_IPMASK "255.255.255.0" |
#define MY_IPGATE "192.168.192.1" |
#define FTPD_TIMEOUT 600000 |
#define TCPIP_BUFSIZ 5840 |
#define FSDEV_NAME "NONE" |
#define MYTIMED "130.149.17.21" |
Function Documentation
void FtpThread |
( |
void * |
arg | ) |
|
void InitDebugDevice |
( |
void |
| ) |
|
Definition at line 453 of file ftpserv.c.
References _O_BINARY, _O_RDWR, _open(), CC_STRING, _CONFNET::cdn_ip_addr, _CONFNET::cdn_ip_mask, confnet, DISF_INITAL_ANN, FSDEV_NAME, FtpThread(), inet_ntoa(), InitDebugDevice(), localtime(), NutIpRouteQuery(), NutRegisterDevice(), NutRegisterDiscovery(), NutRegisterFtpRoot(), NutThreadCreate(), NutVersionString(), NutWinsNameQuery(), printf, puts, time(), _tm::tm_hour, _tm::tm_mday, _tm::tm_min, _tm::tm_mon, _tm::tm_sec, and _tm::tm_year.