Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/netinet/
H A Dtcp_input.c565 if (th->th_seq != tp->rcv_nxt) { in tcp_reass()
598 if (th->th_seq != tp->rcv_nxt && in tcp_reass()
621 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq)) { in tcp_reass()
635 i = p->tqe_th->th_seq + p->tqe_len - th->th_seq; in tcp_reass()
642 tp->t_dsack_lseq = th->th_seq; in tcp_reass()
643 tp->t_dsack_rseq = th->th_seq + in tcp_reass()
678 th->th_seq += i; in tcp_reass()
682 if (th->th_seq != tp->rcv_nxt) { in tcp_reass()
704 int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq; in tcp_reass()
717 tp->t_dsack_lseq = q->tqe_th->th_seq; in tcp_reass()
[all …]
H A Dtcpip.h93 #define ti_seq ti_t.th_seq
H A Dtcp_syncookie.c369 tpi->th->th_seq + 1, seq, win, flags, tpi->to, mss, rcv_scale, tpi->ts_offset, &tra, true); in syncookie_respond()
629 tpi->irs = tpi->th->th_seq; in syncookie_generate()
660 tpi->irs = tpi->th->th_seq - 1; in syncookie_lookup()
H A Dtcp.h96 tcp_seq th_seq; /* sequence number */ member
H A Dtcp_output.c2931 th->th_seq = htonl(tp->snd_nxt); in tcp_output()
2948 th->th_seq = htonl(tp->snd_max); in tcp_output()
2953 th->th_seq = htonl(seg->start_seq); in tcp_output()
2956 th->th_seq = htonl(p->rxmit); in tcp_output()
2962 m->m_pkthdr.tx_start_seq = ntohl(th->th_seq); in tcp_output()
3341 tcp_seg_sent_insert(tp, seg, ntohl(th->th_seq), in tcp_output()
3342 ntohl(th->th_seq) + len, tp->t_latest_tx, retransmit_flag); in tcp_output()
3380 uint32_t gencnt = ntohl(th->th_seq) & TCP_COMP_RXMT_GENCNT_MASK; in tcp_output()
H A Dtcp_rledbat.c269 if (SEQ_LT(th->th_seq + segment_len, tp->rcv_high) && in tcp_rledbat_data_rcvd()
H A Dip_compat.h537 __u32 th_seq;
H A Dmptcp_opt.c1509 if (th->th_seq != tp->rcv_nxt) { in mptcp_do_fastclose_opt()
1536 if (th->th_seq != tp->rcv_nxt) { in mptcp_do_mpfail_opt()
H A Dtcp_subr.c853 tcp_hdr->th_seq = 0; in tcp_fillheaders()
1072 nth->th_seq = htonl(seq); in tcp_respond()
2752 icmp_tcp_seq = ntohl(th->th_seq); in tcp_ctlinput()
4953 th->th_seq = htonl(tp->snd_una - 1); in tcp_make_keepalive_frame()
4955 th->th_seq = htonl(tp->snd_una); in tcp_make_keepalive_frame()
/xnu-12377.61.12/tests/
H A Dicmp_fragmented_payload.c242 pcb->inner_tcp_hdr->th_seq = htonl(tcp_in->th_seq); in icmp4_pcb_set_payload()
348 .th_seq = 1024,
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c834 th->th_seq = in_pkt->pkt_flow_tcp_ack; in flow_track_abort_tcp()
839 th->th_seq = 0; in flow_track_abort_tcp()
847 th->th_seq = rst_pkt->pkt_flow_tcp_seq; in flow_track_abort_tcp()
853 th->th_seq = htonl(src->fse_seqlo); /* peer's last ACK */ in flow_track_abort_tcp()
H A Dflow_classifier.c143 (offsetof(struct tcphdr, th_seq) - in flow_pkt_classify()
H A Dflow_agg.c143 .th_seq = 0,
194 .th_seq = 0,
/xnu-12377.61.12/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c387 state->tcp->th_seq = htonl(state->tcp_seq); in netif_gso_tcp_segment_mbuf()
389 ASSERT(state->tcp->th_seq == pkt->pkt_flow_tcp_seq); in netif_gso_tcp_segment_mbuf()
611 state->tcp_seq = ntohl(state->tcp->th_seq); in netif_gso_ip_tcp_init_state()
/xnu-12377.61.12/bsd/dev/dtrace/scripts/
H A Dtcp.d133 tcp_seq = ntohl(T->th_seq);
/xnu-12377.61.12/bsd/net/
H A Dpf.c2779 th->th_seq = htonl(seq); in pf_send_tcp()
5551 u_int32_t ack = ntohl(th->th_seq) + pd->p_len; in pf_test_rule()
5879 s->src.seqlo = ntohl(th->th_seq); in pf_test_rule()
5888 pf_change_a(&th->th_seq, &th->th_sum, in pf_test_rule()
6126 th->th_sport, s->src.seqhi, ntohl(th->th_seq) + 1, in pf_test_rule()
7080 if (ntohl(th->th_seq) != src->seqlo) { in pf_test_state_tcp()
7086 src->seqhi, ntohl(th->th_seq) + 1, in pf_test_state_tcp()
7093 (ntohl(th->th_seq) != src->seqlo + 1)) { in pf_test_state_tcp()
7117 (ntohl(th->th_seq) != src->seqlo + 1)) { in pf_test_state_tcp()
7138 dst->seqlo = ntohl(th->th_seq); in pf_test_state_tcp()
[all …]
H A Dif_bridge.c10431 state->tcp_seq = ntohl(state->tcp->th_seq);
10540 state->tcp->th_seq = htonl(state->tcp_seq);
/xnu-12377.61.12/bsd/netinet6/
H A Desp_output.c919 ntohl(th.th_seq), ntohl(th.th_ack), in esp_output()
H A Desp_input.c203 ntohl(th.th_seq), proto_len); in esp_input_log()
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c3743 pkt->pkt_flow_tcp_seq = tcp->th_seq; in update_flow_info()
3828 tcp_seq = ntohl(tcp->th_seq); in do_gso()
3892 tcp->th_seq = htonl(tcp_seq); in do_gso()
3917 tcp->th_seq = htonl(tcp_seq); in do_gso()
/xnu-12377.61.12/tests/skywalk/
H A Dskt_xfer.c493 ntohl(ip_tcp->tcp.th_seq), in ip_frame_dump()