Home
last modified time | relevance | path

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

/third_party/lwip/src/core/
Dtcp_in.c237 flags = TCPH_FLAGS(tcphdr);
406 tcp_debug_print_flags(TCPH_FLAGS(tcphdr));
593 if (!(TCPH_FLAGS(tcphdr) & TCP_RST)) {
1092 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) {
1103 if (TCPH_FLAGS(next->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);
1513 if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) {
1526 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
1546 if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 &&
[all …]
Dtcp.c2601 (u16_t)(TCPH_FLAGS(tcphdr) >> 5 & 1),
2602 (u16_t)(TCPH_FLAGS(tcphdr) >> 4 & 1),
2603 (u16_t)(TCPH_FLAGS(tcphdr) >> 3 & 1),
2604 (u16_t)(TCPH_FLAGS(tcphdr) >> 2 & 1),
2605 (u16_t)(TCPH_FLAGS(tcphdr) >> 1 & 1),
2606 (u16_t)(TCPH_FLAGS(tcphdr) & 1),
2608 tcp_debug_print_flags(TCPH_FLAGS(tcphdr));
Dtcp_out.c913 split_flags = TCPH_FLAGS(useg->tcphdr); in tcp_split_unsent_seg()
1024 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()
1348 (TCPH_FLAGS(seg->tcphdr) & TCP_RST) == 0); in tcp_output()
2166 is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); in tcp_zero_window_probe()
/third_party/lwip/src/include/lwip/prot/
Dtcp.h87 #define TCPH_FLAGS(phdr) ((u8_t)((lwip_ntohs((phdr)->_hdrlen_rsvd_flags) & TCP_FLAGS))) macro
89 …CPH_HDRLEN_SET(phdr, len) (phdr)->_hdrlen_rsvd_flags = lwip_htons(((len) << 12) | TCPH_FLAGS(phdr))
/third_party/lwip/src/netif/ppp/
Dvj.c191 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { in vj_compress_tcp()
303 if (TCPH_FLAGS(th) & TCP_URG) { in vj_compress_tcp()
387 if (TCPH_FLAGS(th) & TCP_PSH) { in vj_compress_tcp()
/third_party/lwip/src/include/lwip/priv/
Dtcp_priv.h155 #define TCP_TCPLEN(seg) ((seg)->len + (((TCPH_FLAGS((seg)->tcphdr) & (TCP_FIN | TCP_SYN)) != 0) ? 1…