Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

TFTP client definition to maintain information relevant to the client. More...

#include <tftp.h>

Data Fields

union { 
   struct net_sockaddr_storage   server_addr 
 Socket address pointing to the remote TFTP server. More...
}; 
 Socket address storage.
tftp_callback_t callback
 Event notification callback.
uint8_t tftp_buf [(512+4)]
 Buffer for internal usage.

Detailed Description

TFTP client definition to maintain information relevant to the client.

Note
Application must initialize server and callback before calling GET or PUT API with the tftpc structure.

Field Documentation

◆ [union]

union { ... } tftpc

Socket address storage.

◆ callback

tftp_callback_t tftpc::callback

Event notification callback.

No notification if NULL

◆ server_addr

struct net_sockaddr_storage tftpc::server_addr

Socket address pointing to the remote TFTP server.

◆ tftp_buf

uint8_t tftpc::tftp_buf[(512+4)]

Buffer for internal usage.


The documentation for this struct was generated from the following file: