TCP_FIN is only used within LwIP.
 
Symbols
loading...
Files
loading...

TCP_FIN macro

Syntax

#define TCP_FIN 0x01U

References

LocationText
tcp.h:72
#define TCP_FIN 0x01U
tcp_in.c:236
if (flags & (TCP_FIN | TCP_SYN)) {
tcp_in.c:762
} else if (flags & TCP_FIN) {
tcp_in.c:1470
if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
tcp_in.c:1473
TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) & ~(unsigned int)TCP_FIN);
tcp_in.c:1564
if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
tcp_out.c:908
if (split_flags & TCP_FIN) {
tcp_out.c:909
split_flags &= ~TCP_FIN;
tcp_out.c:910
remainder_flags |= TCP_FIN;
tcp_out.c:1011
if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) {
tcp_out.c:1013
TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN);
tcp_out.c:1019
return tcp_enqueue_flags(pcb, TCP_FIN);
tcp_out.c:1042
(flags & (TCP_SYN | TCP_FIN)) != 0);
tcp_out.c:1113
if ((flags & TCP_SYN) || (flags & TCP_FIN)) {
tcp_out.c:1117
if (flags & TCP_FIN) {
tcp_out.c:2153
is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0);
tcp_out.c:2166
TCPH_FLAGS_SET(tcphdr, TCP_ACK | TCP_FIN);
tcp_priv.h:155
#define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1U : 0U))