Lines Matching defs:fdata
1651 tcpdata_t *fdata, *tdata;
1658 fdata = &is->is_tcp.ts_data[!source];
1691 if (fr_tcpinwindow(fin, fdata, tdata, tcp, is->is_flags)) {
1725 (void) fr_tcpoptions(fin, tcp, fdata);
1786 /* fdata(I) - pointer to tcp state informatio (forward) */
1794 int fr_tcpinwindow(fin, fdata, tdata, tcp, flags)
1796 tcpdata_t *fdata, *tdata;
1815 win = ntohs(tcp->th_win) << fdata->td_winscale;
1842 if (!(tcpflags & TH_SYN) && (fdata->td_winflags & TCP_WSCALE_FIRST)) {
1843 fdata->td_maxwin = win;
1848 if ((fdata->td_end == 0) &&
1854 fdata->td_end = end - 1;
1855 fdata->td_maxwin = 1;
1856 fdata->td_maxend = end + win;
1874 if (seq != fdata->td_end) {
1897 (SEQ_GE(fdata->td_maxend, end)) &&
1901 (SEQ_GE(seq, fdata->td_end - maxwin)) &&
1905 (-ackskew <= (MAXACKWINDOW << fdata->td_winscale)) &&
1906 ( ackskew <= (MAXACKWINDOW << fdata->td_winscale))) {
1912 } else if ((seq == fdata->td_maxend) && (ackskew == 0) &&
1913 (fdata->td_winflags & TCP_SACK_PERMIT) &&
1926 if (!(fdata->td_winflags &
1932 if ((seq == fdata->td_maxend) && (ackskew == 0))
1934 else if (SEQ_GE(seq + maxwin, fdata->td_end - maxwin))
1963 if (fdata->td_maxwin < win) {
1965 int, fdata->td_maxwin,
1968 fdata->td_maxwin = win;
1971 if (SEQ_GT(end, fdata->td_end)) {
1973 int, fdata->td_end,
1976 fdata->td_end = end;
1992 if (!(SEQ_GE(seq, fdata->td_end - maxwin)))