Lines Matching refs:ack
2350 u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack,
2468 th->th_ack = htonl(ack);
4578 u_int32_t ack = ntohl(th->th_seq) + pd->p_len;
4603 ack++;
4605 ack++;
4608 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0,
5798 u_int32_t ack, end, seq, orig_seq;
5963 ack = ntohl(th->th_ack) - dst->seqdiff;
5966 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0);
5969 ack = ntohl(th->th_ack);
6027 ack = ntohl(th->th_ack) - dst->seqdiff;
6032 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0);
6043 /* Let it pass through the ack skew check */
6044 ack = dst->seqlo;
6045 } else if ((ack == 0 &&
6047 /* broken tcp stacks do not set ack */
6053 ack = dst->seqlo;
6062 ackskew = dst->seqlo - ack;
6117 if (SEQ_GEQ(ack + ((u_int32_t)win << sws), dst->seqhi))
6118 dst->seqhi = ack + MAX(((u_int32_t)win << sws), 1);
6193 printf(" seq=%u (%u) ack=%u len=%u ackskew=%d "
6194 "pkts=%llu:%llu dir=%s,%s\n", seq, orig_seq, ack,
6216 if (SEQ_GEQ(ack + ((u_int32_t)win << sws), dst->seqhi))
6217 dst->seqhi = ack + MAX(((u_int32_t)win << sws), 1);
6250 printf(" seq=%u (%u) ack=%u len=%u ackskew=%d "
6252 seq, orig_seq, ack, pd->p_len, ackskew,