Home
last modified time | relevance | path

Searched refs:SEQ_GT (Results 1 – 13 of 13) sorted by relevance

/netbsd/sys/netinet/
H A Dtcp_sack.c271 if (SEQ_LT(th->th_ack, tp->snd_una) || SEQ_GT(th->th_ack, tp->snd_max)) in tcp_sack_option()
281 acked = (SEQ_GT(th->th_ack, tp->snd_una)) ? th->th_ack : tp->snd_una; in tcp_sack_option()
288 if (SEQ_LEQ(right, acked) || SEQ_GT(right, tp->snd_max) || in tcp_sack_option()
363 SEQ_GT(cur->end, sack->right)) { in tcp_sack_option()
406 tcp_seq lastack = SEQ_GT(th->th_ack, tp->snd_una) ? in tcp_del_sackholes()
H A Dtcp_seq.h44 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) macro
47 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b))
H A Dtcp_input.c638 if (SEQ_GT(q->ipqe_seq, pkt_seq) && in tcp_reass()
1072 SEQ_GT(th->th_seq, vp->rcv_nxt)) { in tcp_vtw_input()
1829 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_input()
1839 SEQ_GT(th->th_ack, tp->t_rtseq)) in tcp_input()
2055 SEQ_GT(th->th_ack, tp->snd_max))) in tcp_input()
2158 SEQ_GT(th->th_ack, tp->snd_max))) in tcp_input()
2427 if (SEQ_GT(tp->snd_una, th->th_ack) || in tcp_input()
2428 SEQ_GT(th->th_ack, tp->snd_max)) in tcp_input()
2518 if (SEQ_GT(th->th_ack, tp->snd_max)) { in tcp_input()
2580 if (SEQ_GT(tp->snd_una, tp->snd_fack)) in tcp_input()
[all …]
H A Dtcp_output.c706 if (SEQ_GT(p->end, tp->snd_recover)) { in tcp_output()
964 if (SEQ_GT(tp->rcv_adv, tp->rcv_nxt)) in tcp_output()
992 if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output()
999 if (TCP_SACK_ENABLED(tp) && SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_output()
1251 else if (SEQ_GT(tp->snd_up, tp->snd_una)) in tcp_output()
1386 if (SEQ_GT(tp->snd_up, tp->snd_nxt)) { in tcp_output()
1478 if (SEQ_GT(tp->snd_nxt, tp->snd_max)) { in tcp_output()
1520 if (SEQ_GT(tp->snd_nxt + len, tp->snd_max)) in tcp_output()
1647 if (win > 0 && SEQ_GT(tp->rcv_nxt+win, tp->rcv_adv)) in tcp_output()
H A Dtcp_congctl.c497 if (SEQ_GT(onxt, tp->snd_nxt)) in tcp_reno_do_fast_retransmit()
583 if (TCP_SACK_ENABLED(tp) && SEQ_GT(th->th_ack, tp->snd_fack)) in tcp_reno_fast_retransmit_newack()
740 if (SEQ_GT(onxt, tp->snd_nxt)) in tcp_newreno_fast_retransmit_newack()
767 if (TCP_SACK_ENABLED(tp) && SEQ_GT(th->th_ack, tp->snd_fack)) in tcp_newreno_fast_retransmit_newack()
H A Dtcp_syncache.c577 SEQ_GT(th->th_seq, sc->sc_irs + 1 + sc->sc_win)) { in syn_cache_get()
769 if (sc->sc_win > 0 && SEQ_GT(tp->rcv_nxt + sc->sc_win, tp->rcv_adv)) in syn_cache_get()
814 SEQ_GT(th->th_seq, sc->sc_irs+1)) { in syn_cache_reset()
H A Dtcp_var.h412 (SEQ_GT(tp->snd_fack, tp->snd_una + tcprexmtthresh * tp->t_segsz)))
H A Dtcp_subr.c1447 if (SEQ_LT(seq, tp->snd_una) || SEQ_GT(seq, tp->snd_max)) in tcp_ctlinput()
/netbsd/sys/net/npf/
H A Dnpf_state_tcp.c89 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) macro
443 if (SEQ_GT(end, fstate->nst_end)) { in npf_tcp_inwindow()
/netbsd/sys/dist/pf/net/
H A Dif_pfsync.c551 else if (SEQ_GT(st->src.seqlo, in pfsync_input()
566 SEQ_GT(st->dst.seqlo, ntohl(sp->dst.seqlo))) in pfsync_input()
690 else if (SEQ_GT(st->src.seqlo, in pfsync_input()
694 SEQ_GT(st->dst.seqlo, ntohl(up->dst.seqlo))) in pfsync_input()
H A Dpf_norm.c1727 SEQ_GT(tsval, src->scrub->pfss_tsval + tsval_from_last) ||
1728 (tsecr && (SEQ_GT(tsecr, dst->scrub->pfss_tsval) ||
1739 SEQ_GT(tsval, src->scrub->pfss_tsval +
1741 SEQ_GT(tsecr, dst->scrub->pfss_tsval) ? '2' : ' ',
H A Dpf.c4099 if (SEQ_GT(end, src->seqlo))
4197 if (SEQ_GT(end, src->seqlo))
/netbsd/sys/external/bsd/ipf/netinet/
H A Dip_state.c2198 #define SEQ_GT(a,b) ((int)((a) - (b)) > 0) in ipf_state_tcpinwindow() macro
2275 if (SEQ_GT(end, fdata->td_end)) in ipf_state_tcpinwindow()