Lines Matching defs:pcb

137 #define RCV_WND_SCALE(pcb, wnd) (((wnd) >> (pcb)->rcv_scale))  argument
138 #define SND_WND_SCALE(pcb, wnd) (((wnd) << (pcb)->snd_scale)) argument
140 #define TCP_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16… argument
142 #define RCV_WND_SCALE(pcb, wnd) (wnd) argument
143 #define SND_WND_SCALE(pcb, wnd) (wnd) argument
145 #define TCP_WND_MAX(pcb) TCP_WND argument
291 #define LWIP_TCP_SACK_VALID(pcb, idx) ((pcb)->rcv_sacks[idx].left != (pcb)->rcv_sacks[idx].right) argument
423 #define tcp_set_flags(pcb, set_flags) do { (pcb)->flags = (tcpflags_t)((pcb)->flags | … argument
424 #define tcp_clear_flags(pcb, clr_flags) do { (pcb)->flags = (tcpflags_t)((pcb)->flags & … argument
425 #define tcp_is_flag_set(pcb, flag) (((pcb)->flags & (flag)) != 0) argument
428 #define tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pc… argument
431 #define tcp_mss(pcb) ((pcb)->mss) argument
434 #define tcp_sndbuf(pcb) (TCPWND16((pcb)->snd_buf)) argument
436 #define tcp_sndqueuelen(pcb) ((pcb)->snd_queuelen) argument
438 #define tcp_nagle_disable(pcb) tcp_set_flags(pcb, TF_NODELAY) argument
440 #define tcp_nagle_enable(pcb) tcp_clear_flags(pcb, TF_NODELAY) argument
442 #define tcp_nagle_disabled(pcb) tcp_is_flag_set(pcb, TF_NODELAY) argument
445 #define tcp_backlog_set(pcb, new_backlog) do { \ argument
451 #define tcp_backlog_set(pcb, new_backlog) argument
452 #define tcp_backlog_delayed(pcb) argument
453 #define tcp_backlog_accepted(pcb) argument
455 #define tcp_accepted(pcb) do { LWIP_UNUSED_ARG(pcb); } while(0) /* compatibility define, n… argument
467 #define tcp_listen(pcb) tcp_listen_with_backlog(pcb, TCP_DEFAULT_LISTEN_BACKLOG) argument
482 #define tcp_dbg_get_tcp_state(pcb) ((pcb)->state) argument