Home
last modified time | relevance | path

Searched refs:th_ack (Results 1 – 20 of 20) sorted by relevance

/dragonfly/sys/netinet/
HDtcp_input.c303 (SEQ_LT(tp->snd_wl2, th->th_ack) || \
304 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))
801 th->th_ack = ntohl(th->th_ack); in tcp_input()
1118 tcp_dooptions(&to, optp, optlen, TRUE, th->th_ack); in tcp_input()
1170 tcp_dooptions(&to, optp, optlen, (thflags & TH_SYN) != 0, th->th_ack); in tcp_input()
1237 if (SEQ_GT(th->th_ack, tp->snd_una) && in tcp_input()
1238 SEQ_LEQ(th->th_ack, tp->snd_max) && in tcp_input()
1281 th->th_ack); in tcp_input()
1283 SEQ_GT(th->th_ack, tp->t_rtseq)) { in tcp_input()
1286 th->th_ack); in tcp_input()
[all …]
HDtcpip.h69 #define ti_ack ti_t.th_ack
HDtcp.h56 tcp_seq th_ack; /* acknowledgement number */ member
HDtcp_sack.c247 tcp_sack_ack_blocks(struct tcpcb *tp, tcp_seq th_ack) in tcp_sack_ack_blocks() argument
253 while (sb && SEQ_LEQ(sb->sblk_end, th_ack)) { in tcp_sack_ack_blocks()
264 if (sb && SEQ_GEQ(th_ack, sb->sblk_start)) { in tcp_sack_ack_blocks()
HDtcp_debug.c162 ack = th->th_ack; in tcp_trace()
HDtcp_syncache.c924 if (th->th_ack != sc->sc_iss + 1) in syncache_expand()
1245 th->th_ack = htonl(sc->sc_irs + 1); in syncache_respond()
1437 data = (th->th_ack - 1) ^ (th->th_seq - 1); /* remove ISS */ in syncookie_lookup()
1490 sc->sc_iss = th->th_ack - 1; in syncookie_lookup()
HDtcp_subr.c511 tcp_hdr->th_ack = 0; in tcp_fillheaders()
665 nth->th_ack = htonl(ack); in tcp_respond()
HDtcp_output.c1001 th->th_ack = htonl(tp->rcv_nxt); in tcp_output()
/dragonfly/sys/net/ppp_layer/
HDslcompress.c294 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp()
535 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp_core()
555 DECODEL(th->th_ack) in sl_uncompress_tcp_core()
/dragonfly/usr.sbin/ppp/
HDslcompress.c290 deltaA = ntohl(th->th_ack) - ntohl(oth->th_ack); in sl_compress_tcp()
500 th->th_ack = htonl(ntohl(th->th_ack) + i); in sl_uncompress_tcp()
519 DECODEL(th->th_ack) in sl_uncompress_tcp()
HDip.c814 (u_long)ntohl(th->th_seq), (u_long)ntohl(th->th_ack), len, nb); in PacketCheck()
/dragonfly/contrib/tcpdump/
HDtcp.h44 nd_uint32_t th_ack; /* acknowledgement number */ member
HDprint-tcp.c237 ack = GET_BE_U_4(tp->th_ack); in tcp_print()
/dragonfly/lib/libalias/
HDalias.c934 accumulate += twowords(&tc->th_ack); in TcpAliasIn()
935 tc->th_ack = htonl(ntohl(tc->th_ack) - delta); in TcpAliasIn()
936 accumulate -= twowords(&tc->th_ack); in TcpAliasIn()
HDalias_db.c2065 ack = tc->th_ack; in GetDeltaAckIn()
/dragonfly/sys/net/ip6fw/
HDip6_fw.c790 ti.th.th_ack = ntohl(ti.th.th_ack); in ip6_fw_chk()
794 seq = ti.th.th_ack; in ip6_fw_chk()
/dragonfly/usr.sbin/trpt/
HDtrpt.c359 ack = th->th_ack; in tcp_trace()
/dragonfly/sys/net/pf/
HDpf.c2226 th->th_ack = htonl(ack); in pf_send_tcp()
4052 ntohl(th->th_ack), ack, TH_RST|TH_ACK, 0, 0, in pf_test_rule()
4461 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_tcp_track_full()
4464 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0); in pf_tcp_track_full()
4467 ack = ntohl(th->th_ack); in pf_tcp_track_full()
4512 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_tcp_track_full()
4517 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0); in pf_tcp_track_full()
4740 th->th_sport, ntohl(th->th_ack), 0, in pf_tcp_track_full()
4926 (ntohl(th->th_ack) != (*state)->src.seqhi + 1) || in pf_test_state_tcp()
4940 (ntohl(th->th_ack) != (*state)->src.seqhi + 1) || in pf_test_state_tcp()
[all …]
HDpf_norm.c1373 ov = *(u_int16_t *)(&th->th_ack + 1); in pf_normalize_tcp()
1376 nv = *(u_int16_t *)(&th->th_ack + 1); in pf_normalize_tcp()
/dragonfly/sys/net/ipfw/
HDip_fw2.c2025 uint32_t ack = ntohl(tcp->th_ack); in ipfw_state_update_tcp()
2909 tcp->th_ack = htonl(0); in send_pkt()
2915 tcp->th_ack = htonl(seq); in send_pkt()
2935 tcp->th_ack = htonl(ack); in send_pkt()
2977 ntohl(tcp->th_ack), tcp->th_flags | TH_RST); in send_reject()
3925 L3HDR(struct tcphdr,ip)->th_ack); in ipfw_chk()