Home
last modified time | relevance | path

Searched full:mss (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/linux/include/dt-bindings/memory/
H A Dtegra234-mc.h180 /* MSS internal memqual MIU7 read clients */
182 /* MSS internal memqual MIU7 write clients */
184 /* MSS internal memqual MIU8 read clients */
186 /* MSS internal memqual MIU8 write clients */
188 /* MSS internal memqual MIU9 read clients */
190 /* MSS internal memqual MIU9 write clients */
192 /* MSS internal memqual MIU10 read clients */
194 /* MSS internal memqual MIU10 write clients */
196 /* MSS internal memqual MIU11 read clients */
198 /* MSS internal memqual MIU11 write clients */
[all …]
H A Dtegra194-mc.h147 /* MSS internal memqual MIU7 read clients */
149 /* MSS internal memqual MIU7 write clients */
207 /* AXI AP and DFD-AUX0/1 read clients Both share the same interface on the on MSS */
209 /* AXI AP and DFD-AUX0/1 write clients Both sahre the same interface on MSS */
261 /* MSS internal memqual MIU0 read clients */
263 /* MSS internal memqual MIU0 write clients */
265 /* MSS internal memqual MIU1 read clients */
267 /* MSS internal memqual MIU1 write clients */
269 /* MSS internal memqual MIU2 read clients */
271 /* MSS internal memqual MIU2 write clients */
[all …]
/linux/tools/testing/selftests/net/
H A Dudpgso.c65 int tlen; /* send() buffer size, may exceed mss */
67 int gso_len; /* mss after applying gso */
68 int r_num_mss; /* recv(): number of calls of full mss */
69 int r_len_last; /* recv(): size of last non-mss dgram, if any */
90 /* no GSO: send a single MSS */
95 /* no GSO: send a single MSS + 1B: fail */
100 /* send a single MSS: will fall back to no GSO */
106 /* datalen <= MSS < gso_len: will fall back to no GSO */
113 /* MSS < datalen < gso_len: fail */
119 /* send a single MSS + 1B */
[all …]
H A Dpsock_snd.sh15 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/net/netfilter/packetdrill/
H A Dconntrack_synack_old.pkt4 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa…
6 …76.25.8.829: Flags [S.], seq 145824453, ack 643160523, win 65535, options [mss 8952,nop,wscale 5,T…
8 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [R.], seq 1, ack 1, win 65535, options [mss 8952,nop…
10 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa…
13 …6.25.8.829: Flags [S.], seq 162602410, ack 2375731742, win 65535, options [mss 8952,nop,wscale 5,T…
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 1460,sackOK,TS val 1015 ecr 0,nop,wscale 8>
H A Dconntrack_synack_reuse.pkt15 +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 Dconntrack_syn_challenge_ack.pkt22 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/netfilter/
H A Dxt_TCPMSS.c3 * This is a module which is used for setting the MSS option in TCP packets.
29 MODULE_DESCRIPTION("Xtables: TCP Maximum Segment Size (MSS) adjustment");
102 if (info->mss == XT_TCPMSS_CLAMP_PMTU) { in tcpmss_mangle_packet()
114 newmss = info->mss; in tcpmss_mangle_packet()
123 /* Never increase MSS, even when setting it, as in tcpmss_mangle_packet()
125 * on MSS being set correctly. in tcpmss_mangle_packet()
152 * MSS Option not found ?! add it.. in tcpmss_mangle_packet()
165 * IPv4: RFC 1122 states "If an MSS option is not received at in tcpmss_mangle_packet()
166 * connection setup, TCP MUST assume a default send MSS of 536". in tcpmss_mangle_packet()
168 * length IPv6 header of 60, ergo the default MSS value is 1220 in tcpmss_mangle_packet()
[all …]
H A Dnfnetlink_osf.c65 u16 mss = 0; in nf_osf_match_one() local
98 mss = optp[3]; in nf_osf_match_one()
99 mss <<= 8; in nf_osf_match_one()
100 mss |= optp[2]; in nf_osf_match_one()
102 mss = ntohs((__force __be16)mss); in nf_osf_match_one()
126 * Some smart modems decrease mangle MSS to in nf_osf_match_one()
128 * and the one provided in the fingerprint MSS in nf_osf_match_one()
133 if (ctx->window == f->wss.val * mss || in nf_osf_match_one()
139 if (ctx->window == f->wss.val * (mss + 40) || in nf_osf_match_one()
/linux/net/ipv4/
H A Dsyncookies.c96 * MSS into the second hash value. in secure_tcp_syn_cookie()
133 * MSS Values are chosen based on the 2011 paper
138 * .. in the 1300-1349 range account for about 15 to 20% of observed mss values
141 * 1460 is the single most frequently announced mss value (30 to 46% depending
152 * Generate a syncookie. mssp points to the mss, which is returned
159 const __u16 mss = *mssp; in __cookie_v4_init_sequence() local
162 if (mss >= msstab[mssind]) in __cookie_v4_init_sequence()
182 * Return the decoded mss if it is, or 0 if not.
317 int mss, u32 tsoff) in cookie_tcp_reqsk_alloc() argument
339 req->mss = mss; in cookie_tcp_reqsk_alloc()
[all …]
H A Dtcp_output.c131 /* Calculate mss to advertise in SYN segment.
138 * large MSS.
139 * 4. We do not make 3, we advertise MSS, calculated from first
142 * 5. Value 65535 for MSS is valid in IPv6 and means "as large as possible,
149 int mss = tp->advmss; in tcp_advertise_mss() local
154 if (metric < mss) { in tcp_advertise_mss()
155 mss = metric; in tcp_advertise_mss()
156 tp->advmss = mss; in tcp_advertise_mss()
160 return (__u16)mss; in tcp_advertise_mss()
226 * be a multiple of mss if possible. We assume here that mss >= 1.
[all …]
/linux/net/ipv6/
H A Dsyncookies.c27 * [ipv6 tcp] MSS must be computed as the maximum packet size minus 60 [..]
29 * Due to IPV6_MIN_MTU=1280 the lowest possible MSS is 1220, which allows
97 const __u16 mss = *mssp; in __cookie_v6_init_sequence() local
100 if (mss >= msstab[mssind]) in __cookie_v6_init_sequence()
136 int mss; in cookie_tcp_check() local
141 mss = __cookie_v6_check(ipv6_hdr(skb), tcp_hdr(skb)); in cookie_tcp_check()
142 if (!mss) { in cookie_tcp_check()
169 &tcp_opt, mss, tsoff); in cookie_tcp_check()
262 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v6_check()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c20 * | Hash_1 | MSS | ECN | SACK | WScale |
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 in tcp_prepare_cookie()
[all...]
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_ooo-before-and-after-accept.pkt3 --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 Dtcp_slow_start_slow-start-after-idle.pkt3 // 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>
34 // If slow start after idle works properly, we should send 5 MSS here (cwnd/2)
H A Dtcp_zerocopy_fastopen-client.pkt20 +0 > S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop>
21 +.01 < S. 123:123(0) ack 1 win 14600 <mss 940,TS val 2000 ecr 1000,sackOK,nop,wscale 6, FO abcd1234,nop,nop>
41 +0 > S 0:500(500) <mss 1460,nop,nop,sackOK,nop,wscale 8,FO abcd1234,nop,nop>
42 +.05 < S. 5678:5678(0) ack 501 win 14600 <mss 1460,nop,nop,sackOK,nop,wscale 6>
H A Dtcp_rcv_zero_wnd_fin.pkt6 --mss=1000
17 +0 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7>
18 +0 > S. 0:0(0) ack 1 <mss 1460,nop,wscale 0>
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,sc7180-pas.yaml104 - description: MSS power domain
109 - const: mss
121 - description: MSS power domain
125 - const: mss
174 power-domain-names = "cx", "mx", "mss";
/linux/net/batman-adv/
H A Dtp_meter.c114 * @min: minimum cwnd value (usually MSS)
138 * @mss: maximum segment size of transmission
141 * MSS every unique received ACK
143 * increased by MSS * MSS / CWND for every unique received ACK
145 static void batadv_tp_update_cwnd(struct batadv_tp_vars *tp_vars, u32 mss) in batadv_tp_update_cwnd() argument
152 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); in batadv_tp_update_cwnd()
159 ((mss * mss) << 6) / (tp_vars->cwnd << 3)); in batadv_tp_update_cwnd()
160 if (tp_vars->dec_cwnd < (mss << 3)) { in batadv_tp_update_cwnd()
165 tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); in batadv_tp_update_cwnd()
535 * reset the cwnd to 3*MSS
[all …]
/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_osf.h29 /* Wildcard MSS (kind of).
31 * of the MSS and window sizes.
58 __u16 ss, mss; member
93 /* Initial window size option state machine: multiple of mss, mtu or
/linux/drivers/scsi/snic/
H A Dwq_enet_desc.h38 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 Dwq_enet_desc.h40 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 Dwq_enet_desc.h41 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/arch/riscv/boot/dts/microchip/
H A Dmpfs-icicle-kit.dts21 * Due to silicon errata, routing via MSS IOs doesn't work on ES devices.
22 * Instead, i2c1, appearing on B1/C1, which are normally MSS IOs, is routed
25 * be fabric IO, despite tooling etc saying that MSS IOs are used.
/linux/drivers/soc/microchip/
H A Dmpfs-mss-top-sysreg.c30 { .compatible = "microchip,mpfs-mss-top-sysreg", },
37 .name = "mpfs-mss-top-sysreg",
46 MODULE_DESCRIPTION("PolarFire SoC mss top sysreg driver");

12345678910>>...12