tftp_send_data_packet() is only used within LwIP_TFTP_Server.
 
Symbols
loading...
Files
loading...

tftp_send_data_packet() function

Sends TFTP data packet

Syntax

int tftp_send_data_packet(struct udp_pcb *upcb,     const ip_addr_t *to,     int to_port,     unsigned short block,     char *buf,     int buflen);

Arguments

upcb

pointer on a udp pcb

to

pointer on remote IP address

to_port

pointer on remote udp port

block

block number

buf

pointer on data buffer

buflen

buffer length

Return value

error value

References

LocationReferrerText
tftpserver.c:158
int tftp_send_data_packet(struct udp_pcb *upcb, const ip_addr_t *to, int to_port, unsigned short block,
tftpserver.c:266tftp_send_next_block()
tftp_send_data_packet(upcb, to_ip, to_port, args->block, args->data, args->data_len);

Call Tree

Functions calling tftp_send_data_packet()
Functions called by tftp_send_data_packet()
all items filtered out
tftp_send_data_packet()