/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_output.c | 61 static bool tcp_write_xmit(struct sock *sk, unsigned int mss_now, int nonagle, 1444 static void tcp_set_skb_tso_segs(struct sk_buff *skb, unsigned int mss_now) in tcp_set_skb_tso_segs() argument 1446 if (skb->len <= mss_now) { in tcp_set_skb_tso_segs() 1453 tcp_skb_pcount_set(skb, DIV_ROUND_UP(skb->len, mss_now)); in tcp_set_skb_tso_segs() 1454 TCP_SKB_CB(skb)->tcp_gso_size = mss_now; in tcp_set_skb_tso_segs() 1534 unsigned int mss_now, gfp_t gfp) in tcp_fragment() argument 1601 tcp_set_skb_tso_segs(skb, mss_now); in tcp_fragment() 1602 tcp_set_skb_tso_segs(buff, mss_now); in tcp_fragment() 1699 int mss_now; in __tcp_mtu_to_mss() local 1704 mss_now = pmtu - icsk->icsk_af_ops->net_header_len - sizeof(struct tcphdr); in __tcp_mtu_to_mss() [all …]
|
D | tcp.c | 706 void tcp_push(struct sock *sk, int flags, int mss_now, in tcp_push() argument 737 __tcp_push_pending_frames(sk, mss_now, nonagle); in tcp_push() 916 static unsigned int tcp_xmit_size_goal(struct sock *sk, u32 mss_now, in tcp_xmit_size_goal() argument 923 return mss_now; in tcp_xmit_size_goal() 930 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal() 932 new_size_goal >= size_goal + mss_now)) { in tcp_xmit_size_goal() 933 tp->gso_segs = min_t(u16, new_size_goal / mss_now, in tcp_xmit_size_goal() 935 size_goal = tp->gso_segs * mss_now; in tcp_xmit_size_goal() 938 return max(size_goal, mss_now); in tcp_xmit_size_goal() 943 int mss_now; in tcp_send_mss() local [all …]
|
D | tcp_input.c | 948 unsigned int mss_now; member 1859 state->mss_now = tcp_current_mss(sk); in tcp_sacktag_write_queue()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | protocol.c | 896 int mss_now, avail_size, size_goal, offset, ret, frag_truesize = 0; in mptcp_sendmsg_frag() local 922 mss_now = tcp_send_mss(ssk, &size_goal, msg->msg_flags); in mptcp_sendmsg_frag() 923 *pmss_now = mss_now; in mptcp_sendmsg_frag() 1173 int mss_now = 0, size_goal = 0, ret = 0; in mptcp_sendmsg() local 1246 ret = mptcp_sendmsg_frag(sk, ssk, msg, NULL, &timeo, &mss_now, in mptcp_sendmsg() 1270 tcp_push(ssk, msg->msg_flags, mss_now, in mptcp_sendmsg() 1291 tcp_push(ssk, msg->msg_flags, mss_now, in mptcp_sendmsg() 1309 tcp_push(ssk, msg->msg_flags, mss_now, tcp_sk(ssk)->nonagle, in mptcp_sendmsg() 1752 int orig_len, orig_offset, mss_now = 0, size_goal = 0; in mptcp_worker() local 1799 &mss_now, &size_goal); in mptcp_worker() [all …]
|
/kernel/linux/linux-5.10/net/decnet/ |
D | af_decnet.c | 1872 int mss_now = min_t(int, scp->segsize_loc, scp->segsize_rem); in dn_current_mss() local 1881 mss_now = min_t(int, dn_mss_from_pmtu(dst->dev, mtu), mss_now); in dn_current_mss() 1884 return mss_now; in dn_current_mss()
|
/kernel/linux/linux-5.10/include/net/ |
D | tcp.h | 326 void tcp_push(struct sock *sk, int flags, int mss_now, int nonagle, 580 unsigned int mss_now, gfp_t gfp); 588 void tcp_push_one(struct sock *, unsigned int mss_now);
|