Home
last modified time | relevance | path

Searched refs:mss_now (Results 1 – 4 of 4) sorted by relevance

/net/ipv4/
Dtcp_output.c62 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle,
1463 static void tcp_set_skb_tso_segs(struct sk_buff *skb, unsigned int mss_now) in tcp_set_skb_tso_segs() argument
1465 if (skb->len <= mss_now) { in tcp_set_skb_tso_segs()
1472 tcp_skb_pcount_set(skb, DIV_ROUND_UP(skb->len, mss_now)); in tcp_set_skb_tso_segs()
1473 TCP_SKB_CB(skb)->tcp_gso_size = mss_now; in tcp_set_skb_tso_segs()
1553 unsigned int mss_now, gfp_t gfp) in tcp_fragment() argument
1617 tcp_set_skb_tso_segs(skb, mss_now); in tcp_fragment()
1618 tcp_set_skb_tso_segs(buff, mss_now); in tcp_fragment()
1707 int mss_now; in __tcp_mtu_to_mss() local
1712 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in __tcp_mtu_to_mss()
[all …]
Dtcp.c706 void tcp_push(struct sock *sk, int flags, int mss_now, in tcp_push() argument
738 __tcp_push_pending_frames(sk, mss_now, nonagle); in tcp_push()
898 static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now, in tcp_xmit_size_goal() argument
905 return mss_now; in tcp_xmit_size_goal()
911 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal()
913 new_size_goal >= size_goal + mss_now)) { in tcp_xmit_size_goal()
914 tp->gso_segs = min_t(u16, new_size_goal / mss_now, in tcp_xmit_size_goal()
916 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal()
919 return max(size_goal, mss_now); in tcp_xmit_size_goal()
924 int mss_now; in tcp_send_mss() local
[all …]
Dtcp_input.c1006 unsigned int mss_now; member
1926 state->mss_now = tcp_current_mss(sk); in tcp_sacktag_write_queue()
/net/mptcp/
Dprotocol.c1112 int mss_now; member
1251 info->mss_now = tcp_send_mss(ssk, &info->size_goal, info->flags); in mptcp_sendmsg_frag()
1480 tcp_push(ssk, 0, info->mss_now, tcp_sk(ssk)->nonagle, info->size_goal); in mptcp_push_release()
1683 tcp_push(ssk, 0, info.mss_now, tcp_sk(ssk)->nonagle, in __mptcp_subflow_push_pending()
2631 tcp_push(ssk, 0, info.mss_now, tcp_sk(ssk)->nonagle, in __mptcp_retrans()