Home
last modified time | relevance | path

Searched refs:mss (Results 1 – 25 of 45) sorted by relevance

12

/third_party/iptables/extensions/
Dlibxt_TCPMSS.c18 struct xt_tcpmss_info mss; member
43 .flags = XTOPT_PUT, XTOPT_POINTER(struct xt_tcpmss_info, mss)},
51 .flags = XTOPT_PUT, XTOPT_POINTER(struct xt_tcpmss_info, mss)},
62 mssinfo->mss = XT_TCPMSS_CLAMP_PMTU; in TCPMSS_parse()
77 if(mssinfo->mss == XT_TCPMSS_CLAMP_PMTU) in TCPMSS_print()
80 printf(" TCPMSS set %u", mssinfo->mss); in TCPMSS_print()
88 if(mssinfo->mss == XT_TCPMSS_CLAMP_PMTU) in TCPMSS_save()
91 printf(" --set-mss %u", mssinfo->mss); in TCPMSS_save()
99 if (mssinfo->mss == XT_TCPMSS_CLAMP_PMTU) in TCPMSS_xlate()
102 xt_xlate_add(xl, "tcp option maxseg size set %d", mssinfo->mss); in TCPMSS_xlate()
Dlibxt_tcpmss.t2 -m tcpmss --mss 42;;FAIL
3 -p tcp -m tcpmss --mss 42;=;OK
4 -p tcp -m tcpmss --mss 42:12345;=;OK
5 -p tcp -m tcpmss --mss 42:65536;;FAIL
6 -p tcp -m tcpmss --mss 65535:1000;;FAIL
Dlibxt_TCPMSS.t4 -p tcp -j TCPMSS --set-mss 42;;FAIL
5 -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j TCPMSS --set-mss 42;=;OK
6 -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j TCPMSS --clamp-mss-to-pmtu;=;OK
Dlibxt_SYNPROXY.c61 info->mss = cb->val.u32; in SYNPROXY_parse()
87 printf("mss %u ", info->mss); in SYNPROXY_print()
104 printf(" --mss %u", info->mss); in SYNPROXY_save()
124 xt_xlate_add(xl, "mss %u ", info->mss); in SYNPROXY_xlate()
Dlibxt_SYNPROXY.t2 -j SYNPROXY --sack-perm --timestamp --mss 1460 --wscale 9;;FAIL
3 …onntrack --ctstate INVALID,UNTRACKED -j SYNPROXY --sack-perm --timestamp --wscale 9 --mss 1460;=;OK
Dlibxt_SYNPROXY.txlate1 …ort 80 -m state --state INVALID,UNTRACKED -j SYNPROXY --sack-perm --timestamp --wscale 7 --mss 1460
2 …me" tcp dport 80 ct state invalid,untracked counter synproxy sack-perm timestamp wscale 7 mss 1460
Dlibxt_TCPMSS.txlate1 iptables-translate -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
4 iptables-translate -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 90
Dlibxt_TCPMSS.man25 \-j TCPMSS \-\-clamp\-mss\-to\-pmtu
27 \fB\-\-set\-mss\fP \fIvalue\fP
32 \fB\-\-clamp\-mss\-to\-pmtu\fP
Dlibxt_SYNPROXY.man7 \fB\-\-mss\fP \fImaximum segment size\fP
35 options [mss 1460,sackOK,
61 \-\-sack\-perm \-\-timestamp \-\-mss 1460 \-\-wscale 9
Dlibxt_tcpmss.man3 [\fB!\fP] \fB\-\-mss\fP \fIvalue\fP[\fB:\fP\fIvalue\fP]
/third_party/boost/libs/regex/src/
Dcpp_regex_traits.cpp67 string_type mss = this->m_pmessages->get(cat, 0, i, get_default_syntax(i)); in init() local
68 for(string_type::size_type j = 0; j < mss.size(); ++j) in init()
70 m_char_map[static_cast<unsigned char>(mss[j])] = i; in init()
Dw32_regex_traits.cpp83 …string_type mss = ::boost::BOOST_REGEX_DETAIL_NS::w32_cat_get(cat, this->m_locale, i, get_default_… in init() local
84 for(string_type::size_type j = 0; j < mss.size(); ++j) in init()
86 m_char_map[static_cast<unsigned char>(mss[j])] = i; in init()
/third_party/lwip/src/core/
Dtcp_in.c69 #define LWIP_TCP_CALC_INITIAL_CWND(mss) ((tcpwnd_size_t)LWIP_MIN((4U * (mss)), LWIP_MAX((2U * (mss)… argument
706 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip);
870 pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip);
873 pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss);
961 pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss);
1214 TCP_WND_INC(pcb->cwnd, pcb->mss);
1263 increase = LWIP_MIN(acked, (tcpwnd_size_t)(num_seg * pcb->mss));
1271 TCP_WND_INC(pcb->cwnd, pcb->mss);
1913 u16_t mss; local
1941 mss = (u16_t)(tcp_get_next_optbyte() << 8);
[all …]
Dtcp_out.c417 mss_local = LWIP_MIN(pcb->mss, TCPWND_MIN16(pcb->snd_wnd_max / 2)); in tcp_write()
418 mss_local = mss_local ? mss_local : pcb->mss; in tcp_write()
859 LWIP_ASSERT("split <= mss", split <= pcb->mss); in tcp_split_unsent_seg()
1499 u16_t mss; in tcp_output_segment() local
1501 mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); in tcp_output_segment()
1503 mss = TCP_MSS; in tcp_output_segment()
1505 *opts = TCP_BUILD_MSS_OPTION(mss); in tcp_output_segment()
1801 if (pcb->ssthresh < (2U * pcb->mss)) { in tcp_rexmit_fast()
1805 pcb->ssthresh, (u16_t)(2 * pcb->mss))); in tcp_rexmit_fast()
1806 pcb->ssthresh = 2 * pcb->mss; in tcp_rexmit_fast()
[all …]
Dtcp.c938 if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { in tcp_update_rcv_ann_wnd()
1158 pcb->mss = INITIAL_MSS; in tcp_connect()
1160 pcb->mss = tcp_eff_send_mss_netif(pcb->mss, netif, &pcb->remote_ip); in tcp_connect()
1299 if (pcb->ssthresh < (tcpwnd_size_t)(pcb->mss << 1)) { in tcp_slowtmr()
1300 pcb->ssthresh = (tcpwnd_size_t)(pcb->mss << 1); in tcp_slowtmr()
1302 pcb->cwnd = pcb->mss; in tcp_slowtmr()
1900 pcb->mss = INITIAL_MSS; in tcp_alloc()
/third_party/lwip/src/include/lwip/
Dtcp.h297 u16_t mss; /* maximum segment size */ member
428 … tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pcb)->mss)
431 #define tcp_mss(pcb) ((pcb)->mss)
/third_party/iptables/include/linux/netfilter/
Dxt_TCPMSS.h7 __u16 mss; member
Dxt_SYNPROXY.h13 __u16 mss; member
Dxt_osf.h71 __u16 ss, mss; member
/third_party/lwip/test/unit/tcp/
Dtest_tcp.c469 pcb->mss = TCP_MSS; in START_TEST()
652 pcb->mss = TCP_MSS; in START_TEST()
742 pcb->mss = TCP_MSS; in START_TEST()
824 pcb->mss = TCP_MSS; in test_tcp_tx_full_window_lost()
971 pcb->mss = TCP_MSS; in START_TEST()
1090 pcb->mss = TCP_MSS; in START_TEST()
1125 EXPECT(pcb->cwnd == pcb->mss); in START_TEST()
1149 EXPECT(pcb->cwnd == (tcpwnd_size_t)(2 * pcb->mss)); in START_TEST()
1165 EXPECT(pcb->cwnd == (tcpwnd_size_t)(3 * pcb->mss)); in START_TEST()
1175 EXPECT(pcb->cwnd == (tcpwnd_size_t)(3 * pcb->mss)); in START_TEST()
[all …]
/third_party/python/Lib/test/
Dtest_collections.py1955 mss = MutableSequenceSubclass()
1956 mss.append(0)
1957 mss.extend((1, 2, 3, 4))
1958 self.assertEqual(len(mss), 5)
1959 self.assertEqual(mss[3], 3)
1960 mss.reverse()
1961 self.assertEqual(mss[3], 1)
1962 mss.pop()
1963 self.assertEqual(len(mss), 4)
1964 mss.remove(3)
[all …]
/third_party/toybox/toys/net/
Dnetstat.c279 int flags, ref, use, metric, mss, win, irtt; in display_routes() local
294 &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt)) in display_routes()
328 printf("%5d %-5d %6d %s\n", mss, win, irtt, iface); in display_routes()
/third_party/ffmpeg/libavformat/
Dlibsrt.c70 int mss; member
115 … Maximum Segment Size", OFFSET(mss), AV_O…
330 … (s->mss >= 0 && libsrt_setsockopt(h, fd, SRTO_MSS, "SRTO_MSS", &s->mss, sizeof(s->mss)) < 0) || in libsrt_set_options_pre()
545 s->mss = strtol(buf, NULL, 10); in libsrt_open()
/third_party/toybox/toys/pending/
Droute.c134 int flags, ref, use, metric, mss, win, irtt, items; in display_routes() local
145 &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt)) == 11) in display_routes()
163 if (toys.optflags & FLAG_e) xprintf("%5d %-5d %6d %s\n", mss, win, irtt, iface); in display_routes()
/third_party/lwip/src/include/lwip/priv/
Dtcp_priv.h103 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
311 #define TCP_BUILD_MSS_OPTION(mss) lwip_htonl(0x02040000 | ((mss) & 0xFFFF)) argument

12