Searched refs:TCP_FIN (Results 1 – 7 of 7) sorted by relevance
94 #define TCP_FIN 0x01 macro177 #define TCP_FIN_WAIT_1 ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK | TCP_FIN ) | \186 #define TCP_FIN_WAIT_2 ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK | TCP_FIN ) | \187 TCP_STATE_ACKED ( TCP_SYN | TCP_FIN ) | \200 ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK | TCP_FIN ) | \202 TCP_STATE_RCVD ( TCP_SYN | TCP_FIN ) )209 #define TCP_TIME_WAIT ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK | TCP_FIN ) | \210 TCP_STATE_ACKED ( TCP_SYN | TCP_FIN ) | \211 TCP_STATE_RCVD ( TCP_SYN | TCP_FIN ) )220 TCP_STATE_RCVD ( TCP_SYN | TCP_FIN ) )[all …]
175 tcplen = p->tot_len + ((flags & (TCP_FIN | TCP_SYN)) ? 1 : 0); in tcp_input()546 } else if (flags & TCP_FIN) { in tcp_timewait_input()801 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { in tcp_oos_insert_segment()813 if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { in tcp_oos_insert_segment()814 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN); in tcp_oos_insert_segment()1000 if ((pcb->acked != 0) && ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0)) { in tcp_receive()1045 if ((pcb->acked != 0) && ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0)) { in tcp_receive()1198 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { in tcp_receive()1201 TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) &~ TCP_FIN); in tcp_receive()1218 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { in tcp_receive()[all …]
131 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()133 TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); in tcp_send_fin()138 return tcp_enqueue_flags(pcb, TCP_FIN); in tcp_send_fin()725 (flags & (TCP_SYN | TCP_FIN)) != 0); in tcp_enqueue_flags()794 if ((flags & TCP_SYN) || (flags & TCP_FIN)) { in tcp_enqueue_flags()799 if (flags & TCP_FIN) { in tcp_enqueue_flags()1427 is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); in tcp_zero_window_probe()1440 TCPH_FLAGS_SET(tcphdr, TCP_ACK | TCP_FIN); in tcp_zero_window_probe()
1559 if (flags & TCP_FIN) { in tcp_debug_print_flags()
152 if ( flags & TCP_FIN ) in tcp_dump_flags()307 tcp->tcp_state |= TCP_STATE_SENT ( TCP_FIN ); in tcp_close()420 if ( flags & ( TCP_SYN | TCP_FIN ) ) { in tcp_xmit()422 assert ( ! ( ( flags & TCP_SYN ) && ( flags & TCP_FIN ) ) ); in tcp_xmit()763 ( TCP_SYN | TCP_FIN ) ); in tcp_rx_ack()781 tcp->tcp_state |= TCP_STATE_SENT ( TCP_FIN ); in tcp_rx_ack()839 tcp->tcp_state |= TCP_STATE_RCVD ( TCP_FIN ); in tcp_rx_fin()950 ( ( tcphdr->flags & ( TCP_SYN | TCP_FIN ) ) ? 1 : 0 )), len); in tcp_rx()986 if ( flags & TCP_FIN ) { in tcp_rx()
101 #define TCP_FIN 0x01U macro185 #define TCP_TCPLEN(seg) ((seg)->len + ((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0))
167 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { in vj_compress_tcp()