Home
last modified time | relevance | path

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

123456

/freebsd/tests/sys/netpfil/pf/
H A Dscrub_pass.sh44 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300
46 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300 \
69 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300
71 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300 \
H A Dscrub.sh43 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300
45 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300 \
68 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300
70 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300 \
H A Dscrub_compat.sh44 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300
46 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300 \
69 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300
71 ping_dummy_check_request exit:0 --ping-type=tcpsyn --send-mss=1400 --expect-mss=1300 \
/freebsd/sys/netinet/cc/
H A Dcc_htcp.c196 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in htcp_ack_received() local
224 mss; in htcp_ack_received()
234 CCV(ccv, snd_cwnd) / mss))) * in htcp_ack_received()
235 mss) >> HTCP_SHIFT; in htcp_ack_received()
285 uint32_t mss, pipe; in htcp_cong_signal() local
288 mss = tcp_fixed_maxseg(ccv->tp); in htcp_cong_signal()
336 min(CCV(ccv, snd_wnd), pipe) / 2 / mss) * mss; in htcp_cong_signal()
338 CCV(ccv, snd_cwnd) = mss; in htcp_cong_signal()
374 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in htcp_post_recovery() local
397 CCV(ccv, snd_cwnd) = max(pipe, mss) + mss; in htcp_post_recovery()
[all …]
H A Dcc_dctcp.c111 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in dctcp_ack_received() local
129 bytes_acked = min(ccv->bytes_this_ack, mss); in dctcp_ack_received()
142 && bytes_acked > mss) { in dctcp_ack_received()
144 (bytes_acked - mss); in dctcp_ack_received()
150 && bytes_acked > mss) in dctcp_ack_received()
151 dctcp_data->bytes_ecn += mss; in dctcp_ack_received()
244 uint32_t cwin, mss, pipe; in dctcp_cong_signal() local
249 mss = tcp_fixed_maxseg(ccv->tp); in dctcp_cong_signal()
256 max(cwin / 2, 2 * mss); in dctcp_cong_signal()
265 max(cwin / 2, 2 * mss); in dctcp_cong_signal()
[all …]
H A Dcc.c395 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in newreno_cc_post_recovery() local
416 CCV(ccv, snd_cwnd) = max(pipe, mss) + mss; in newreno_cc_post_recovery()
455 newreno_cc_cwnd_on_multiplicative_decrease(struct cc_var *ccv, uint32_t mss) in newreno_cc_cwnd_on_multiplicative_decrease() argument
467 return max(((uint64_t)cwin * (uint64_t)factor) / (100ULL * (uint64_t)mss), 2) * mss; in newreno_cc_cwnd_on_multiplicative_decrease()
476 uint32_t cwin, mss, pipe; in newreno_cc_cong_signal() local
478 mss = tcp_fixed_maxseg(ccv->tp); in newreno_cc_cong_signal()
484 cwin = newreno_cc_cwnd_on_multiplicative_decrease(ccv, mss); in newreno_cc_cong_signal()
511 min(CCV(ccv, snd_wnd), pipe) / 2 / mss) * mss; in newreno_cc_cong_signal()
513 CCV(ccv, snd_cwnd) = mss; in newreno_cc_cong_signal()
564 u_int mss = tcp_fixed_maxseg(ccv->tp); in newreno_cc_cwnd_in_slow_start() local
[all …]
H A Dcc_cubic.c171 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in cubic_does_slow_start() local
172 u_int incr = mss; in cubic_does_slow_start()
220 ccv->nsegs * abc_val * mss); in cubic_does_slow_start()
222 incr = min(ccv->bytes_this_ack, mss); in cubic_does_slow_start()
241 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in cubic_ack_received() local
281 cubic_data->K = cubic_k(cubic_data->W_max / mss); in cubic_ack_received()
420 uint32_t mss, pipe; in cubic_cong_signal() local
423 mss = tcp_fixed_maxseg(ccv->tp); in cubic_cong_signal()
435 cubic_ssthresh_update(ccv, mss); in cubic_cong_signal()
438 cubic_data->K = cubic_k(cubic_data->W_max / mss); in cubic_cong_signal()
[all …]
H A Dcc_chd.c150 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in chd_window_decrease() local
152 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / mss; in chd_window_decrease()
154 CCV(ccv, snd_ssthresh) = max(win, 2) * mss; in chd_window_decrease()
194 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in chd_window_increase() local
206 V_tcp_abc_l_var * mss); in chd_window_increase()
209 incr = min(ccv->bytes_this_ack, mss); in chd_window_increase()
212 incr = mss; in chd_window_increase()
218 incr = mss; in chd_window_increase()
221 incr = mss; in chd_window_increase()
384 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in chd_cong_signal() local
[all …]
H A Dcc_vegas.c132 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in vegas_ack_received() local
143 e_t->minrtt / mss; in vegas_ack_received()
154 min(CCV(ccv, snd_cwnd) + mss, in vegas_ack_received()
210 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in vegas_cong_signal() local
222 CCV(ccv, snd_cwnd) = max(2 * mss, in vegas_cong_signal()
223 CCV(ccv, snd_cwnd) - mss); in vegas_cong_signal()
H A Dcc_newreno.c218 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in newreno_ack_received() local
224 u_int incr = mss; in newreno_ack_received()
328 ccv->nsegs * abc_val * mss); in newreno_ack_received()
330 incr = min(ccv->bytes_this_ack, mss); in newreno_ack_received()
369 uint32_t beta, beta_ecn, cwin, factor, mss, pipe; in newreno_cong_signal() local
372 mss = tcp_fixed_maxseg(ccv->tp); in newreno_cong_signal()
393 cwin = max(((uint64_t)cwin * (uint64_t)factor) / (100ULL * (uint64_t)mss), in newreno_cong_signal()
394 2) * mss; in newreno_cong_signal()
441 (100ULL * (uint64_t)mss)) * mss; in newreno_cong_signal()
443 CCV(ccv, snd_cwnd) = mss; in newreno_cong_signal()
H A Dcc_cdg.c419 uint32_t mss = tcp_fixed_maxseg(ccv->tp); in cdg_window_increase() local
426 incr = mss; in cdg_window_increase()
432 s_w_incr = mss; in cdg_window_increase()
434 incr = mss; in cdg_window_increase()
440 incr = mss * in cdg_window_increase()
/freebsd/sys/netpfil/ipfw/pmod/
H A Dtcpmod.c60 tcpmod_setmss(struct mbuf **mp, struct tcphdr *tcp, int tlen, uint16_t mss) in tcpmod_setmss() argument
98 if (ntohs(oldmss) <= ntohs(mss)) in tcpmod_setmss()
100 bcopy(&mss, cp + 2, sizeof(mss)); in tcpmod_setmss()
105 csum = cksum_adjust(csum, oldmss, mss); in tcpmod_setmss()
117 tcpmod_ipv6_setmss(struct mbuf **mp, uint16_t mss) in tcpmod_ipv6_setmss() argument
145 return (tcpmod_setmss(mp, tcp, hlen, mss)); in tcpmod_ipv6_setmss()
151 tcpmod_ipv4_setmss(struct mbuf **mp, uint16_t mss) in tcpmod_ipv4_setmss() argument
165 return (tcpmod_setmss(mp, tcp, hlen, mss)); in tcpmod_ipv4_setmss()
/freebsd/usr.sbin/ppp/
H A Dtcpmss.c108 u_int16_t *mss; in MSSFixup() local
134 mss = (u_int16_t *)(opt + 2); in MSSFixup()
135 if (ntohs(*mss) > maxmss) { in MSSFixup()
137 ntohs(*mss), maxmss); in MSSFixup()
138 accumulate = *mss; in MSSFixup()
139 *mss = htons(maxmss); in MSSFixup()
140 accumulate -= *mss; in MSSFixup()
/freebsd/sys/netpfil/pf/
H A Dpf_syncookies.c294 uint16_t mss; in pf_syncookie_send() local
297 mss = max(V_tcp_mssdflt, pf_get_mss(pd)); in pf_syncookie_send()
298 iss = pf_syncookie_generate(pd, mss); in pf_syncookie_send()
300 iss, ntohl(pd->hdr.tcp.th_seq) + 1, TH_SYN|TH_ACK, 0, mss, in pf_syncookie_send()
460 pf_syncookie_generate(struct pf_pdesc *pd, uint16_t mss) in pf_syncookie_generate() argument
472 pf_syncookie_msstab[i] > mss && i > 0; i--) in pf_syncookie_generate()
503 uint16_t mss; in pf_syncookie_recreate_syn() local
515 mss = pf_syncookie_msstab[cookie.flags.mss_idx]; in pf_syncookie_recreate_syn()
519 *pd->dport, seq, 0, TH_SYN, wscale, mss, pd->ttl, in pf_syncookie_recreate_syn()
/freebsd/sys/dev/enic/
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()
/freebsd/sys/dev/hyperv/netvsc/
H A Dndis.h392 #define NDIS_LSO2_INFO_MAKE(thoff, mss) \ argument
393 ((((uint32_t)(mss)) & NDIS_LSO2_INFO_MSS_MASK) | \
397 #define NDIS_LSO2_INFO_MAKEIPV4(thoff, mss) \ argument
398 NDIS_LSO2_INFO_MAKE((thoff), (mss))
400 #define NDIS_LSO2_INFO_MAKEIPV6(thoff, mss) \ argument
401 (NDIS_LSO2_INFO_MAKE((thoff), (mss)) | NDIS_LSO2_INFO_ISIPV6)
/freebsd/contrib/netbsd-tests/ipf/input/
H A Dni191 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,…
8 # 10.1.1.4.shell > 10.1.1.1.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>
33 # 10.1.1.4.1023 > 10.1.1.1.1008: SYN win 5840 <mss 1460,sackOK,timestamp 3791140 0,nop,wscale 2>
40 # 192.168.113.3.1008 > 10.1.1.4.1023: SYN win 32768 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 3791…
H A Dni201 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,…
8 # 192.168.113.4.shell > 192.168.113.3.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>
33 # 192.168.113.4.1023 > 192.168.113.3.1008: SYN win 5840 <mss 1460,sackOK,timestamp 3791140 0,nop,ws…
40 # 192.168.113.3.1008 > 10.1.1.4.1023: SYN win 32768 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 3791…
/freebsd/cddl/lib/libdtrace/
H A Dsiftr.d56 uint32_t mss; member
93 mss = p == NULL ? 0 : p->mss;
/freebsd/sys/dev/gve/
H A Dgve_desc.h70 __be16 mss; /* TSO MSS */ member
111 __be16 mss; member
/freebsd/sys/netinet/
H A Dtcp_input.c1691 uint16_t mss; in tcp_do_segment() local
1694 mss = to.to_mss; in tcp_do_segment()
1697 mss = TCP6_MSS; in tcp_do_segment()
1699 mss = TCP_MSS; in tcp_do_segment()
1702 tcp_fastopen_update_cache(tp, mss, in tcp_do_segment()
3802 int mss = 0; in tcp_mss_update() local
3889 mss = min(metricptr->hc_mtu, maxmtu) - min_protoh; in tcp_mss_update()
3893 mss = maxmtu - min_protoh; in tcp_mss_update()
3896 mss = min(mss, V_tcp_v6mssdflt); in tcp_mss_update()
3904 mss = maxmtu - min_protoh; in tcp_mss_update()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Dtcp_common.h122 __le16 mss /* the mss derived from remote mss and local mtu, ipVersion options and tags */; member
191 __le16 mss /* the mss derived from remote mss and local mtu, ipVersion options and tags */; member
262 __le16 mss; member
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5dv.h439 uint16_t mss; member
610 uint16_t mss, uint16_t inline_hdr_sz, in mlx5dv_set_eth_seg() argument
614 seg->mss = htobe16(mss); in mlx5dv_set_eth_seg()
/freebsd/sys/dev/ice/
H A Dice_common_txrx.h148 u32 cmd, mss, type, tsolen; in ice_tso_setup() local
163 mss = pi->ipi_tso_segsz; in ice_tso_setup()
168 ((u64)mss << ICE_TXD_CTX_QW1_MSS_S); in ice_tso_setup()
/freebsd/sys/dev/iavf/
H A Diavf_txrx_iflib.c263 u32 cmd, mss, type, tsolen; in iavf_tso_setup() local
283 mss = pi->ipi_tso_segsz; in iavf_tso_setup()
286 MPASS(mss <= IAVF_MAX_TSO_MSS); in iavf_tso_setup()
293 MPASS(total_hdr_len + mss <= IAVF_MAX_FRAME); in iavf_tso_setup()
298 ((u64)mss << IAVF_TXD_CTX_QW1_MSS_SHIFT); in iavf_tso_setup()

123456