| /f-stack/freebsd/netinet/ |
| H A D | tcp_output.c | 240 if (tp->t_flags & TF_TOE) in tcp_output() 249 if (IS_FASTOPEN(tp->t_flags) && in tcp_output() 266 tp->t_flags &= ~TF_LASTIDLE; in tcp_output() 269 tp->t_flags |= TF_LASTIDLE; in tcp_output() 303 if ((tp->t_flags & TF_SACK_PERMIT) && IN_FASTRECOVERY(tp->t_flags) && in tcp_output() 347 if (tp->t_flags & TF_NEEDFIN) in tcp_output() 349 if (tp->t_flags & TF_NEEDSYN) in tcp_output() 703 if (tp->t_flags & TF_ACKNOW) in tcp_output() 1111 if (tp->t_flags & TF_ACKNOW) in tcp_output() 1599 tp->t_flags |= TF_SENTFIN; in tcp_output() [all …]
|
| H A D | tcp_input.c | 473 EXIT_RECOVERY(tp->t_flags); in cc_cong_signal() 559 tp->t_flags |= TF_ACKNOW; in cc_ecnpkt_handler() 1012 if (tp->t_flags & TF_TOE) { in tcp_input() 1584 tp->t_flags |= TF_ACKNOW; in tcp_do_segment() 2289 tp->t_flags |= TF_ACKNOW; in tcp_do_segment() 2307 tp->t_flags |= TF_ACKNOW; in tcp_do_segment() 2926 tp->t_flags |= TF_WAKESOW; in tcp_do_segment() 3312 tp->t_flags |= TF_ACKNOW; in tcp_do_segment() 3872 tp->t_flags |= TF_TSO; in tcp_mss() 3970 tp->t_flags |= TF_ACKNOW; in tcp_prr_partialack() [all …]
|
| H A D | tcp_usrreq.c | 983 if (tp->t_flags & TF_TOE) in tcp_usr_rcvd() 1766 if ((tp->t_flags & TF_REQ_TSTMP) && (tp->t_flags & TF_RCVD_TSTMP)) in tcp_fill_info() 1770 if ((tp->t_flags & TF_REQ_SCALE) && (tp->t_flags & TF_RCVD_SCALE)) { in tcp_fill_info() 1800 if (tp->t_flags & TF_TOE) { in tcp_fill_info() 2120 tp->t_flags |= opt; in tcp_default_ctloutput() 2122 tp->t_flags &= ~opt; in tcp_default_ctloutput() 2813 if (t_flags & TF_ACKNOW) { in db_print_tflags() 2817 if (t_flags & TF_DELACK) { in db_print_tflags() 2825 if (t_flags & TF_NOOPT) { in db_print_tflags() 2861 if (t_flags & TF_NOPUSH) { in db_print_tflags() [all …]
|
| H A D | tcp_timer.c | 292 tp->t_flags |= TF_ACKNOW; in tcp_timer_delack() 593 tp->t_flags |= TF_FORCEDATA; in tcp_timer_persist() 597 tp->t_flags &= ~TF_FORCEDATA; in tcp_timer_persist() 871 tp->t_flags |= TF_ACKNOW; in tcp_timer_rexmt() 901 if (tp->t_flags & TF_TOE) in tcp_timer_activate() 985 uint32_t t_flags; in tcp_timer_suspend() local 989 t_flags = TT_DELACK_SUS; in tcp_timer_suspend() 993 t_flags = TT_REXMT_SUS; in tcp_timer_suspend() 997 t_flags = TT_PERSIST_SUS; in tcp_timer_suspend() 1001 t_flags = TT_KEEP_SUS; in tcp_timer_suspend() [all …]
|
| H A D | tcp_var.h | 144 u_int t_flags; member 404 #define IN_FASTRECOVERY(t_flags) (t_flags & TF_FASTRECOVERY) argument 405 #define ENTER_FASTRECOVERY(t_flags) t_flags |= TF_FASTRECOVERY argument 406 #define EXIT_FASTRECOVERY(t_flags) t_flags &= ~TF_FASTRECOVERY argument 408 #define IN_CONGRECOVERY(t_flags) (t_flags & TF_CONGRECOVERY) argument 409 #define ENTER_CONGRECOVERY(t_flags) t_flags |= TF_CONGRECOVERY argument 410 #define EXIT_CONGRECOVERY(t_flags) t_flags &= ~TF_CONGRECOVERY argument 412 #define IN_RECOVERY(t_flags) (t_flags & (TF_CONGRECOVERY | TF_FASTRECOVERY)) argument 413 #define ENTER_RECOVERY(t_flags) t_flags |= (TF_CONGRECOVERY | TF_FASTRECOVERY) argument 414 #define EXIT_RECOVERY(t_flags) t_flags &= ~(TF_CONGRECOVERY | TF_FASTRECOVERY) argument [all …]
|
| H A D | tcp_offload.c | 156 } else if ((flags & TH_FIN || tp->t_flags & TF_NEEDFIN) && in tcp_offload_output() 157 (tp->t_flags & TF_SENTFIN) == 0) { in tcp_offload_output() 160 tp->t_flags |= TF_SENTFIN; in tcp_offload_output()
|
| H A D | tcp_subr.c | 749 if IN_FASTRECOVERY(tp->t_flags) { in tcp_default_fb_init() 1571 if (tp->t_flags & TF_SIGNATURE) in tcp_respond() 1769 tp->t_flags |= TF_SACK_PERMIT; in tcp_newtcpcb() 2013 if (tp->t_flags & TF_TOE) in tcp_discardcb() 2877 if (IS_FASTOPEN(tp->t_flags)) in tcp_drop_syn_sent() 2930 EXIT_FASTRECOVERY(tp->t_flags); in tcp_mtudisc() 3022 if (tp->t_flags & TF_NOOPT) in tcp_maxseg() 3038 if (tp->t_flags & TF_SIGNATURE) in tcp_maxseg() 3047 if (tp->t_flags & TF_REQ_TSTMP) in tcp_maxseg() 3051 if (tp->t_flags & TF_REQ_SCALE) in tcp_maxseg() [all …]
|
| H A D | tcp_syncache.c | 1057 tp->t_flags = sototcpcb(lso)->t_flags & (TF_NOPUSH|TF_NODELAY); in syncache_socket() 1059 tp->t_flags |= TF_NOOPT; in syncache_socket() 1062 tp->t_flags |= TF_REQ_SCALE|TF_RCVD_SCALE; in syncache_socket() 1067 tp->t_flags |= TF_REQ_TSTMP|TF_RCVD_TSTMP; in syncache_socket() 1074 tp->t_flags |= TF_SIGNATURE; in syncache_socket() 1077 tp->t_flags |= TF_SACK_PERMIT; in syncache_socket() 1416 tp->t_flags |= TF_FASTOPEN; in syncache_tfo_expand() 1509 ltflags = (tp->t_flags & (TF_NOOPT | TF_SIGNATURE)); in syncache_add() 1511 if (V_tcp_fastopen_server_enable && IS_FASTOPEN(tp->t_flags) && in syncache_add()
|
| /f-stack/freebsd/kern/ |
| H A D | tty_ttydisc.c | 156 if (tp->t_flags & TF_ZOMBIE) in ttydisc_read_canonical() 211 if (tp->t_flags & TF_ZOMBIE) in ttydisc_read_raw_no_timer() 263 if (tp->t_flags & TF_ZOMBIE) in ttydisc_read_raw_read_timer() 312 if (tp->t_flags & TF_ZOMBIE) in ttydisc_read_raw_interbyte_timer() 464 if (tp->t_flags & TF_ZOMBIE) in ttydisc_write() 592 tp->t_flags |= TF_BYPASS; in ttydisc_optimize() 594 tp->t_flags &= ~TF_BYPASS; in ttydisc_optimize() 600 tp->t_flags |= TF_BYPASS; in ttydisc_optimize() 602 tp->t_flags &= ~TF_BYPASS; in ttydisc_optimize() 628 tp->t_flags |= TF_ZOMBIE; in ttydisc_modem() [all …]
|
| H A D | tty.c | 241 tp->t_flags |= TF_OPENCLOSE; in ttydev_leave() 265 tp->t_flags &= ~TF_OPENCLOSE; in ttydev_leave() 300 tp->t_flags |= TF_OPENCLOSE; in ttydev_open() 401 tp->t_flags &= ~TF_EXCLUDE; in ttydev_close() 551 tp->t_flags |= TF_BUSY_OUT; in ttydev_write() 1213 tp->t_flags |= TF_GONE; in tty_rel_gone() 1303 xt->xt_flags = tp->t_flags; in tty_to_xtty() 1666 tp->t_flags |= TF_ASYNC; in tty_generic_ioctl() 2130 if (tp->t_flags & TF_HOOK) in ttyhook_register() 2133 tp->t_flags |= TF_HOOK; in ttyhook_register() [all …]
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcp_var.h | 144 u_int t_flags; member 404 #define IN_FASTRECOVERY(t_flags) (t_flags & TF_FASTRECOVERY) argument 405 #define ENTER_FASTRECOVERY(t_flags) t_flags |= TF_FASTRECOVERY argument 406 #define EXIT_FASTRECOVERY(t_flags) t_flags &= ~TF_FASTRECOVERY argument 408 #define IN_CONGRECOVERY(t_flags) (t_flags & TF_CONGRECOVERY) argument 409 #define ENTER_CONGRECOVERY(t_flags) t_flags |= TF_CONGRECOVERY argument 410 #define EXIT_CONGRECOVERY(t_flags) t_flags &= ~TF_CONGRECOVERY argument 412 #define IN_RECOVERY(t_flags) (t_flags & (TF_CONGRECOVERY | TF_FASTRECOVERY)) argument 413 #define ENTER_RECOVERY(t_flags) t_flags |= (TF_CONGRECOVERY | TF_FASTRECOVERY) argument 414 #define EXIT_RECOVERY(t_flags) t_flags &= ~(TF_CONGRECOVERY | TF_FASTRECOVERY) argument [all …]
|
| /f-stack/freebsd/netinet/cc/ |
| H A D | cc_newreno.c | 134 if (type == CC_ACK && !IN_RECOVERY(CCV(ccv, t_flags)) && in newreno_ack_received() 258 if (!IN_FASTRECOVERY(CCV(ccv, t_flags))) { in newreno_cong_signal() 259 if (IN_CONGRECOVERY(CCV(ccv, t_flags) && in newreno_cong_signal() 266 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) in newreno_cong_signal() 268 ENTER_RECOVERY(CCV(ccv, t_flags)); in newreno_cong_signal() 272 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in newreno_cong_signal() 275 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in newreno_cong_signal() 295 if (IN_FASTRECOVERY(CCV(ccv, t_flags))) { in newreno_post_recovery()
|
| H A D | cc_dctcp.c | 118 if (IN_CONGRECOVERY(CCV(ccv, t_flags))) { in dctcp_ack_received() 119 EXIT_CONGRECOVERY(CCV(ccv, t_flags)); in dctcp_ack_received() 121 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in dctcp_ack_received() 157 if (!IN_FASTRECOVERY(CCV(ccv, t_flags)) && in dctcp_ack_received() 242 if (!IN_FASTRECOVERY(CCV(ccv, t_flags))) { in dctcp_cong_signal() 243 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in dctcp_cong_signal() 256 ENTER_RECOVERY(CCV(ccv, t_flags)); in dctcp_cong_signal() 265 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in dctcp_cong_signal() 280 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in dctcp_cong_signal()
|
| H A D | cc_cubic.c | 146 if (type == CC_ACK && !IN_RECOVERY(CCV(ccv, t_flags)) && in cubic_ack_received() 225 } else if (type == CC_ACK && !IN_RECOVERY(CCV(ccv, t_flags)) && in cubic_ack_received() 290 if (!IN_FASTRECOVERY(CCV(ccv, t_flags))) { in cubic_cong_signal() 291 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in cubic_cong_signal() 297 ENTER_RECOVERY(CCV(ccv, t_flags)); in cubic_cong_signal() 302 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in cubic_cong_signal() 308 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in cubic_cong_signal() 368 if (IN_FASTRECOVERY(CCV(ccv, t_flags))) { in cubic_post_recovery()
|
| H A D | cc_htcp.c | 204 if (type == CC_ACK && !IN_RECOVERY(CCV(ccv, t_flags)) && in htcp_ack_received() 281 if (!IN_FASTRECOVERY(CCV(ccv, t_flags))) { in htcp_cong_signal() 282 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in htcp_cong_signal() 295 ENTER_RECOVERY(CCV(ccv, t_flags)); in htcp_cong_signal() 300 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in htcp_cong_signal() 311 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in htcp_cong_signal() 361 if (IN_FASTRECOVERY(CCV(ccv, t_flags))) { in htcp_post_recovery()
|
| H A D | cc_vegas.c | 202 if (IN_RECOVERY(CCV(ccv, t_flags))) in vegas_cong_signal() 209 if (!IN_RECOVERY(CCV(ccv, t_flags))) { in vegas_cong_signal() 222 if (IN_RECOVERY(CCV(ccv, t_flags)) && !presignalrecov) in vegas_cong_signal()
|
| H A D | cc_chd.c | 256 if (rtt && e_t->minrtt && !IN_RECOVERY(CCV(ccv, t_flags))) { in chd_ack_received() 342 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in chd_cong_signal() 354 if (!IN_RECOVERY(CCV(ccv, t_flags)) && qdly > V_chd_qthresh) { in chd_cong_signal() 373 ENTER_FASTRECOVERY(CCV(ccv, t_flags)); in chd_cong_signal()
|
| H A D | cc_cdg.c | 457 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in cdg_cong_signal() 464 if (IN_CONGRECOVERY(CCV(ccv, t_flags)) || in cdg_cong_signal() 484 ENTER_RECOVERY(CCV(ccv, t_flags)); in cdg_cong_signal() 641 if (!IN_RECOVERY(CCV(ccv, t_flags))) { in cdg_ack_received()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 474 if (tp->t_flags & TF_SENTFIN) in ctf_outstanding() 546 tp->t_flags |= TF_ACKNOW; in ctf_drop_checks() 564 tp->t_flags |= TF_ACKNOW; in ctf_drop_checks() 593 tp->t_flags |= TF_ACKNOW; in ctf_drop_checks() 641 tp->t_flags |= TF_ACKNOW; in ctf_do_dropafterack() 822 if (tp->t_flags & TF_NOOPT) in ctf_fixed_maxseg() 834 if (tp->t_flags & TF_RCVD_TSTMP) in ctf_fixed_maxseg() 839 if (tp->t_flags & TF_SIGNATURE) in ctf_fixed_maxseg() 843 if (tp->t_flags & TF_REQ_TSTMP) in ctf_fixed_maxseg() 847 if (tp->t_flags & TF_REQ_SCALE) in ctf_fixed_maxseg() [all …]
|
| H A D | rack.c | 3984 EXIT_RECOVERY(tp->t_flags); in rack_post_recovery() 5333 tp->t_flags &= ~TF_DELACK; in rack_timeout_delack() 5334 tp->t_flags |= TF_ACKNOW; in rack_timeout_delack() 5784 tp->t_flags |= TF_ACKNOW; in rack_timeout_rxt() 8353 tp->t_flags |= TF_WAKESOW; in rack_process_ack() 8509 tp->t_flags |= TF_DELACK; in rack_handle_delayed_ack() 8513 tp->t_flags |= TF_ACKNOW; in rack_handle_delayed_ack() 8933 tp->t_flags |= TF_WAKESOR; in rack_do_fastnewdata() 9150 tp->t_flags |= TF_WAKESOW; in rack_fastack() 11947 if (tp->t_flags & TF_TOE) in rack_output() [all …]
|
| H A D | bbr.c | 3787 EXIT_RECOVERY(tp->t_flags); in bbr_post_recovery() 4731 tp->t_flags &= ~TF_DELACK; in bbr_timeout_delack() 4732 tp->t_flags |= TF_ACKNOW; in bbr_timeout_delack() 5189 tp->t_flags |= TF_ACKNOW; in bbr_timeout_rxt() 7885 tp->t_flags |= TF_WAKESOW; in bbr_process_ack() 8377 tp->t_flags |= TF_ACKNOW; in bbr_process_data() 8615 tp->t_flags |= TF_WAKESOR; in bbr_do_fastnewdata() 8622 tp->t_flags |= TF_DELACK; in bbr_do_fastnewdata() 8626 tp->t_flags |= TF_ACKNOW; in bbr_do_fastnewdata() 8806 tp->t_flags |= TF_WAKESOW; in bbr_fastack() [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | tty.h | 68 unsigned int t_flags; /* (t) Terminal option flags. */ member 215 #define tty_opened(tp) ((tp)->t_flags & TF_OPENED) 216 #define tty_gone(tp) ((tp)->t_flags & TF_GONE)
|
| H A D | ttydisc.h | 55 #define ttydisc_can_bypass(tp) ((tp)->t_flags & TF_BYPASS)
|
| /f-stack/freebsd/netinet/khelp/ |
| H A D | h_ertt.c | 180 if (tp->t_flags & TF_TSO) { in marked_packet_rtt() 182 tp->t_flags &= ~TF_TSO; in marked_packet_rtt() 467 tp->t_flags |= TF_TSO; in ertt_add_tx_segment_info_hook() 479 if (((tp->t_flags & TF_NOOPT) == 0) && in ertt_add_tx_segment_info_hook()
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_tcp.c | 94 optval = (tp->t_flags & TF_SIGNATURE) ? 1 : 0; in tcp_ipsec_pcbctl() 113 tp->t_flags |= TF_SIGNATURE; in tcp_ipsec_pcbctl() 115 tp->t_flags &= ~TF_SIGNATURE; in tcp_ipsec_pcbctl()
|