Lines Matching defs:mss_now
553 static inline void tcp_push(struct sock *sk, int flags, int mss_now,
563 __tcp_push_pending_frames(sk, mss_now,
713 static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now,
719 xmit_size_goal = mss_now;
730 old_size_goal = tp->xmit_size_goal_segs * mss_now;
733 old_size_goal + mss_now > xmit_size_goal)) {
736 tp->xmit_size_goal_segs = xmit_size_goal / mss_now;
737 xmit_size_goal = tp->xmit_size_goal_segs * mss_now;
741 return max(xmit_size_goal, mss_now);
746 int mss_now;
748 mss_now = tcp_current_mss(sk);
749 *size_goal = tcp_xmit_size_goal(sk, mss_now, !(flags & MSG_OOB));
751 return mss_now;
758 int mss_now, size_goal;
770 mss_now = tcp_send_mss(sk, &size_goal, flags);
839 __tcp_push_pending_frames(sk, mss_now, TCP_NAGLE_PUSH);
841 tcp_push_one(sk, mss_now);
848 tcp_push(sk, flags & ~MSG_MORE, mss_now, TCP_NAGLE_PUSH);
853 mss_now = tcp_send_mss(sk, &size_goal, flags);
862 tcp_push(sk, flags, mss_now, tp->nonagle);
921 int mss_now, size_goal;
939 mss_now = tcp_send_mss(sk, &size_goal, flags);
965 max = mss_now;
1093 __tcp_push_pending_frames(sk, mss_now, TCP_NAGLE_PUSH);
1095 tcp_push_one(sk, mss_now);
1102 tcp_push(sk, flags & ~MSG_MORE, mss_now, TCP_NAGLE_PUSH);
1107 mss_now = tcp_send_mss(sk, &size_goal, flags);
1113 tcp_push(sk, flags, mss_now, tp->nonagle);