Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tftpc Struct Reference

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

#include <tftp.h>

Data Fields

struct sockaddr server
 Socket address pointing to the remote TFTP server.
 
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

◆ callback

tftp_callback_t tftpc::callback

Event notification callback.

No notification if NULL

◆ server

struct sockaddr tftpc::server

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: