ReactOS 0.4.16-dev-297-gc569aee
tftp_common.h File Reference

Trivial File Transfer Protocol (RFC 1350) More...

#include "lwip/apps/tftp_opts.h"
#include "lwip/err.h"
#include "lwip/pbuf.h"
#include "lwip/ip_addr.h"
Include dependency graph for tftp_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tftp_context
 

Macros

#define LWIP_TFTP_MODE_SERVER   0x01
 
#define LWIP_TFTP_MODE_CLIENT   0x02
 
#define LWIP_TFTP_MODE_CLIENTSERVER   (LWIP_TFTP_MODE_SERVER | LWIP_TFTP_MODE_CLIENT)
 

Functions

err_t tftp_init_common (u8_t mode, const struct tftp_context *ctx)
 
void tftp_cleanup (void)
 

Detailed Description

Trivial File Transfer Protocol (RFC 1350)

Author
Logan Gunthorpe logan.nosp@m.g@de.nosp@m.ltate.nosp@m.e.co.nosp@m.m

Copyright (c) Deltatee Enterprises Ltd. 2013 All rights reserved.

Definition in file tftp_common.h.

Macro Definition Documentation

◆ LWIP_TFTP_MODE_CLIENT

#define LWIP_TFTP_MODE_CLIENT   0x02

Definition at line 98 of file tftp_common.h.

◆ LWIP_TFTP_MODE_CLIENTSERVER

#define LWIP_TFTP_MODE_CLIENTSERVER   (LWIP_TFTP_MODE_SERVER | LWIP_TFTP_MODE_CLIENT)

Definition at line 99 of file tftp_common.h.

◆ LWIP_TFTP_MODE_SERVER

#define LWIP_TFTP_MODE_SERVER   0x01

Definition at line 97 of file tftp_common.h.

Function Documentation

◆ tftp_cleanup()

void tftp_cleanup ( void  )

◆ tftp_init_common()

err_t tftp_init_common ( u8_t  mode,
const struct tftp_context ctx 
)