Home
last modified time | relevance | path

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

123

/freebsd-12.1/sys/netinet/
H A Dtcp_reass.c359 i = (th->th_seq + tlen) - first->tqe_start; in tcp_reass_prepend()
371 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()
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.c1736 th->th_seq == tp->rcv_nxt && in tcp_do_segment()
1878 tp->snd_wl1 = th->th_seq; in tcp_do_segment()
1995 tp->irs = th->th_seq; in tcp_do_segment()
2079 th->th_seq++; in tcp_do_segment()
2088 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
2089 tp->rcv_up = th->th_seq; in tcp_do_segment()
2252 th->th_seq++; in tcp_do_segment()
2288 th->th_seq + todrop); in tcp_do_segment()
2296 th->th_seq += todrop; in tcp_do_segment()
2462 tp->snd_wl1 = th->th_seq - 1; in tcp_do_segment()
[all …]
H A Dtcp_syncache.c613 if ((SEQ_GEQ(th->th_seq, sc->sc_irs + 1) && in syncache_chkrst()
617 th->th_seq == sc->sc_irs + 1) { in syncache_chkrst()
634 th->th_seq, sc->sc_irs + 1, sc->sc_wnd); in syncache_chkrst()
642 th->th_seq, sc->sc_irs + 1, sc->sc_wnd); in syncache_chkrst()
679 if (ntohl(th_seq) != sc->sc_iss) in syncache_unreach()
1201 if (SEQ_LEQ(th->th_seq, sc->sc_irs) || in syncache_expand()
1202 SEQ_GT(th->th_seq, sc->sc_irs + sc->sc_wnd)) { in syncache_expand()
1542 sc->sc_irs = th->th_seq; in syncache_add()
1773 th->th_seq = htonl(sc->sc_iss); in syncache_respond()
1775 th->th_seq = htonl(sc->sc_iss + 1); in syncache_respond()
[all …]
H A Dtcp_timewait.c436 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) { in tcp_twcheck()
451 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); in tcp_twcheck()
460 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt) { in tcp_twcheck()
600 th->th_seq = htonl(tw->snd_nxt); in tcp_twrespond()
H A Dtcpip.h52 #define ti_seq ti_t.th_seq
H A Dtcp_var.h958 th->th_seq = ntohl(th->th_seq); in tcp_fields_to_host()
968 th->th_seq = htonl(th->th_seq); in tcp_fields_to_net()
H A Dtcp_debug.c174 seq = th->th_seq; in tcp_trace()
H A Dtcp.h55 tcp_seq th_seq; /* sequence number */ member
/freebsd-12.1/usr.sbin/ppp/
H A Dslcompress.c316 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq); in sl_compress_tcp()
518 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp()
523 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp()
540 DECODEL(th->th_seq) in sl_uncompress_tcp()
550 cs->cs_ip.ip_id, (u_long)ntohl(th->th_seq)); in sl_uncompress_tcp()
/freebsd-12.1/sys/net/
H A Dslcompress.c303 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq); in sl_compress_tcp()
535 th->th_seq = htonl(ntohl(th->th_seq) + i); in sl_uncompress_tcp_core()
540 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len) in sl_uncompress_tcp_core()
555 DECODEL(th->th_seq) in sl_uncompress_tcp_core()
/freebsd-12.1/contrib/ipfilter/ipsend/
H A Diptests.c941 t->th_seq = htonl(1);
973 t->th_seq = htonl(0);
979 t->th_seq = htonl(1);
985 t->th_seq = htonl(0x7fffffff);
991 t->th_seq = htonl(0x80000000);
997 t->th_seq = htonl(0xc0000000);
1003 t->th_seq = htonl(0xffffffff);
1058 t->th_seq = htonl(0);
1064 t->th_seq = htonl(0x7fff);
1130 t->th_seq = htonl(tcb.snd_nxt);
[all …]
H A Dresend.c57 (u_long)t->th_seq, (u_long)t->th_ack);
/freebsd-12.1/sys/netinet/tcp_stacks/
H A Drack.c1763 th->th_seq++; in rack_drop_checks()
1798 th->th_seq + todrop); in rack_drop_checks()
1806 th->th_seq += todrop; in rack_drop_checks()
4738 tp->snd_wl1 = th->th_seq; in rack_process_data()
4746 tp->snd_wl1 = th->th_seq; in rack_process_data()
5066 tp->snd_wl1 = th->th_seq; in rack_do_fastnewdata()
5179 tp->snd_wl1 = th->th_seq; in rack_fastack()
5316 tp->irs = th->th_seq; in rack_do_syn_sent()
5408 th->th_seq++; in rack_do_syn_sent()
5417 tp->snd_wl1 = th->th_seq - 1; in rack_do_syn_sent()
[all …]
H A Dtcp_rack.h94 uint32_t th_seq; member
/freebsd-12.1/sys/netinet/libalias/
H A Dalias_irc.c444 delta = GetDeltaSeqOut(tc->th_seq, lnk); in AliasHandleIrcOut()
446 pip->ip_len, tc->th_seq, tc->th_off); in AliasHandleIrcOut()
H A Dalias_smedia.c410 delta = GetDeltaSeqOut(tc->th_seq, lnk); in alias_rtsp_out()
412 tc->th_seq, tc->th_off); in alias_rtsp_out()
H A Dalias_ftp.c748 delta = GetDeltaSeqOut(tc->th_seq, lnk); in NewFtpMessage()
750 pip->ip_len, tc->th_seq, tc->th_off); in NewFtpMessage()
H A Dalias.c1167 delta = GetDeltaSeqOut(tc->th_seq, lnk); in TcpAliasOut()
1169 accumulate += twowords(&tc->th_seq); in TcpAliasOut()
1170 tc->th_seq = htonl(ntohl(tc->th_seq) + delta); in TcpAliasOut()
1171 accumulate -= twowords(&tc->th_seq); in TcpAliasOut()
/freebsd-12.1/contrib/tcpdump/
H A Dtcp.h44 tcp_seq th_seq; /* sequence number */ member
/freebsd-12.1/sys/contrib/ipfilter/netinet/
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_rcmd_pxy.c184 (tcp->th_seq != rc->rcmd_portseq))
210 rc->rcmd_portseq = tcp->th_seq;
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));
/freebsd-12.1/sys/dev/sfxge/
H A Dsfxge_rx.c532 unsigned th_seq, pkt_length; in sfxge_lro_try_merge() local
549 th_seq = ntohl(th->th_seq); in sfxge_lro_try_merge()
567 if (__predict_false(th_seq != c->next_seq)) { in sfxge_lro_try_merge()
572 c->next_seq = th_seq + data_length; in sfxge_lro_try_merge()
576 c->next_seq = th_seq + data_length; in sfxge_lro_try_merge()
/freebsd-12.1/contrib/ipfilter/lib/
H A Dipft_tx.c292 tcp->th_seq = htonl(atoi(*cpp + 4));
466 tcp->th_seq = htonl(atoi(*cpp + 4));
/freebsd-12.1/cddl/lib/libdtrace/
H A Dtcp.d266 tcp_seq = p == NULL ? -1 : ntohl(p->th_seq);
285 tcp_seq = p == NULL ? -1 : p->th_seq;

123