Lines Matching defs:size

113  * 2. Ideally, it is maximal possible segment size i.e. 65535-40.
800 unsigned int size;
802 if (mptcp_synack_options(req, &size, &opts->mptcp)) {
803 if (*remaining >= size) {
805 *remaining -= size;
883 unsigned int size;
885 if (mptcp_syn_options(sk, skb, &size, &opts->mptcp)) {
887 remaining -= size;
978 unsigned int size = 0;
986 size += TCPOLEN_MD5SIG_ALIGNED;
989 size += tcp_ao_len_aligned(key->ao_key);
997 size += TCPOLEN_TSTAMP_ALIGNED;
1007 unsigned int remaining = MAX_TCP_OPTION_SPACE - size;
1013 size += opt_size;
1019 const unsigned int remaining = MAX_TCP_OPTION_SPACE - size;
1022 return size;
1029 size += TCPOLEN_SACK_BASE_ALIGNED +
1035 unsigned int remaining = MAX_TCP_OPTION_SPACE - size;
1039 size = MAX_TCP_OPTION_SPACE - remaining;
1042 return size;
1454 /* OK, its time to fill skb_shinfo(skb)->gso_{segs|size} */
1594 * to the specified size and appends a new segment with the rest of the
1614 /* tcp_sendmsg() can overshoot sk_wmem_queued by one full size skb.
1703 int size = skb_frag_size(&shinfo->frags[i]);
1705 if (size <= eat) {
1707 eat -= size;
1777 /* Subtract TCP options size, not including SACKs */
2008 * Use min_rtt to help adapt TSO burst size, with smaller min_rtt resulting
2693 /* First skb in the write queue is smaller than ideal packet size.
3075 * of having a fixed window size at almost all times.
3556 void sk_forced_mem_schedule(struct sock *sk, int size)
3560 delta = size - sk->sk_forward_alloc;
3990 space = min_t(size_t, space, fo->size);
4001 space = min_t(size_t, space, pfrag->size - pfrag->offset);
4020 if (space == fo->size)
4344 * but the window size is != 0