Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/netinet/
H A Dtcp_sack.c440 tcp_seq old_snd_fack = 0, th_ack = th->th_ack; in tcp_sack_doack() local
447 if (SEQ_LT(tp->snd_una, th_ack) && !TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_doack()
449 sack_blocks[num_sack_blks++].end = th_ack; in tcp_sack_doack()
460 if (TCP_VALIDATE_SACK_SEQ_NUMBERS(tp, &sack, th_ack)) { in tcp_sack_doack()
495 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
705 tp->snd_fack == th->th_ack && TAILQ_EMPTY(&tp->snd_holes)) { in tcp_sack_partialack()
897 if (SEQ_LT(first_sack.start, th->th_ack) && in tcp_sack_process_dsack()
898 SEQ_LEQ(first_sack.end, th->th_ack)) { in tcp_sack_process_dsack()
909 if (!(TCP_DSACK_SEQ_IN_WINDOW(tp, first_sack.start, th->th_ack) && in tcp_sack_process_dsack()
910 TCP_DSACK_SEQ_IN_WINDOW(tp, first_sack.end, th->th_ack))) { in tcp_sack_process_dsack()
[all …]
H A Dtcp_input.c1414 fsize = tp->snd_max - th->th_ack; in tcp_bad_rexmt_restore_state()
1476 SEQ_GEQ(th->th_ack, tp->t_tlphighrxt) && in tcp_bad_rexmt_check()
1489 } else if (tcp_rxtseg_detect_bad_rexmt(tp, th->th_ack)) { in tcp_bad_rexmt_check()
1777 (tp->snd_wl1 == th->th_seq && (SEQ_LT(tp->snd_wl2, th->th_ack) || in tcp_update_window()
1778 (tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd))))) { in tcp_update_window()
1781 tp->snd_wl2 == th->th_ack && tiwin > tp->snd_wnd) { in tcp_update_window()
1786 tp->snd_wl2 = th->th_ack; in tcp_update_window()
1970 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2027 th->th_seq, th->th_ack, th->th_win); in tcp_input()
2127 NTOHL(th->th_ack); in tcp_input()
[all …]
H A Dtcpip.h94 #define ti_ack ti_t.th_ack
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_debug.c197 ack = th->th_ack;
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_subr.c690 tcp_hdr->th_ack = 0; in tcp_fillheaders()
863 nth->th_ack = htonl(ack); in tcp_respond()
3803 tcp_rxtseg_detect_bad_rexmt(struct tcpcb *tp, tcp_seq th_ack) in tcp_rxtseg_detect_bad_rexmt() argument
3817 if (SEQ_LT(th_ack, tp->snd_recover)) { in tcp_rxtseg_detect_bad_rexmt()
3961 th->th_ack = htonl(tp->rcv_nxt); in tcp_make_keepalive_frame()
4412 inp_get_sndbytes_allunsent(struct socket *so, u_int32_t th_ack) in inp_get_sndbytes_allunsent() argument
4420 sent = tp->snd_max - th_ack; in inp_get_sndbytes_allunsent()
H A Dip_compat.h538 __u32 th_ack;
H A Din_pcb.c4036 inp_count_sndbytes(struct inpcb *inp, u_int32_t th_ack) in inp_count_sndbytes() argument
4054 unsent = inp_get_sndbytes_allunsent(so, th_ack); in inp_count_sndbytes()
4120 inp_decr_sndbytes_allunsent(struct socket *so, u_int32_t th_ack) in inp_decr_sndbytes_allunsent() argument
4128 len = inp_get_sndbytes_allunsent(so, th_ack); in inp_decr_sndbytes_allunsent()
H A Dtcp_var.h813 ((_th_)->th_ack - (_tp_)->snd_una)
H A Dtcp_output.c2531 th->th_ack = htonl(tp->rcv_nxt); in tcp_output()
/xnu-8796.141.3/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-8796.141.3/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c815 th->th_ack = 0; in flow_track_abort_tcp()
820 th->th_ack = in_pkt->pkt_flow_tcp_seq + in flow_track_abort_tcp()
828 th->th_ack = rst_pkt->pkt_flow_tcp_ack; in flow_track_abort_tcp()
834 th->th_ack = 0; in flow_track_abort_tcp()
H A Dflow_agg.c135 .th_ack = 0xffffffff,
186 .th_ack = 0xffffffff,
1121 if (memcmp(&stcp->th_ack, &tcp->th_ack, sizeof(stcp->th_ack)) != 0 || in can_agg_slowpath()
1124 DTRACE_SKYWALK4(aggr__fail9, uint32_t, ntohl(stcp->th_ack), in can_agg_slowpath()
1125 uint32_t, ntohl(tcp->th_ack), uint16_t, ntohs(stcp->th_win), in can_agg_slowpath()
1390 old = *(uint16_t *)(void *)(&stcp->th_ack + 1); in flow_agg_merge_hdr()
1393 new = *(uint16_t *)(void *)(&stcp->th_ack + 1); in flow_agg_merge_hdr()
H A Dflow_classifier.c147 (offsetof(struct tcphdr, th_ack) - in flow_pkt_classify()
/xnu-8796.141.3/bsd/dev/dtrace/scripts/
H A Dtcp.d134 tcp_ack = ntohl(T->th_ack);
/xnu-8796.141.3/bsd/netinet6/
H A Desp_output.c915 ntohl(th.th_seq), ntohl(th.th_ack), in esp_output()
/xnu-8796.141.3/bsd/net/
H A Dpf.c2739 th->th_ack = htonl(ack); in pf_send_tcp()
5541 ntohl(th->th_ack), ack, TH_RST | TH_ACK, 0, 0, in pf_test_rule()
7053 (ntohl(th->th_ack) != src->seqhi + 1) || in pf_test_state_tcp()
7077 (ntohl(th->th_ack) != src->seqhi + 1) || in pf_test_state_tcp()
7094 (ntohl(th->th_ack) != dst->seqhi + 1)) { in pf_test_state_tcp()
7102 ntohl(th->th_ack), ntohl(th->th_seq) + 1, in pf_test_state_tcp()
7175 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_test_state_tcp()
7178 pf_change_a(&th->th_ack, &th->th_sum, htonl(ack), 0); in pf_test_state_tcp()
7181 ack = ntohl(th->th_ack); in pf_test_state_tcp()
7242 ack = ntohl(th->th_ack) - dst->seqdiff; in pf_test_state_tcp()
[all …]
H A Dpf_norm.c2701 ov = *(u_int16_t *)(&th->th_ack + 1); in pf_normalize_tcp()
2704 nv = *(u_int16_t *)(&th->th_ack + 1); in pf_normalize_tcp()