Searched refs:TCP_SYN (Results 1 – 7 of 7) sorted by relevance
93 #define TCP_SYN 0x02 macro146 #define TCP_SYN_SENT ( TCP_STATE_SENT ( TCP_SYN ) )152 #define TCP_SYN_RCVD ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK ) | \153 TCP_STATE_RCVD ( TCP_SYN ) )159 #define TCP_ESTABLISHED ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK ) | \160 TCP_STATE_ACKED ( TCP_SYN ) | \161 TCP_STATE_RCVD ( TCP_SYN ) )177 #define TCP_FIN_WAIT_1 ( TCP_STATE_SENT ( TCP_SYN | TCP_ACK | TCP_FIN ) | \178 TCP_STATE_ACKED ( TCP_SYN ) | \179 TCP_STATE_RCVD ( TCP_SYN ) )[all …]
148 if ( flags & TCP_SYN ) in tcp_dump_flags()229 tcp->tcp_state = TCP_STATE_SENT ( TCP_SYN ); in tcp_open()278 if ( ! ( tcp->tcp_state & TCP_STATE_RCVD ( TCP_SYN ) ) ) { in tcp_close()302 if ( ! ( tcp->tcp_state & TCP_STATE_ACKED ( TCP_SYN ) ) ) in tcp_close()420 if ( flags & ( TCP_SYN | TCP_FIN ) ) { in tcp_xmit()422 assert ( ! ( ( flags & TCP_SYN ) && ( flags & TCP_FIN ) ) ); in tcp_xmit()465 if ( flags & TCP_SYN ) { in tcp_xmit()471 if ( ( flags & TCP_SYN ) || tcp->timestamps ) { in tcp_xmit()479 if ( ! ( flags & TCP_SYN ) ) in tcp_xmit()695 if ( ! ( tcp->tcp_state & TCP_STATE_RCVD ( TCP_SYN ) ) ) { in tcp_rx_syn()[all …]
175 tcplen = p->tot_len + ((flags & (TCP_FIN | TCP_SYN)) ? 1 : 0); in tcp_input()456 } else if (flags & TCP_SYN) { in tcp_listen_input()506 rc = tcp_enqueue_flags(npcb, TCP_SYN | TCP_ACK); in tcp_listen_input()537 if (flags & TCP_SYN) { in tcp_timewait_input()609 if ((flags & TCP_SYN) && (pcb->state != SYN_SENT && pcb->state != SYN_RCVD)) { in tcp_process()629 if ((flags & TCP_ACK) && (flags & TCP_SYN) in tcp_process()722 } else if ((flags & TCP_SYN) && (seqno == pcb->rcv_nxt - 1)) { in tcp_process()1205 if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { in tcp_receive()1239 (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) == 0) { in tcp_receive()1254 if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { in tcp_receive()[all …]
131 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()725 (flags & (TCP_SYN | TCP_FIN)) != 0); in tcp_enqueue_flags()736 if (flags & TCP_SYN) { in tcp_enqueue_flags()794 if ((flags & TCP_SYN) || (flags & TCP_FIN)) { in tcp_enqueue_flags()
727 ret = tcp_enqueue_flags(pcb, TCP_SYN); in tcp_connect()1562 if (flags & TCP_SYN) { in tcp_debug_print_flags()
102 #define TCP_SYN 0x02U 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()