Home
last modified time | relevance | path

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

12

/f-stack/freebsd/netinet/
H A Dtcp_reass.c372 first->tqe_start = th->th_seq; in tcp_reass_prepend()
555 KASSERT(SEQ_GEQ(th->th_seq, tp->rcv_nxt), in tcp_reass()
644 th->th_seq += i; in tcp_reass()
702 if (SEQ_LT(th->th_seq, first->tqe_start) && in tcp_reass()
728 if (SEQ_LT(th->th_seq, tp->rcv_nxt)) { in tcp_reass()
737 th->th_seq, tp->rcv_nxt, tp); in tcp_reass()
739 i = tp->rcv_nxt - th->th_seq; in tcp_reass()
744 th->th_seq += i; in tcp_reass()
783 if (SEQ_GT(q->tqe_start, th->th_seq)) in tcp_reass()
855 th->th_seq += i; in tcp_reass()
[all …]
H A Dtcp_input.c1749 th->th_seq == tp->rcv_nxt && in tcp_do_segment()
1899 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
2015 tp->irs = th->th_seq; in tcp_do_segment()
2098 th->th_seq++; in tcp_do_segment()
2107 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
2108 tp->rcv_up = th->th_seq; in tcp_do_segment()
2266 th->th_seq++; in tcp_do_segment()
2302 th->th_seq + todrop); in tcp_do_segment()
2310 th->th_seq += todrop; in tcp_do_segment()
2474 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
[all …]
H A Dtcpip.h52 #define ti_seq ti_t.th_seq
H A Dtcp_syncache.c674 if ((SEQ_GEQ(th->th_seq, sc->sc_irs + 1) && in syncache_chkrst()
678 th->th_seq == sc->sc_irs + 1) { in syncache_chkrst()
695 th->th_seq, sc->sc_irs + 1, sc->sc_wnd); in syncache_chkrst()
703 th->th_seq, sc->sc_irs + 1, sc->sc_wnd); in syncache_chkrst()
744 if (ntohl(th_seq) != sc->sc_iss) in syncache_unreach()
1369 if (SEQ_LEQ(th->th_seq, sc->sc_irs) || in syncache_expand()
1370 SEQ_GT(th->th_seq, sc->sc_irs + sc->sc_wnd)) { in syncache_expand()
1718 sc->sc_irs = th->th_seq; in syncache_add()
1955 th->th_seq = htonl(sc->sc_iss); in syncache_respond()
1957 th->th_seq = htonl(sc->sc_iss + 1); in syncache_respond()
[all …]
H A Dtcp_timewait.c440 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { in tcp_twcheck()
466 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck()
475 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt) { in tcp_twcheck()
615 th->th_seq = htonl(tw->snd_nxt); in tcp_twrespond()
H A Dtcp_lro.c440 uint32_t th_seq , uint32_t th_ack, uint16_t th_win) in tcp_lro_log() argument
462 log.u_bbr.inflight = th_seq; in tcp_lro_log()
640 le->next_seq = ntohl(th->th_seq) + tcp_data_len; in tcp_set_le_to_m()
792 if (__predict_false(ntohl(th->th_seq) != le->next_seq || in tcp_lro_condense()
799 ntohl(th->th_seq), in tcp_lro_condense()
820 ntohl(th->th_seq), in tcp_lro_condense()
838 ntohl(th->th_seq), in tcp_lro_condense()
1248 seq = ntohl(th->th_seq); in tcp_lro_rx2()
H A Dtcp_debug.c174 seq = th->th_seq; in tcp_trace()
H A Dtcp_var.h1079 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host()
1089 th->th_seq = htonl(th->th_seq); in tcp_fields_to_net()
H A Dtcp.h55 tcp_seq th_seq; /* sequence number */ member
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack_bbr_common.c520 todrop = tp->rcv_nxt - th->th_seq; in ctf_drop_checks()
524 th->th_seq++; in ctf_drop_checks()
558 tcp_update_sack_list(tp, th->th_seq, in ctf_drop_checks()
559 th->th_seq + todrop); in ctf_drop_checks()
567 th->th_seq += todrop; in ctf_drop_checks()
592 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) { in ctf_drop_checks()
674 if ((SEQ_GEQ(th->th_seq, (tp->last_ack_sent - 1)) && in ctf_process_rst()
682 (tp->last_ack_sent == th->th_seq) || in ctf_process_rst()
683 (tp->rcv_nxt == th->th_seq) || in ctf_process_rst()
684 ((tp->last_ack_sent - 1) == th->th_seq)) { in ctf_process_rst()
[all …]
H A Dbbr.c8232 tp->snd_wl1 = th->th_seq; in bbr_process_data()
8240 tp->snd_wl1 = th->th_seq; in bbr_process_data()
8297 tcp_seq save_start = th->th_seq; in bbr_process_data()
8579 tp->snd_wl1 = th->th_seq; in bbr_do_fastnewdata()
8711 tp->snd_wl1 = th->th_seq; in bbr_fastack()
8881 tp->irs = th->th_seq; in bbr_do_syn_sent()
8973 th->th_seq++; in bbr_do_syn_sent()
8982 tp->snd_wl1 = th->th_seq - 1; in bbr_do_syn_sent()
8983 tp->rcv_up = th->th_seq; in bbr_do_syn_sent()
9217 tp->snd_wl1 = th->th_seq - 1; in bbr_do_syn_recv()
[all …]
H A Drack.c8552 tp->snd_wl1 = th->th_seq; in rack_process_data()
8560 tp->snd_wl1 = th->th_seq; in rack_process_data()
8617 tcp_seq save_start = th->th_seq; in rack_process_data()
8633 if (th->th_seq == tp->rcv_nxt && in rack_process_data()
8898 tp->snd_wl1 = th->th_seq; in rack_do_fastnewdata()
9015 tp->snd_wl1 = th->th_seq; in rack_fastack()
9206 tp->irs = th->th_seq; in rack_do_syn_sent()
9298 th->th_seq++; in rack_do_syn_sent()
9307 tp->snd_wl1 = th->th_seq - 1; in rack_do_syn_sent()
9308 tp->rcv_up = th->th_seq; in rack_do_syn_sent()
[all …]
/f-stack/freebsd/net/
H A Dslcompress.c302 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq); in sl_compress_tcp()
531 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp_core()
536 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp_core()
551 DECODEL(th->th_seq) in sl_uncompress_tcp_core()
/f-stack/tools/compat/include/netinet/
H A Dtcpip.h52 #define ti_seq ti_t.th_seq
H A Dtcp_var.h1079 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host()
1089 th->th_seq = htonl(th->th_seq); in tcp_fields_to_net()
H A Dtcp.h55 tcp_seq th_seq; /* sequence number */ member
/f-stack/freebsd/netinet/libalias/
H A Dalias_irc.c443 delta = GetDeltaSeqOut(tc->th_seq, lnk); in AliasHandleIrcOut()
445 pip->ip_len, tc->th_seq, tc->th_off); in AliasHandleIrcOut()
H A Dalias_smedia.c407 delta = GetDeltaSeqOut(tc->th_seq, lnk); in alias_rtsp_out()
409 tc->th_seq, tc->th_off); in alias_rtsp_out()
H A Dalias_ftp.c746 delta = GetDeltaSeqOut(tc->th_seq, lnk); in NewFtpMessage()
748 pip->ip_len, tc->th_seq, tc->th_off); in NewFtpMessage()
H A Dalias.c1157 delta = GetDeltaSeqOut(tc->th_seq, lnk); in TcpAliasOut()
1159 accumulate += twowords(&tc->th_seq); in TcpAliasOut()
1160 tc->th_seq = htonl(ntohl(tc->th_seq) + delta); in TcpAliasOut()
1161 accumulate -= twowords(&tc->th_seq); in TcpAliasOut()
H A Dalias_proxy.c351 delta = GetDeltaSeqOut(tc->th_seq, lnk); in ProxyEncodeTcpStream()
352 AddSeq(lnk, delta + slen, pip->ip_hl, pip->ip_len, tc->th_seq, in ProxyEncodeTcpStream()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_rcmd_pxy.c184 (tcp->th_seq != rc->rcmd_portseq))
210 rc->rcmd_portseq = tcp->th_seq;
H A Dip_pptp_pxy.c299 start = ntohl(tcp->th_seq);
543 pptp->pptp_side[rev].pptps_next = ntohl(tcp->th_seq) + 1;
544 pptp->pptp_side[rev].pptps_nexthdr = ntohl(tcp->th_seq) + 1;
H A Dip_proxy.c1183 seq1 = (u_32_t)ntohl(tcp->th_seq);
1201 tcp->th_seq = htonl(seq1);
1236 seq1 = ntohl(tcp->th_seq);
1253 tcp->th_seq = htonl(seq1);
1297 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack));
H A Dip_state.c1603 is->is_send = ntohl(tcp->th_seq) + fin->fin_dlen -
2073 is->is_s0[!source] = ntohl(tcp->th_seq) + 1;
2084 is->is_s0[source] = ntohl(tcp->th_seq) + 1;
2134 old = ntohl(tcp->th_seq);
2175 seq = ntohl(tcp->th_seq);
2615 is->is_send = ntohl(tcp->th_seq);
2627 is->is_dend = ntohl(tcp->th_seq);
3485 seq = ntohl(tcp->th_seq);
3487 tcp->th_seq = htonl(seq);
3493 seq = ntohl(tcp->th_seq);
[all …]

12