Home
last modified time | relevance | path

Searched refs:TCP_FIN (Results 1 – 9 of 9) sorted by relevance

/lib/lwip/lwip/src/core/
A Dtcp_in.c236 if (flags & (TCP_FIN | TCP_SYN)) {
765 } else if (flags & TCP_FIN) {
1070 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) {
1081 if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) {
1082 TCPH_SET_FLAG(cseg->tcphdr, TCP_FIN);
1476 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
1497 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
1519 TCPH_SET_FLAG(inseg.tcphdr, TCP_FIN);
1570 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
1604 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) {
[all …]
A Dtcp_out.c911 if (split_flags & TCP_FIN) { in tcp_split_unsent_seg()
912 split_flags &= ~TCP_FIN; in tcp_split_unsent_seg()
913 remainder_flags |= TCP_FIN; in tcp_split_unsent_seg()
1015 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()
1017 TCPH_SET_FLAG(last_unsent->tcphdr, TCP_FIN); in tcp_send_fin()
1023 return tcp_enqueue_flags(pcb, TCP_FIN); in tcp_send_fin()
1044 (flags & (TCP_SYN | TCP_FIN)) != 0); in tcp_enqueue_flags()
1117 if ((flags & TCP_SYN) || (flags & TCP_FIN)) { in tcp_enqueue_flags()
1121 if (flags & TCP_FIN) { in tcp_enqueue_flags()
2212 is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); in tcp_zero_window_probe()
[all …]
A Dtcp.c2464 if (flags & TCP_FIN) { in tcp_debug_print_flags()
/lib/lwip/lwip/src/include/lwip/prot/
A Dtcp.h72 #define TCP_FIN 0x01U macro
/lib/lwip/lwip/test/unit/tcp/
A Dtest_tcp_oos.c186 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()
A Dtest_tcp_state.c318 p = tcp_create_rx_segment(pcb, NULL, 0, 0, 0, TCP_FIN); in START_TEST()
353 p = tcp_create_rx_segment(pcb, &data, 0, 0, 0, TCP_FIN); in START_TEST()
A Dtest_tcp.c323 p = tcp_create_rx_segment(pcb, &data, 1, 0, 0, TCP_FIN); in START_TEST()
/lib/lwip/lwip/src/include/lwip/priv/
A Dtcp_priv.h152 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1…
/lib/lwip/lwip/src/netif/ppp/
A Dvj.c191 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { in vj_compress_tcp()

Completed in 30 milliseconds