Lines Matching defs:th
241 tcp_sack_option(struct tcpcb *tp, const struct tcphdr *th, const u_char *cp,
258 if (!TCP_SACK_ENABLED(tp) || ((th->th_flags & TH_ACK) == 0) ||
271 if (SEQ_LT(th->th_ack, tp->snd_una) || SEQ_GT(th->th_ack, tp->snd_max))
281 acked = (SEQ_GT(th->th_ack, tp->snd_una)) ? th->th_ack : tp->snd_una;
319 cur = sack_inserthole(tp, th->th_ack, sack->left, NULL);
403 tcp_del_sackholes(struct tcpcb *tp, const struct tcphdr *th)
406 tcp_seq lastack = SEQ_GT(th->th_ack, tp->snd_una) ?
407 th->th_ack : tp->snd_una;