tcp_send_fin() is only used within LwIP.
 
Symbols
loading...
Files
loading...

tcp_send_fin() function

Called by tcp_close() to send a segment including FIN flag but not data. This FIN may be added to an existing segment or a new, otherwise empty segment is enqueued.

Syntax

err_t tcp_send_fin(struct tcp_pcb *pcb);
Implemented in tcp_out.c:1000

Arguments

pcb

the tcp_pcb over which to send a segment

Return value

ERR_OK if sent, another err_t otherwise

References

LocationReferrerText
tcp_out.c:1001
tcp_send_fin(struct tcp_pcb *pcb)
tcp_priv.h:462
err_t tcp_send_fin(struct tcp_pcb *pcb);
tcp.c:416tcp_close_shutdown_fin()
err = tcp_send_fin(pcb);
tcp.c:424tcp_close_shutdown_fin()
err = tcp_send_fin(pcb);
tcp.c:431tcp_close_shutdown_fin()
err = tcp_send_fin(pcb);

Call Tree

Functions calling tcp_send_fin()
Functions called by tcp_send_fin()
all items filtered out
tcp_send_fin()
printf()
all items filtered out
Data read by tcp_send_fin()
Data written by tcp_send_fin()
tcp_send_fin()
tcp_send_fin()::last_unsent
all items filtered out
Type of tcp_send_fin()
tcp_send_fin()
all items filtered out