Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/netinet/
H A Dtcp_sack.c422 tcp_seq old_snd_fack = 0, th_ack = th->th_ack; in tcp_sack_doack() local
435 if (!TCP_RACK_ENABLED(tp) && SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
437 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack()
448 if (TCP_VALIDATE_SACK_SEQ_NUMBERS(tp, &sack, th_ack)) { in tcp_sack_doack()
503 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
703 if (SEQ_LT(tp->snd_nxt, th->th_ack)) { in tcp_sack_partialack()
704 tp->snd_nxt = th->th_ack; in tcp_sack_partialack()
716 tp->snd_fack == th->th_ack && TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_partialack()
901 if (SEQ_LT(first_sack.start, th->th_ack) && in tcp_sack_process_dsack()
902 SEQ_LEQ(first_sack.end, th->th_ack)) { in tcp_sack_process_dsack()
[all …]
H A Dtcp_input.c1276 fsize = tp->snd_max - th->th_ack; in tcp_bad_rexmt_restore_state()
1343 SEQ_GEQ(th->th_ack, tp->t_tlphighrxt) && in tcp_bad_rexmt_check()
1357 } else if (tcp_rxtseg_detect_bad_rexmt(tp, th->th_ack)) { in tcp_bad_rexmt_check()
1642 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_update_window()
1643 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_update_window()
1646 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) { in tcp_update_window()
1651 tp->snd_wl2 = th->th_ack; in tcp_update_window()
2849 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2908 th->th_seq, th->th_ack, th->th_win); in tcp_input()
3011 NTOHL(th->th_ack); in tcp_input()
[all …]
H A Dtcpip.h94 #define ti_ack ti_t.th_ack
H A Dtcp_subr.c854 tcp_hdr->th_ack = 0; in tcp_fillheaders()
1073 nth->th_ack = htonl(ack); in tcp_respond()
4088 tcp_rxtseg_detect_bad_rexmt(struct tcpcb *tp, tcp_seq th_ack) in tcp_rxtseg_detect_bad_rexmt() argument
4102 if (SEQ_LT(th_ack, tp->snd_recover)) { in tcp_rxtseg_detect_bad_rexmt()
4382 tcp_seg_collect_acked(struct tcpcb *tp, struct tcp_seg_sent *seg, tcp_seq th_ack, in tcp_seg_collect_acked() argument
4389 if (SEQ_GEQ(th_ack, seg->end_seq)) { in tcp_seg_collect_acked()
4393 tcp_seg_collect_acked(tp, RB_RIGHT(seg, seg_link), th_ack, acked_xmit_ts, tsecr); in tcp_seg_collect_acked()
4400 tcp_seg_collect_acked(tp, RB_LEFT(seg, seg_link), th_ack, acked_xmit_ts, tsecr); in tcp_seg_collect_acked()
4449 tcp_segs_doack(struct tcpcb *tp, tcp_seq th_ack, struct tcpopt *to) in tcp_segs_doack() argument
4452 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.c230 ss = tp->snd_max - th->th_ack; in tcp_newreno_post_fr()
H A Dtcp_syncookie.c134 (*tpi->tp)->snd_nxt = (*tpi->tp)->snd_max = tpi->th->th_ack; in tcp_syncookie_ack()
659 ack = tpi->th->th_ack - 1; in syncookie_lookup()
H A Dtcp_prague.c505 prague_update_alpha(tp, th->th_ack, packets_marked, packets_acked); in tcp_prague_process_ecn()
532 if (!rtt_elapsed(tp->t_ccstate->snd_nxt_cwr, th->th_ack)) { in tcp_prague_process_ecn()
H A Dtcp_cubic.c446 ack = th->th_ack; in tcp_cubic_post_fr()
H A Dtcp_ledbat.c470 ss = tp->snd_max - th->th_ack; in tcp_ledbat_post_fr()
H A Dip_compat.h538 __u32 th_ack;
H A Dtcp_var.h1020 ((_th_)->th_ack - (_tp_)->snd_una)
1926 void tcp_segs_doack(struct tcpcb *tp, tcp_seq th_ack, struct tcpopt *to);
H A Din_pcb.c4171 inp_count_sndbytes(struct inpcb *inp, u_int32_t th_ack) in inp_count_sndbytes() argument
4189 unsent = inp_get_sndbytes_allunsent(so, th_ack); in inp_count_sndbytes()
4255 inp_decr_sndbytes_allunsent(struct socket *so, u_int32_t th_ack) in inp_decr_sndbytes_allunsent() argument
4263 len = inp_get_sndbytes_allunsent(so, th_ack); in inp_decr_sndbytes_allunsent()
H A Dtcp_output.c2971 th->th_ack = htonl(tp->rcv_nxt); in tcp_output()
/xnu-12377.81.4/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-12377.81.4/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()
1427 tcp_seq *th_ack = &stcp->th_ack; in flow_agg_merge_hdr() local
1435 th_ack + 1); in flow_agg_merge_hdr()
1439 next = __unsafe_forge_single(uint16_t *, th_ack + 1); in flow_agg_merge_hdr()
H A Dflow_track.c835 th->th_ack = 0; in flow_track_abort_tcp()
840 th->th_ack = in_pkt->pkt_flow_tcp_seq + in flow_track_abort_tcp()
848 th->th_ack = rst_pkt->pkt_flow_tcp_ack; in flow_track_abort_tcp()
854 th->th_ack = 0; in flow_track_abort_tcp()
H A Dflow_classifier.c147 (offsetof(struct tcphdr, th_ack) - in flow_pkt_classify()
/xnu-12377.81.4/bsd/dev/dtrace/scripts/
H A Dtcp.d134 tcp_ack = ntohl(T->th_ack);
/xnu-12377.81.4/bsd/net/
H A Dpf_norm.c2704 ov = *(u_int16_t *)(void *)(th_iter + offsetof(struct tcphdr, th_ack) + sizeof(th->th_ack)); in pf_normalize_tcp()
2707 nv = *(u_int16_t *)(void *)(th_iter + offsetof(struct tcphdr, th_ack) + sizeof(th->th_ack)); in pf_normalize_tcp()
H A Dpf.c2780 th->th_ack = htonl(ack); in pf_send_tcp()
5580 ntohl(th->th_ack), ack, TH_RST | TH_ACK, 0, 0, in pf_test_rule()
7092 (ntohl(th->th_ack) != src->seqhi + 1) || in pf_test_state_tcp()
7116 (ntohl(th->th_ack) != src->seqhi + 1) || in pf_test_state_tcp()
7133 (ntohl(th->th_ack) != dst->seqhi + 1)) { in pf_test_state_tcp()
7141 ntohl(th->th_ack), ntohl(th->th_seq) + 1, in pf_test_state_tcp()
7214 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_test_state_tcp()
7217 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0); in pf_test_state_tcp()
7220 ack = ntohl(th->th_ack); in pf_test_state_tcp()
7281 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_test_state_tcp()
[all …]
/xnu-12377.81.4/bsd/netinet6/
H A Desp_output.c919 ntohl(th.th_seq), ntohl(th.th_ack), in esp_output()
/xnu-12377.81.4/tests/skywalk/
H A Dskt_xfer.c494 ntohl(ip_tcp->tcp.th_ack), in ip_frame_dump()