Home
last modified time | relevance | path

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

/xnu-11215.61.5/bsd/netinet/
H A Dtcp_sack.c433 tcp_seq old_snd_fack = 0, th_ack = th->th_ack; in tcp_sack_doack() local
446 if (!TCP_RACK_ENABLED(tp) && SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
448 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack()
459 if (TCP_VALIDATE_SACK_SEQ_NUMBERS(tp, &sack, th_ack)) { in tcp_sack_doack()
513 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
713 if (SEQ_LT(tp->snd_nxt, th->th_ack)) { in tcp_sack_partialack()
714 tp->snd_nxt = th->th_ack; in tcp_sack_partialack()
726 tp->snd_fack == th->th_ack && TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_partialack()
911 if (SEQ_LT(first_sack.start, th->th_ack) && in tcp_sack_process_dsack()
912 SEQ_LEQ(first_sack.end, th->th_ack)) { in tcp_sack_process_dsack()
[all …]
H A Dtcp_input.c1363 fsize = tp->snd_max - th->th_ack; in tcp_bad_rexmt_restore_state()
1430 SEQ_GEQ(th->th_ack, tp->t_tlphighrxt) && in tcp_bad_rexmt_check()
1444 } else if (tcp_rxtseg_detect_bad_rexmt(tp, th->th_ack)) { in tcp_bad_rexmt_check()
1727 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_update_window()
1728 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_update_window()
1731 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) { in tcp_update_window()
1736 tp->snd_wl2 = th->th_ack; in tcp_update_window()
2114 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2171 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2271 NTOHL(th->th_ack); in tcp_input()
[all …]
H A Dtcpip.h94 #define ti_ack ti_t.th_ack
H A Dtcp_rack.c210 tcp_rack_update_reordering_window(struct tcpcb *tp, tcp_seq th_ack) in tcp_rack_update_reordering_window() argument
224 if (SEQ_LT(th_ack, tp->rack.dsack_round_end)) { in tcp_rack_update_reordering_window()
H A Dtcp_subr.c711 tcp_hdr->th_ack = 0; in tcp_fillheaders()
884 nth->th_ack = htonl(ack); in tcp_respond()
3946 tcp_rxtseg_detect_bad_rexmt(struct tcpcb *tp, tcp_seq th_ack) in tcp_rxtseg_detect_bad_rexmt() argument
3960 if (SEQ_LT(th_ack, tp->snd_recover)) { in tcp_rxtseg_detect_bad_rexmt()
4220 tcp_seg_collect_acked(struct tcpcb *tp, struct tcp_seg_sent *seg, tcp_seq th_ack, in tcp_seg_collect_acked() argument
4227 if (SEQ_GEQ(th_ack, seg->end_seq)) { in tcp_seg_collect_acked()
4231 tcp_seg_collect_acked(tp, RB_RIGHT(seg, seg_link), th_ack, acked_xmit_ts, tsecr); in tcp_seg_collect_acked()
4238 tcp_seg_collect_acked(tp, RB_LEFT(seg, seg_link), th_ack, acked_xmit_ts, tsecr); in tcp_seg_collect_acked()
4287 tcp_segs_doack(struct tcpcb *tp, tcp_seq th_ack, struct tcpopt *to) in tcp_segs_doack() argument
4290 tcp_seq acked_seq = th_ack; in tcp_segs_doack()
[all …]
H A Dtcp.h97 tcp_seq th_ack; /* acknowledgement number */ member
H A Dtcp_newreno.c224 ss = tp->snd_max - th->th_ack; in tcp_newreno_post_fr()
H A Dtcp_prague.c536 prague_update_alpha(tp, th->th_ack, packets_marked, packets_acked); in tcp_prague_process_ecn()
563 if (!rtt_elapsed(tp->t_ccstate->snd_nxt_cwr, th->th_ack)) { in tcp_prague_process_ecn()
H A Dtcp_ledbat.c464 ss = tp->snd_max - th->th_ack; in tcp_ledbat_post_fr()
H A Dtcp_cubic.c486 ack = th->th_ack; in tcp_cubic_post_fr()
H A Dtcp_var.h961 ((_th_)->th_ack - (_tp_)->snd_una)
1849 void tcp_rack_update_reordering_window(struct tcpcb *tp, tcp_seq th_ack);
1864 void tcp_segs_doack(struct tcpcb *tp, tcp_seq th_ack, struct tcpopt *to);
H A Dip_compat.h538 __u32 th_ack;
H A Din_pcb.c4191 inp_count_sndbytes(struct inpcb *inp, u_int32_t th_ack) in inp_count_sndbytes() argument
4209 unsent = inp_get_sndbytes_allunsent(so, th_ack); in inp_count_sndbytes()
4275 inp_decr_sndbytes_allunsent(struct socket *so, u_int32_t th_ack) in inp_decr_sndbytes_allunsent() argument
4283 len = inp_get_sndbytes_allunsent(so, th_ack); in inp_decr_sndbytes_allunsent()
H A Dtcp_output.c2735 th->th_ack = htonl(tp->rcv_nxt); in tcp_output()
/xnu-11215.61.5/tests/
H A Dicmp_fragmented_payload.c243 pcb->inner_tcp_hdr->th_ack = htonl(tcp_in->th_ack); in icmp4_pcb_set_payload()
349 .th_ack = 4096,
/xnu-11215.61.5/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c144 .th_ack = 0xffffffff,
195 .th_ack = 0xffffffff,
1153 if (memcmp(&stcp->th_ack, &tcp->th_ack, sizeof(stcp->th_ack)) != 0 || in can_agg_slowpath()
1156 DTRACE_SKYWALK4(aggr__fail9, uint32_t, ntohl(stcp->th_ack), in can_agg_slowpath()
1157 uint32_t, ntohl(tcp->th_ack), uint16_t, ntohs(stcp->th_win), in can_agg_slowpath()
1425 tcp_seq *th_ack = &stcp->th_ack; in flow_agg_merge_hdr() local
1433 th_ack + 1); in flow_agg_merge_hdr()
1437 next = __unsafe_forge_single(uint16_t *, th_ack + 1); in flow_agg_merge_hdr()
H A Dflow_track.c830 th->th_ack = 0; in flow_track_abort_tcp()
835 th->th_ack = in_pkt->pkt_flow_tcp_seq + in flow_track_abort_tcp()
843 th->th_ack = rst_pkt->pkt_flow_tcp_ack; in flow_track_abort_tcp()
849 th->th_ack = 0; in flow_track_abort_tcp()
H A Dflow_classifier.c147 (offsetof(struct tcphdr, th_ack) - in flow_pkt_classify()
/xnu-11215.61.5/bsd/dev/dtrace/scripts/
H A Dtcp.d134 tcp_ack = ntohl(T->th_ack);
/xnu-11215.61.5/bsd/net/
H A Dpf_norm.c2701 ov = *(u_int16_t *)(void *)(th_iter + offsetof(struct tcphdr, th_ack) + sizeof(th->th_ack)); in pf_normalize_tcp()
2704 nv = *(u_int16_t *)(void *)(th_iter + offsetof(struct tcphdr, th_ack) + sizeof(th->th_ack)); in pf_normalize_tcp()
H A Dpf.c2777 th->th_ack = htonl(ack); in pf_send_tcp()
5577 ntohl(th->th_ack), ack, TH_RST | TH_ACK, 0, 0, in pf_test_rule()
7089 (ntohl(th->th_ack) != src->seqhi + 1) || in pf_test_state_tcp()
7113 (ntohl(th->th_ack) != src->seqhi + 1) || in pf_test_state_tcp()
7130 (ntohl(th->th_ack) != dst->seqhi + 1)) { in pf_test_state_tcp()
7138 ntohl(th->th_ack), ntohl(th->th_seq) + 1, in pf_test_state_tcp()
7211 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_test_state_tcp()
7214 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0); in pf_test_state_tcp()
7217 ack = ntohl(th->th_ack); in pf_test_state_tcp()
7278 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_test_state_tcp()
[all …]
/xnu-11215.61.5/bsd/netinet6/
H A Desp_output.c919 ntohl(th.th_seq), ntohl(th.th_ack), in esp_output()
/xnu-11215.61.5/tests/skywalk/
H A Dskt_xfer.c493 ntohl(ip_tcp->tcp.th_ack), in ip_frame_dump()