Lines Matching refs:seqdiff
3048 s->src.max_win, s->src.seqdiff); in pf_print_state_parts()
3055 s->dst.max_win, s->dst.seqdiff); in pf_print_state_parts()
3941 htonl(ntohl(sack.start) - dst->seqdiff), in pf_modulate_sack()
3946 htonl(ntohl(sack.end) - dst->seqdiff), in pf_modulate_sack()
6130 if ((s->src.seqdiff = pf_tcp_iss(pd) - s->src.seqlo) == in pf_create_state()
6132 s->src.seqdiff = 1; in pf_create_state()
6134 htonl(s->src.seqlo + s->src.seqdiff), 0); in pf_create_state()
6137 s->src.seqdiff = 0; in pf_create_state()
6448 if (dst->seqdiff && !src->seqdiff) { in pf_tcp_track_full()
6450 while ((src->seqdiff = arc4random() - seq) == 0) in pf_tcp_track_full()
6452 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_tcp_track_full()
6454 src->seqdiff), 0); in pf_tcp_track_full()
6503 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_tcp_track_full()
6504 if (src->seqdiff) { in pf_tcp_track_full()
6507 src->seqdiff), 0); in pf_tcp_track_full()
6553 if (dst->seqdiff && (th->th_off << 2) > sizeof(struct tcphdr)) { in pf_tcp_track_full()
6890 state->src.seqdiff = state->dst.seqhi - in pf_synproxy()
6892 state->dst.seqdiff = state->src.seqhi - in pf_synproxy()
7945 seq = ntohl(th.th_seq) - src->seqdiff; in pf_test_state_icmp()
7946 if (src->seqdiff) { in pf_test_state_icmp()