Home
last modified time | relevance | path

Searched refs:TCPH_FLAGS (Results 1 – 5 of 5) sorted by relevance

/lib/liblwip/src/core/
Dtcp_in.c162 flags = TCPH_FLAGS(tcphdr); in tcp_input()
266 tcp_debug_print_flags(TCPH_FLAGS(tcphdr)); in tcp_input()
408 if (!(TCPH_FLAGS(tcphdr) & TCP_RST)) { in tcp_input()
804 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) { in tcp_oos_insert_segment()
816 if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) { in tcp_oos_insert_segment()
1022 if ((pcb->acked != 0) && ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0)) { in tcp_receive()
1072 if ((pcb->acked != 0) && ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0)) { in tcp_receive()
1227 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) { in tcp_receive()
1230 TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) &~ TCP_FIN); in tcp_receive()
1234 if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) { in tcp_receive()
[all …]
Dtcp.c1632 TCPH_FLAGS(tcphdr) >> 5 & 1, in tcp_debug_print()
1633 TCPH_FLAGS(tcphdr) >> 4 & 1, in tcp_debug_print()
1634 TCPH_FLAGS(tcphdr) >> 3 & 1, in tcp_debug_print()
1635 TCPH_FLAGS(tcphdr) >> 2 & 1, in tcp_debug_print()
1636 TCPH_FLAGS(tcphdr) >> 1 & 1, in tcp_debug_print()
1637 TCPH_FLAGS(tcphdr) & 1, in tcp_debug_print()
1639 tcp_debug_print_flags(TCPH_FLAGS(tcphdr)); in tcp_debug_print()
Dtcp_out.c133 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()
965 (TCPH_FLAGS(seg->tcphdr) & TCP_RST) == 0); in tcp_output()
1442 is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); in tcp_zero_window_probe()
/lib/liblwip/src/include/lwip/
Dtcp_impl.h175 #define TCPH_FLAGS(phdr) (ntohs((phdr)->_hdrlen_rsvd_flags) & TCP_FLAGS) macro
177 #define TCPH_HDRLEN_SET(phdr, len) (phdr)->_hdrlen_rsvd_flags = htons(((len) << 12) | TCPH_FLAGS(ph…
182 …phdr)->_hdrlen_rsvd_flags = htons(ntohs((phdr)->_hdrlen_rsvd_flags) | (TCPH_FLAGS(phdr) & ~(flags)…
184 #define TCP_TCPLEN(seg) ((seg)->len + ((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0))
/lib/liblwip/src/netif/ppp/
Dvj.c167 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { in vj_compress_tcp()
273 if (TCPH_FLAGS(th) & TCP_URG) { in vj_compress_tcp()
355 if (TCPH_FLAGS(th) & TCP_PSH) { in vj_compress_tcp()