| /f-stack/freebsd/netinet/ |
| H A D | tcp_sack.c | 190 if (SEQ_GT(rcv_start, end)) { in tcp_update_dsack_list() 194 if (SEQ_GT(tp->rcv_nxt, end)) { in tcp_update_dsack_list() 205 (SEQ_GT(end, rcv_start) && in tcp_update_dsack_list() 235 SEQ_GT(tp->sackblks[j].start, mid_blk.end)) && in tcp_update_dsack_list() 236 (SEQ_GT(tp->sackblks[j].start, tp->rcv_nxt)))) in tcp_update_dsack_list() 323 if (SEQ_GT(head_blk.end, end)) { in tcp_update_sack_list() 573 if (SEQ_GT(sack.end, sack.start) && in tcp_sack_doack() 574 SEQ_GT(sack.start, tp->snd_una) && in tcp_sack_doack() 575 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack() 577 SEQ_GT(sack.end, tp->snd_una) && in tcp_sack_doack() [all …]
|
| H A D | tcp_seq.h | 44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) macro 48 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b))
|
| H A D | tcp_output.c | 310 if (SEQ_GT(p->end, tp->snd_recover)) { in tcp_output() 439 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_output() 671 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt)) { in tcp_output() 708 if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output() 723 SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_output() 1115 else if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output() 1264 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt) && in tcp_output() 1295 if (SEQ_GT(tp->snd_up, tp->snd_nxt)) { in tcp_output() 1524 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) { in tcp_output() 1601 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max)) in tcp_output() [all …]
|
| H A D | tcp_input.c | 1770 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_do_segment() 1808 SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_do_segment() 1963 SEQ_GT(th->th_ack, tp->snd_max))) { in tcp_do_segment() 2491 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_do_segment() 2703 if (SEQ_GT(onxt, tp->snd_nxt)) in tcp_do_segment() 2782 KASSERT(SEQ_GT(th->th_ack, tp->snd_una), in tcp_do_segment() 3087 if (SEQ_GT(tp->rcv_nxt, tp->rcv_up)) in tcp_do_segment() 3198 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt)) in tcp_do_segment() 3301 (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_do_segment() 3302 SEQ_GT(th->th_ack, tp->snd_max)) ) { in tcp_do_segment() [all …]
|
| H A D | tcp_reass.c | 358 if (SEQ_GT((th->th_seq + tlen), first->tqe_start)) { in tcp_reass_prepend() 463 if (SEQ_GT(q->tqe_start, max)) { in tcp_reass_merge_forward() 639 if (SEQ_GT((last->tqe_start + last->tqe_len), th->th_seq)) { in tcp_reass() 671 } else if (SEQ_GT(th->th_seq, (last->tqe_start + last->tqe_len))) { in tcp_reass() 783 if (SEQ_GT(q->tqe_start, th->th_seq)) in tcp_reass() 796 ((p == NULL) || (SEQ_GT(th->th_seq, (p->tqe_start + p->tqe_len))))) { in tcp_reass()
|
| H A D | tcp_timewait.c | 303 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt) && in tcp_twstart() 440 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { in tcp_twcheck()
|
| H A D | tcp_lro.c | 806 if (tcp_data_len || SEQ_GT(ntohl(th->th_ack), ntohl(le->ack_seq))) { in tcp_lro_condense() 1307 if (tcp_data_len || SEQ_GT(ntohl(th->th_ack), ntohl(le->ack_seq)) || in tcp_lro_rx2()
|
| H A D | tcp_timer.c | 1033 if (SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_timers_unsuspend()
|
| H A D | tcp_syncache.c | 1370 SEQ_GT(th->th_seq, sc->sc_irs + sc->sc_wnd)) { in syncache_expand()
|
| H A D | tcp_subr.c | 2846 if (SEQ_GT(projected_offset, V_isn_offset)) in tcp_new_isn()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | sack_filter.c | 120 if (SEQ_GT(th_ack, sf->sf_blks[i].end)) { in sack_filter_prune() 124 } else if (SEQ_GT(th_ack, sf->sf_blks[i].start)) { in sack_filter_prune() 189 if (SEQ_GT(sf->sf_blks[i].start, b->end)) { in is_sack_on_board() 428 if (SEQ_GT(sf->sf_blks[src].end, sf->sf_blks[into].end)) { in sack_collapse() 546 if (SEQ_GT(th_ack, sf->sf_ack)) { in sack_filter_blks() 585 if (SEQ_GT(in->start, sf->sf_blks[i].start)) in sack_filter_reject() 733 } else if (SEQ_GT(th_ack, snd_una)) { in main() 751 if (SEQ_GT(endv, snd_max)) in main()
|
| H A D | bbr.c | 1042 if (SEQ_GT(tp->snd_max, tp->snd_una) && in bbr_timer_audit() 4471 SEQ_GT(end, l_rsm->r_end))) { in bbr_sack_mergable() 4486 SEQ_GT(end, r_rsm->r_start))) { in bbr_sack_mergable() 7415 if (SEQ_GT(th_ack, tp->snd_una)) { in bbr_log_ack() 7619 if (SEQ_GT(th_ack, tp->snd_una)) in bbr_log_ack() 7628 if (SEQ_GT(sack.end, sack.start) && in bbr_log_ack() 7629 SEQ_GT(sack.start, ack_point) && in bbr_log_ack() 7631 SEQ_GT(sack.end, ack_point) && in bbr_log_ack() 7805 if (SEQ_GT(th->th_ack, tp->snd_max)) { in bbr_process_ack() 8774 if (SEQ_GT(th->th_ack, tp->snd_una)) in bbr_fastack() [all …]
|
| H A D | rack.c | 6649 if (SEQ_GT(th_ack, rsm->r_end)) in rack_update_rtt() 6910 if (SEQ_GT(th_ack, rsm->r_end)) in rack_need_set_test() 7500 if (SEQ_GT(th_ack, tp->snd_una)) { in rack_log_ack() 7658 if (SEQ_GT(th_ack, tp->snd_una)) in rack_log_ack() 7667 if (SEQ_GT(sack.end, sack.start) && in rack_log_ack() 7670 SEQ_GT(sack.end, ack_point) && in rack_log_ack() 8017 if (SEQ_GT(tp->snd_una, th_ack)) { in rack_log_ack() 8449 if (SEQ_GT(max_seq, rsm->r_start)) { in rack_collapsed_window() 10481 if (SEQ_GT(tp->snd_max, tp->iss)) in rack_init() 14390 if (SEQ_GT(tp->snd_max, tp->iss)) in rack_set_sockopt() [all …]
|
| H A D | rack_bbr_common.c | 634 (SEQ_GT(tp->snd_una, th->th_ack) || in ctf_do_dropafterack() 635 SEQ_GT(th->th_ack, tp->snd_max))) { in ctf_do_dropafterack()
|
| /f-stack/tools/compat/include/netinet/ |
| H A D | tcp_seq.h | 44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) macro 48 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b))
|
| /f-stack/freebsd/netinet/khelp/ |
| H A D | h_ertt.c | 237 if (SEQ_GT(ack, txsi->seq + txsi->len)) { in ertt_packet_measurement_hook()
|
| /f-stack/freebsd/netinet/cc/ |
| H A D | cc_dctcp.c | 158 SEQ_GT(ccv->curack, dctcp_data->save_sndnxt)) in dctcp_ack_received()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_norm.c | 1781 SEQ_GT(tsval, src->scrub->pfss_tsval + tsval_from_last) || in pf_normalize_tcp_stateful() 1782 (tsecr && (SEQ_GT(tsecr, dst->scrub->pfss_tsval) || in pf_normalize_tcp_stateful() 1793 SEQ_GT(tsval, src->scrub->pfss_tsval + in pf_normalize_tcp_stateful() 1795 SEQ_GT(tsecr, dst->scrub->pfss_tsval) ? '2' : ' ', in pf_normalize_tcp_stateful()
|
| H A D | if_pfsync.c | 882 SEQ_GT(st->src.seqlo, ntohl(src->seqlo)))) in pfsync_upd_tcp() 890 SEQ_GT(st->dst.seqlo, ntohl(dst->seqlo)))) in pfsync_upd_tcp()
|
| H A D | pf.c | 4225 if (SEQ_GT(end, src->seqlo)) in pf_tcp_track_full() 4324 if (SEQ_GT(end, src->seqlo)) in pf_tcp_track_full()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_state.c | 2244 #define SEQ_GT(a,b) ((int)((a) - (b)) > 0) macro 2321 if (SEQ_GT(end, fdata->td_end))
|