Home
last modified time | relevance | path

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

/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/core/
Dtcp_in.c234 flags = TCPH_FLAGS(tcphdr);
389 tcp_debug_print_flags(TCPH_FLAGS(tcphdr));
576 if (!(TCPH_FLAGS(tcphdr) & TCP_RST)) {
1058 if (TCPH_FLAGS(cseg->tcphdr) & TCP_FIN) {
1069 if (TCPH_FLAGS(next->tcphdr) & TCP_FIN) {
1471 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
1474 TCPH_FLAGS_SET(inseg.tcphdr, TCPH_FLAGS(inseg.tcphdr) & ~(unsigned int)TCP_FIN);
1479 if (TCPH_FLAGS(inseg.tcphdr) & TCP_SYN) {
1492 if (TCPH_FLAGS(inseg.tcphdr) & TCP_FIN) {
1512 if ((TCPH_FLAGS(next->tcphdr) & TCP_FIN) != 0 &&
[all …]
Dtcp.c2424 (u16_t)(TCPH_FLAGS(tcphdr) >> 5 & 1), in tcp_debug_print()
2425 (u16_t)(TCPH_FLAGS(tcphdr) >> 4 & 1), in tcp_debug_print()
2426 (u16_t)(TCPH_FLAGS(tcphdr) >> 3 & 1), in tcp_debug_print()
2427 (u16_t)(TCPH_FLAGS(tcphdr) >> 2 & 1), in tcp_debug_print()
2428 (u16_t)(TCPH_FLAGS(tcphdr) >> 1 & 1), in tcp_debug_print()
2429 (u16_t)(TCPH_FLAGS(tcphdr) & 1), in tcp_debug_print()
2431 tcp_debug_print_flags(TCPH_FLAGS(tcphdr)); in tcp_debug_print()
Dtcp_out.c901 split_flags = TCPH_FLAGS(useg->tcphdr); in tcp_split_unsent_seg()
1012 if ((TCPH_FLAGS(last_unsent->tcphdr) & (TCP_SYN | TCP_FIN | TCP_RST)) == 0) { in tcp_send_fin()
1336 (TCPH_FLAGS(seg->tcphdr) & TCP_RST) == 0); in tcp_output()
2154 is_fin = ((TCPH_FLAGS(seg->tcphdr) & TCP_FIN) != 0) && (seg->len == 0); in tcp_zero_window_probe()
/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…