Searched refs:TCP_FIN (Results 1 – 8 of 8) sorted by relevance
/third_party/lwip/src/core/ |
D | tcp_in.c | 239 if (flags & (TCP_FIN | TCP_SYN)) { 789 } else if (flags & TCP_FIN) { 1092 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { 1103 if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { 1104 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN); 1505 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { 1508 TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) & ~(unsigned int)TCP_FIN); 1526 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { 1546 if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 && 1548 TCPH_SET_FLAG(inseg.tcphdr, TCP_FIN); [all …]
|
D | tcp_out.c | 920 if (split_flags & TCP_FIN) { in tcp_split_unsent_seg() 921 split_flags &= ~TCP_FIN; in tcp_split_unsent_seg() 922 remainder_flags |= TCP_FIN; in tcp_split_unsent_seg() 1024 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin() 1026 TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); in tcp_send_fin() 1032 return tcp_enqueue_flags(pcb, TCP_FIN); in tcp_send_fin() 1055 (flags & (TCP_SYN | TCP_FIN)) != 0); in tcp_enqueue_flags() 1126 if ((flags & TCP_SYN) || (flags & TCP_FIN)) { in tcp_enqueue_flags() 1130 if (flags & TCP_FIN) { in tcp_enqueue_flags() 2166 is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); in tcp_zero_window_probe() [all …]
|
D | tcp.c | 2635 if (flags & TCP_FIN) {
|
/third_party/lwip/test/unit/tcp/ |
D | test_tcp_oos.c | 186 p_8_9 = tcp_create_rx_segment(pcb, &data[8], 8, 8, 0, TCP_ACK|TCP_FIN); in START_TEST() 197 p_fin = tcp_create_rx_segment(pcb, NULL, 0,16, 0, TCP_ACK|TCP_FIN); in START_TEST() 340 pinseqFIN = tcp_create_rx_segment(pcb, &data[14], 2, 14, 0, TCP_ACK|TCP_FIN); in START_TEST() 835 p_normal_fin = tcp_create_rx_segment(pcb, NULL, 0, TCP_MSS, 0, TCP_ACK|TCP_FIN); in test_tcp_recv_ooseq_double_FINs() 838 p_2nd_fin_ooseq = tcp_create_rx_segment(pcb, NULL, 0, TCP_MSS+1+k, 0, TCP_ACK|TCP_FIN); in test_tcp_recv_ooseq_double_FINs()
|
D | test_tcp.c | 322 p = tcp_create_rx_segment(pcb, &data, 1, 0, 0, TCP_FIN); in START_TEST()
|
/third_party/lwip/src/include/lwip/prot/ |
D | tcp.h | 72 #define TCP_FIN 0x01U macro
|
/third_party/lwip/src/include/lwip/priv/ |
D | tcp_priv.h | 155 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1…
|
/third_party/lwip/src/netif/ppp/ |
D | vj.c | 191 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { in vj_compress_tcp()
|