Home
last modified time | relevance | path

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

/xnu-11417.101.15/bsd/netinet/
H A Dtcp_input.c588 if (th->th_seq != tp->rcv_nxt) { in tcp_reass()
612 if (th->th_seq != tp->rcv_nxt && in tcp_reass()
630 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq)) { in tcp_reass()
644 i = p->tqe_th->th_seq + p->tqe_len - th->th_seq; in tcp_reass()
651 tp->t_dsack_lseq = th->th_seq; in tcp_reass()
652 tp->t_dsack_rseq = th->th_seq + in tcp_reass()
690 th->th_seq += i; in tcp_reass()
694 if (th->th_seq != tp->rcv_nxt) { in tcp_reass()
716 int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq; in tcp_reass()
729 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.h96 tcp_seq th_seq; /* sequence number */ member
H A Dtcp_output.c2751 th->th_seq = htonl(tp->snd_nxt); in tcp_output()
2768 th->th_seq = htonl(tp->snd_max); in tcp_output()
2773 th->th_seq = htonl(seg->start_seq); in tcp_output()
2776 th->th_seq = htonl(p->rxmit); in tcp_output()
2782 m->m_pkthdr.tx_start_seq = ntohl(th->th_seq); in tcp_output()
3197 …tcp_seg_sent_insert(tp, seg, ntohl(th->th_seq), ntohl(th->th_seq) + len, tcp_now_local, retransmit… in tcp_output()
3228 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 Dtcp_subr.c716 tcp_hdr->th_seq = 0; in tcp_fillheaders()
889 nth->th_seq = htonl(seq); in tcp_respond()
2514 icmp_tcp_seq = ntohl(th->th_seq); in tcp_ctlinput()
4761 th->th_seq = htonl(tp->snd_una - 1); in tcp_make_keepalive_frame()
4763 th->th_seq = htonl(tp->snd_una); in tcp_make_keepalive_frame()
H A Dmptcp_opt.c1579 if (th->th_seq != tp->rcv_nxt) { in mptcp_do_fastclose_opt()
1607 if (th->th_seq != tp->rcv_nxt) { in mptcp_do_mpfail_opt()
/xnu-11417.101.15/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-11417.101.15/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_track.c829 th->th_seq = in_pkt->pkt_flow_tcp_ack; in flow_track_abort_tcp()
834 th->th_seq = 0; in flow_track_abort_tcp()
842 th->th_seq = rst_pkt->pkt_flow_tcp_seq; in flow_track_abort_tcp()
848 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-11417.101.15/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c394 state->tcp->th_seq = htonl(state->tcp_seq); in netif_gso_tcp_segment_mbuf()
396 ASSERT(state->tcp->th_seq == pkt->pkt_flow_tcp_seq); in netif_gso_tcp_segment_mbuf()
612 state->tcp_seq = ntohl(state->tcp->th_seq); in netif_gso_ip_tcp_init_state()
/xnu-11417.101.15/bsd/dev/dtrace/scripts/
H A Dtcp.d133 tcp_seq = ntohl(T->th_seq);
/xnu-11417.101.15/bsd/net/
H A Dpf.c2776 th->th_seq = htonl(seq); in pf_send_tcp()
5548 u_int32_t ack = ntohl(th->th_seq) + pd->p_len; in pf_test_rule()
5876 s->src.seqlo = ntohl(th->th_seq); in pf_test_rule()
5885 pf_change_a(&th->th_seq, &th->th_sum, in pf_test_rule()
6123 th->th_sport, s->src.seqhi, ntohl(th->th_seq) + 1, in pf_test_rule()
7077 if (ntohl(th->th_seq) != src->seqlo) { in pf_test_state_tcp()
7083 src->seqhi, ntohl(th->th_seq) + 1, in pf_test_state_tcp()
7090 (ntohl(th->th_seq) != src->seqlo + 1)) { in pf_test_state_tcp()
7114 (ntohl(th->th_seq) != src->seqlo + 1)) { in pf_test_state_tcp()
7135 dst->seqlo = ntohl(th->th_seq); in pf_test_state_tcp()
[all …]
H A Dif_bridge.c10289 state->tcp_seq = ntohl(state->tcp->th_seq);
10383 state->tcp->th_seq = htonl(state->tcp_seq);
/xnu-11417.101.15/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c3656 pkt->pkt_flow_tcp_seq = tcp->th_seq; in update_flow_info()
3741 tcp_seq = ntohl(tcp->th_seq); in do_gso()
3805 tcp->th_seq = htonl(tcp_seq); in do_gso()
3830 tcp->th_seq = htonl(tcp_seq); in do_gso()
/xnu-11417.101.15/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-11417.101.15/tests/skywalk/
H A Dskt_xfer.c492 ntohl(ip_tcp->tcp.th_seq), in ip_frame_dump()