Lines Matching refs:td_maxwin
327 ((sender)->td_maxwin > MAXACKWINCONST ? (sender)->td_maxwin \
468 sender->td_maxwin = (win == 0 ? 1 : win); in tcp_init_sender()
540 if (sender->td_maxwin == 0) { in tcp_in_window()
559 sender->td_maxwin = (swin == 0 ? 1 : swin); in tcp_in_window()
560 sender->td_maxend = end + sender->td_maxwin; in tcp_in_window()
561 if (receiver->td_maxwin == 0) { in tcp_in_window()
623 in_recv_win = receiver->td_maxwin && in tcp_in_window()
624 after(end, sender->td_end - receiver->td_maxwin - 1); in tcp_in_window()
628 overshot <= receiver->td_maxwin && in tcp_in_window()
658 in_recv_win = !receiver->td_maxwin || in tcp_in_window()
659 after(end, sender->td_end - receiver->td_maxwin - 1); in tcp_in_window()
663 sender->td_end - receiver->td_maxwin - 1); in tcp_in_window()
675 if (sender->td_maxwin < swin) in tcp_in_window()
676 sender->td_maxwin = swin; in tcp_in_window()
691 if (receiver->td_maxwin != 0 && after(end, sender->td_maxend)) in tcp_in_window()
692 receiver->td_maxwin += end - sender->td_maxend; in tcp_in_window()
861 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new()
862 if (ct->proto.tcp.seen[0].td_maxwin == 0) in tcp_new()
863 ct->proto.tcp.seen[0].td_maxwin = 1; in tcp_new()
881 ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); in tcp_new()
882 if (ct->proto.tcp.seen[0].td_maxwin == 0) in tcp_new()
883 ct->proto.tcp.seen[0].td_maxwin = 1; in tcp_new()
886 ct->proto.tcp.seen[0].td_maxwin; in tcp_new()
955 state->td_maxwin = 0; in nf_ct_tcp_state_reset()
1058 ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_maxwin = in nf_conntrack_tcp_packet()