Lines Matching defs:thflags

7681     int32_t * ofia, int32_t thflags, int32_t * ret_val)
7727 ctf_do_dropafterack(m, tp, th, thflags, tlen, ret_val);
7733 ctf_do_dropafterack(m, tp, th, thflags, tlen, ret_val);
8137 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt)
8150 if ((thflags & TH_ACK) &&
8164 } else if (thflags & TH_ACK) {
8221 if ((tlen || (thflags & TH_FIN) || (tfo_syn && tlen > 0)) &&
8230 * queue with control block tp. Set thflags to whether
8276 thflags = tcp_get_flags(th) & TH_FIN;
8304 thflags = tcp_reass(tp, th, &temp, &tlen, m);
8347 thflags &= ~TH_FIN;
8354 if (thflags & TH_FIN) {
8740 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
8762 if ((thflags & TH_ACK) &&
8769 if ((thflags & (TH_ACK | TH_RST)) == (TH_ACK | TH_RST)) {
8776 if (thflags & TH_RST) {
8780 if (!(thflags & TH_SYN)) {
8786 if (thflags & TH_ACK) {
8852 thflags &= ~TH_SYN;
8880 thflags &= ~TH_FIN;
8892 if (thflags & TH_ACK) {
8908 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, &ourfinisacked, thflags, &ret_val))
8940 tiwin, thflags, nxt_pkt));
8951 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
8961 if ((thflags & TH_RST) ||
8962 (tp->t_fin_is_rst && (thflags & TH_FIN)))
8964 if ((thflags & TH_ACK) &&
8978 if ((thflags & (TH_SYN | TH_ACK)) == (TH_SYN | TH_ACK)) {
8982 } else if (thflags & TH_SYN) {
8990 } else if (!(thflags & (TH_ACK | TH_FIN | TH_RST))) {
9001 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9016 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9036 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9046 if ((thflags & TH_ACK) == 0) {
9051 tiwin, thflags, nxt_pkt));
9082 if (thflags & TH_ACK)
9120 if (tlen == 0 && (thflags & TH_FIN) == 0) {
9130 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, &ourfinisacked, thflags, &ret_val)) {
9161 tiwin, thflags, nxt_pkt));
9172 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
9203 __predict_true((thflags & (TH_SYN | TH_FIN | TH_RST | TH_URG | TH_ACK)) == TH_ACK) &&
9220 if ((thflags & TH_RST) ||
9221 (tp->t_fin_is_rst && (thflags & TH_FIN)))
9227 if (thflags & TH_SYN) {
9237 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9240 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9260 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9269 if ((thflags & TH_ACK) == 0) {
9272 tiwin, thflags, nxt_pkt));
9274 ctf_do_dropafterack(m, tp, th, thflags, tlen, &ret_val);
9285 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, NULL, thflags, &ret_val)) {
9297 tiwin, thflags, nxt_pkt));
9308 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
9317 if ((thflags & TH_RST) ||
9318 (tp->t_fin_is_rst && (thflags & TH_FIN)))
9324 if (thflags & TH_SYN) {
9334 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9337 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9357 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9366 if ((thflags & TH_ACK) == 0) {
9369 tiwin, thflags, nxt_pkt));
9371 ctf_do_dropafterack(m, tp, th, thflags, tlen, &ret_val);
9382 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, NULL, thflags, &ret_val)) {
9393 tiwin, thflags, nxt_pkt));
9429 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
9439 if ((thflags & TH_RST) ||
9440 (tp->t_fin_is_rst && (thflags & TH_FIN)))
9446 if (thflags & TH_SYN) {
9456 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9459 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9488 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9497 if ((thflags & TH_ACK) == 0) {
9500 tiwin, thflags, nxt_pkt));
9502 ctf_do_dropafterack(m, tp, th, thflags, tlen, &ret_val);
9513 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, &ourfinisacked, thflags, &ret_val)) {
9543 tiwin, thflags, nxt_pkt));
9554 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
9564 if ((thflags & TH_RST) ||
9565 (tp->t_fin_is_rst && (thflags & TH_FIN)))
9571 if (thflags & TH_SYN) {
9581 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9584 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9604 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9613 if ((thflags & TH_ACK) == 0) {
9616 tiwin, thflags, nxt_pkt));
9618 ctf_do_dropafterack(m, tp, th, thflags, tlen, &ret_val);
9629 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, &ourfinisacked, thflags, &ret_val)) {
9645 tiwin, thflags, nxt_pkt));
9656 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
9666 if ((thflags & TH_RST) ||
9667 (tp->t_fin_is_rst && (thflags & TH_FIN)))
9673 if (thflags & TH_SYN) {
9683 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9686 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9706 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9715 if ((thflags & TH_ACK) == 0) {
9718 tiwin, thflags, nxt_pkt));
9720 ctf_do_dropafterack(m, tp, th, thflags, tlen, &ret_val);
9731 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, &ourfinisacked, thflags, &ret_val)) {
9747 tiwin, thflags, nxt_pkt));
9758 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos)
9769 if ((thflags & TH_RST) ||
9770 (tp->t_fin_is_rst && (thflags & TH_FIN)))
9777 if (thflags & TH_SYN) {
9787 if (ctf_ts_check(m, th, tp, tlen, thflags, &ret_val))
9790 if (ctf_drop_checks(to, m, th, tp, &tlen, &thflags, &drop_hdrlen, &ret_val)) {
9820 ((thflags & (TH_SYN | TH_FIN)) != 0))) {
9829 if ((thflags & TH_ACK) == 0) {
9832 tiwin, thflags, nxt_pkt));
9834 ctf_do_dropafterack(m, tp, th, thflags, tlen, &ret_val);
9845 if (bbr_process_ack(m, th, so, tp, to, tiwin, tlen, &ourfinisacked, thflags, &ret_val)) {
9856 tiwin, thflags, nxt_pkt));
11282 int32_t thflags, retval;
11299 thflags = tcp_get_flags(th);
11350 (thflags & TH_SYN) ? TO_SYN : 0);
11367 ((thflags & TH_RST) == 0) && (V_tcp_tolerate_missing_ts == 0)) {
11401 if (tp->t_state == TCPS_SYN_SENT && (thflags & TH_SYN)) {
11460 if (thflags & TH_ACK) {
11472 if (thflags & TH_FIN)
11501 if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) {
11510 if ((tp->t_state == TCPS_SYN_SENT) && (thflags & TH_ACK) &&
11530 tlen, tiwin, thflags, nxt_pkt, iptos);