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

123

/freebsd-9.3-release/sys/netinet/
H A Dtcp_reass.c196 if ((th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) &&
219 if (th->th_seq != tp->rcv_nxt || !TCPS_HAVEESTABLISHED(tp->t_state)) {
248 if (SEQ_GT(q->tqe_th->th_seq, th->th_seq))
261 i = p->tqe_th->th_seq + p->tqe_len - th->th_seq;
280 th->th_seq += i;
292 int i = (th->th_seq + *tlenp) - q->tqe_th->th_seq;
296 q->tqe_th->th_seq
[all...]
H A Dtcpip.h50 #define ti_seq ti_t.th_seq
H A Dtcp_input.c456 th->th_seq = ntohl(th->th_seq);
467 th->th_seq = htonl(th->th_seq);
1620 th->th_seq == tp->rcv_nxt &&
1636 SEQ_LEQ(th->th_seq, tp->last_ack_sent)) {
1765 * th_seq.
1767 tp->snd_wl1 = th->th_seq;
1921 tp->irs = th->th_seq;
1991 * Advance th->th_seq t
[all...]
H A Dtcp.h53 tcp_seq th_seq; /* sequence number */ member in struct:tcphdr
H A Dtcp_timewait.c411 if ((thflags & TH_SYN) && SEQ_GT(th->th_seq, tw->rcv_nxt)) {
426 seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0);
435 th->th_seq != tw->rcv_nxt || th->th_ack != tw->snd_nxt)
572 th->th_seq = htonl(tw->snd_nxt);
H A Dtcp_debug.c172 seq = th->th_seq;
H A Dtcp_syncache.c573 if (SEQ_GEQ(th->th_seq, sc->sc_irs) &&
574 SEQ_LEQ(th->th_seq, sc->sc_irs + sc->sc_wnd)) {
585 s, __func__, th->th_seq, sc->sc_irs, sc->sc_wnd);
622 if (ntohl(th->th_seq) != sc->sc_iss)
987 if (SEQ_LEQ(th->th_seq, sc->sc_irs) ||
988 SEQ_GT(th->th_seq, sc->sc_irs + sc->sc_wnd)) {
991 "rejected\n", s, __func__, th->th_seq, sc->sc_irs);
1222 sc->sc_irs = th->th_seq;
1432 th->th_seq = htonl(sc->sc_iss);
1715 seq = th->th_seq
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dslcompress.c314 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq);
516 th->th_seq = htonl(ntohl(th->th_seq) + i);
521 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
538 DECODEL(th->th_seq)
548 cs->cs_ip.ip_id, (u_long)ntohl(th->th_seq));
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dtcpip.h77 #define ti_seq ti_t.th_seq
H A Diptests.c963 t->th_seq = htonl(1);
995 t->th_seq = htonl(0);
1001 t->th_seq = htonl(1);
1007 t->th_seq = htonl(0x7fffffff);
1013 t->th_seq = htonl(0x80000000);
1019 t->th_seq = htonl(0xc0000000);
1025 t->th_seq = htonl(0xffffffff);
1080 t->th_seq = htonl(0);
1086 t->th_seq = htonl(0x7fff);
1152 t->th_seq
[all...]
H A Dresend.c66 (u_long)t->th_seq, (u_long)t->th_ack);
/freebsd-9.3-release/contrib/tcpdump/
H A Dtcp.h45 tcp_seq th_seq; /* sequence number */ member in struct:tcphdr
/freebsd-9.3-release/sys/net/
H A Dslcompress.c306 deltaS = ntohl(th->th_seq) - ntohl(oth->th_seq);
547 th->th_seq = htonl(ntohl(th->th_seq) + i);
552 th->th_seq = htonl(ntohl(th->th_seq) + ntohs(cs->cs_ip.ip_len)
567 DECODEL(th->th_seq)
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_rcmd_pxy.c118 *(u_32_t *)aps->aps_data = htonl(ntohl(tcp->th_seq) + 1);
123 (tcp->th_seq != *(u_32_t *)aps->aps_data))
H A Dip_pptp_pxy.c255 start = ntohl(tcp->th_seq);
495 pptp->pptp_side[rev].pptps_next = ntohl(tcp->th_seq) + 1;
496 pptp->pptp_side[rev].pptps_nexthdr = ntohl(tcp->th_seq) + 1;
H A Dip_proxy.c706 seq1 = (u_32_t)ntohl(tcp->th_seq);
724 tcp->th_seq = htonl(seq1);
759 seq1 = ntohl(tcp->th_seq);
776 tcp->th_seq = htonl(seq1);
820 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack));
H A Dip_raudio_pxy.c228 seq = ntohl(tcp->th_seq);
/freebsd-9.3-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h136 __u32 th_seq; member in struct:__anon1598
/freebsd-9.3-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h138 __u32 th_seq; member in struct:__anon1605
/freebsd-9.3-release/sys/netinet/libalias/
H A Dalias_irc.c443 delta = GetDeltaSeqOut(tc->th_seq, lnk);
445 pip->ip_len, tc->th_seq, tc->th_off);
H A Dalias_ftp.c746 delta = GetDeltaSeqOut(tc->th_seq, lnk);
748 pip->ip_len, tc->th_seq, tc->th_off);
H A Dalias_smedia.c408 delta = GetDeltaSeqOut(tc->th_seq, lnk);
410 tc->th_seq, tc->th_off);
H A Dalias_proxy.c353 delta = GetDeltaSeqOut(tc->th_seq, lnk);
354 AddSeq(lnk, delta + slen, pip->ip_hl, pip->ip_len, tc->th_seq,
/freebsd-9.3-release/sys/dev/sfxge/
H A Dsfxge_rx.c477 unsigned th_seq, pkt_length; local
494 th_seq = ntohl(th->th_seq);
512 if (__predict_false(th_seq != c->next_seq)) {
517 c->next_seq = th_seq + data_length;
521 c->next_seq = th_seq + data_length;
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dipft_tx.c278 tcp->th_seq = htonl(atoi(*cpp + 4));

Completed in 247 milliseconds

123