/linux/tools/testing/selftests/net/netfilter/packetdrill/ |
H A D | conntrack_synack_old.pkt | 4 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sackOK,TS val 2083107423 ecr 0,nop,wscale 7], length 0 6 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [S.], seq 145824453, ack 643160523, win 65535, options [mss 8952,nop,wscale 5,TS val 3215437785 ecr 2082921663,nop,nop], length 0 8 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [R.], seq 1, ack 1, win 65535, options [mss 8952,nop,wscale 5,TS val 3215443451 ecr 2082921663,nop,nop], length 0 10 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sackOK,TS val 2083115583 ecr 0,nop,wscale 7], length 0 13 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [S.], seq 162602410, ack 2375731742, win 65535, options [mss 8952,nop,wscale 5,TS val 3215445754 ecr 2083115583,nop,nop], length 0 24 0.1 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1 ecr 0,nop,wscale 8> 27 0.1 < S. 145824453:145824453(0) ack 643160523 win 240 <mss 1440,nop,nop,TS val 1 ecr 1,nop,wscale 0> 30 1.01 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1015 ecr 0,nop,wscale 8> 34 +0 < S. 145758918:145758918(0) ack 1 win 250 <mss 1460,nop,nop,TS val 1 ecr 1,nop,wscale 0> 39 // actual packet: 3.010000 S 0:0(0) win 65535 <mss 146 [all...] |
H A D | conntrack_synack_reuse.pkt | 15 +0 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7, TS val 1 ecr 0,nop,nop> 16 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,TS val 100 ecr 1,nop,wscale 8> 24 1.0 < S 2000:2000(0) win 32792 <mss 1000,nop,wscale 7, TS val 233 ecr 0,nop,nop> 31 1.5 < S 2000:2000(0) win 32792 <mss 1000,nop,wscale 0, TS val 233 ecr 0,nop,nop>
|
H A D | conntrack_syn_challenge_ack.pkt | 22 0.1 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1 ecr 0,nop,wscale 8> 25 0.1 < . 145824453:145824453(0) ack 643160523 win 240 <mss 1460,nop,nop,TS val 1 ecr 1,nop,wscale 0> 32 +0.01 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1 ecr 0,nop,wscale 8> 35 +0.1 < S. 0:0(0) ack 1 win 250 <mss 1460,nop,nop,TS val 1 ecr 1,nop,wscale 0>
|
/linux/net/ipv4/ |
H A D | tcp_offload.c | 17 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument 23 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp() 30 seq += mss; in tcp_gso_tstamp() 141 unsigned int mss; in tcp_gso_segment() local 162 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment() 163 if (unlikely(skb->len <= mss)) in tcp_gso_segment() 169 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment() 189 * cases return a GSO skb. So update the mss now. in tcp_gso_segment() 192 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment() 194 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment() 321 unsigned int mss = 1; tcp_gro_receive() local [all...] |
H A D | syncookies.c | 137 * .. in the 1300-1349 range account for about 15 to 20% of observed mss values 140 * 1460 is the single most frequently announced mss value (30 to 46% depending 151 * Generate a syncookie. mssp points to the mss, which is returned 158 const __u16 mss = *mssp; in __cookie_v4_init_sequence() local 161 if (mss >= msstab[mssind]) in __cookie_v4_init_sequence() 181 * Return the decoded mss if it is, or 0 if not. 320 int mss, u32 tsoff) in cookie_tcp_reqsk_alloc() argument 342 req->mss = mss; in cookie_tcp_reqsk_alloc() 362 int mss; in cookie_tcp_check() local [all...] |
H A D | tcp_recovery.c | 225 u32 mss; in tcp_newreno_mark_lost() local 230 mss = tcp_skb_mss(skb); in tcp_newreno_mark_lost() 231 if (tcp_skb_pcount(skb) > 1 && skb->len > mss) in tcp_newreno_mark_lost() 233 mss, mss, GFP_ATOMIC); in tcp_newreno_mark_lost()
|
/linux/tools/testing/selftests/net/packetdrill/ |
H A D | tcp_ooo-before-and-after-accept.pkt | 3 --mss=1000 16 +0 < S 0:0(0) win 65535 <mss 1000,nop,nop,sackOK,nop,wscale 7> 17 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 10> 41 +0 < S 0:0(0) win 65535 <mss 1000,nop,nop,sackOK,nop,wscale 7> 42 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 10>
|
H A D | tcp_blocking_blocking-read.pkt | 5 --mss=1000 15 +.1 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7> 16 +0 > S. 0:0(0) ack 1 <mss 1460,nop,wscale 8>
|
H A D | tcp_ooo_rcv_mss.pkt | 3 --mss=1000 13 +0 < S 0:0(0) win 65535 <mss 1000,nop,nop,sackOK,nop,wscale 7> 14 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 10>
|
H A D | tcp_rcv_toobig.pkt | 3 --mss=1000 16 +0 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7> 17 +0 > S. 0:0(0) ack 1 win 18980 <mss 1460,nop,wscale 0>
|
H A D | tcp_rcv_big_endseq.pkt | 3 --mss=1000 16 +0 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7> 17 +0 > S. 0:0(0) ack 1 <mss 1460,nop,wscale 0>
|
H A D | tcp_slow_start_slow-start-after-idle.pkt | 3 // This test expects tso size to be at least initial cwnd * mss 14 +0 < S 0:0(0) win 65535 <mss 1000,sackOK,nop,nop,nop,wscale 7> 15 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
|
H A D | tcp_dsack_mult.pkt | 4 --mss=1000 14 +0 < S 0:0(0) win 32792 <mss 1000,sackOK,nop,nop,nop,wscale 7> 15 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
|
H A D | tcp_zerocopy_fastopen-client.pkt | 18 +0 > S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop> 19 +.01 < S. 123:123(0) ack 1 win 14600 <mss 940,TS val 2000 ecr 1000,sackOK,nop,wscale 6, FO abcd1234,nop,nop> 39 +0 > S 0:500(500) <mss 1460,nop,nop,sackOK,nop,wscale 8,FO abcd1234,nop,nop> 40 +.05 < S. 5678:5678(0) ack 501 win 14600 <mss 1460,nop,nop,sackOK,nop,wscale 6>
|
H A D | tcp_slow_start_slow-start-after-win-update.pkt | 3 // This test expects tso size to be at least initial cwnd * mss 14 +0 < S 0:0(0) win 65535 <mss 1000,sackOK,nop,nop,nop,wscale 7> 15 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
|
H A D | tcp_fast_recovery_prr-ss-30pkt-lost1_4.pkt | 12 +0 < S 0:0(0) win 32792 <mss 1000,sackOK,nop,nop,nop,wscale 7> 13 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8> 40 // Writes another 10 packets, which the ssthresh*mss amount
|
/linux/drivers/pmdomain/qcom/ |
H A D | rpmhpd.c | 155 static struct rpmhpd mss = { variable 156 .pd = { .name = "mss", }, 157 .res_name = "mss.lvl", 228 [RPMHPD_MSS] = &mss, 290 [RPMHPD_MSS] = &mss, 311 [SDM670_MSS] = &mss, 329 [SDM845_MSS] = &mss, 342 [SDX55_MSS] = &mss, 355 [SDX65_MSS] = &mss, 370 [RPMHPD_MSS] = &mss, [all...] |
/linux/fs/proc/ |
H A D | task_mmu.c | 801 static void smaps_page_accumulate(struct mem_size_stats *mss, in smaps_page_accumulate() argument 805 mss->pss += pss; in smaps_page_accumulate() 808 mss->pss_anon += pss; in smaps_page_accumulate() 810 mss->pss_shmem += pss; in smaps_page_accumulate() 812 mss->pss_file += pss; in smaps_page_accumulate() 815 mss->pss_locked += pss; in smaps_page_accumulate() 818 mss->pss_dirty += pss; in smaps_page_accumulate() 820 mss->private_dirty += size; in smaps_page_accumulate() 822 mss->shared_dirty += size; in smaps_page_accumulate() 825 mss in smaps_page_accumulate() 831 smaps_account(struct mem_size_stats * mss,struct page * page,bool compound,bool young,bool dirty,bool locked,bool present) smaps_account() argument 910 struct mem_size_stats *mss = walk->private; smaps_pte_hole() local 936 struct mem_size_stats *mss = walk->private; smaps_pte_entry() local 984 struct mem_size_stats *mss = walk->private; smaps_pmd_entry() local 1149 struct mem_size_stats *mss = walk->private; smaps_hugetlb_range() local 1203 smap_gather_stats(struct vm_area_struct * vma,struct mem_size_stats * mss,unsigned long start) smap_gather_stats() argument 1243 __show_smap(struct seq_file * m,const struct mem_size_stats * mss,bool rollup_mode) __show_smap() argument 1286 struct mem_size_stats mss = {}; show_smap() local 1313 struct mem_size_stats mss = {}; show_smaps_rollup() local [all...] |
/linux/tools/testing/selftests/net/ |
H A D | psock_snd.sh | 15 readonly mss="$((${mtu} - ${iphlen} - ${udphlen}))" 16 readonly mss_exceeds="$((${mss} + 1))" 58 ./in_netns.sh ./psock_snd -l "${mss}" 66 # ./in_netns.sh ./psock_snd -V -l "${mss}" 72 ./in_netns.sh ./psock_snd -d -l "${mss}"
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 224 __u16 *mss; in tcp_parse_option() local 247 mss = next(ctx, 2); in tcp_parse_option() 248 if (*opsize == TCPOLEN_MSS && ctx->tcp->syn && mss) in tcp_parse_option() 249 ctx->attrs.mss = get_unaligned_be16(mss); in tcp_parse_option() 293 if ((ctx->ipv4 && ctx->attrs.mss != MSS_LOCAL_IPV4) || in tcp_validate_sysctl() 294 (ctx->ipv6 && ctx->attrs.mss != MSS_LOCAL_IPV6)) in tcp_validate_sysctl() 325 if (ctx->attrs.mss >= msstab4[mssind]) in tcp_prepare_cookie() 328 ctx->attrs.mss = msstab4[mssind]; in tcp_prepare_cookie() 333 if (ctx->attrs.mss > in tcp_prepare_cookie() [all...] |
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-utils.c | 22 unsigned int mss = skb_shinfo(skb)->gso_size; in iwl_tx_tso_segment() local 27 skb_shinfo(skb)->gso_size = num_subframes * mss; in iwl_tx_tso_segment() 31 skb_shinfo(skb)->gso_size = mss; in iwl_tx_tso_segment() 59 if (tcp_payload_len > mss) { in iwl_tx_tso_segment() 60 skb_shinfo(tmp)->gso_size = mss; in iwl_tx_tso_segment()
|
/linux/drivers/scsi/snic/ |
H A D | wq_enet_desc.h | 38 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument 44 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc() 57 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument 63 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
|
/linux/drivers/scsi/fnic/ |
H A D | wq_enet_desc.h | 40 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument 46 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc() 59 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument 65 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | wq_enet_desc.h | 41 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument 47 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc() 60 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument 66 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
|
/linux/net/netfilter/ |
H A D | nfnetlink_osf.c | 73 u16 mss = 0; in nf_osf_match_one() local 106 mss = ctx->optp[3]; in nf_osf_match_one() 107 mss <<= 8; in nf_osf_match_one() 108 mss |= ctx->optp[2]; in nf_osf_match_one() 110 mss = ntohs((__force __be16)mss); in nf_osf_match_one() 141 if (ctx->window == f->wss.val * mss || in nf_osf_match_one() 147 if (ctx->window == f->wss.val * (mss + 40) || in nf_osf_match_one()
|