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

tftp_send_message() function

sends a TFTP message

Syntax

err_t tftp_send_message(struct udp_pcb *upcb,     const ip_addr_t *to_ip,     unsigned short to_port,     char *buf,     unsigned short buflen);

Arguments

upcb

pointer on a udp pcb

to_ip

pointer on remote IP address

to_port

pointer on remote port

buf

pointer on buffer where to create the message

buflen

Return value

error code

References

LocationReferrerText
tftpserver.c:81
err_t tftp_send_message(struct udp_pcb *upcb, const ip_addr_t *to_ip, unsigned short to_port, char *buf, unsigned short buflen)
tftpserver.c:144tftp_send_error_message()
return tftp_send_message(upcb, to, to_port, buf, error_len);
tftpserver.c:170tftp_send_data_packet()
return tftp_send_message(upcb, to, to_port, packet, buflen + 4);
tftpserver.c:197tftp_send_ack_packet()
return tftp_send_message(upcb, to, to_port, packet, TFTP_ACK_PKT_LEN);

Call Tree

Functions calling tftp_send_message()
Functions called by tftp_send_message()
tftp_send_message()
memcpy()
all items filtered out
Data read by tftp_send_message()
Data written by tftp_send_message()
tftp_send_message()
tftp_send_message()::err
tftp_send_message()::pkt_buf
all items filtered out
Type of tftp_send_message()
tftp_send_message()
all items filtered out