Home
last modified time | relevance | path

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

123

/titanic_44/usr/src/uts/common/inet/
H A Dtcp_impl.h96 #define MSS_ROUNDUP(value, mss) ((((value) - 1) / (mss) + 1) * (mss)) argument
238 #define TCP_SET_INIT_CWND(tcp, mss, def_max_init_cwnd) \ argument
242 (tcp)->tcp_cwnd = MIN(4 * (mss), \
243 MAX(2 * (mss), 4380 / (mss) * (mss))); \
245 (tcp)->tcp_cwnd = MIN(TCP_MAX_INIT_CWND * (mss),\
246 def_max_init_cwnd * (mss)); \
249 (tcp)->tcp_cwnd = (tcp)->tcp_init_cwnd * (mss); \
/titanic_44/usr/src/stand/lib/tcp/
H A Dtcp.c172 #define MSS_ROUNDUP(value, mss) ((((value) - 1) / (mss) + 1) * (mss)) argument
615 int mss = tcp->tcp_mss; in tcp_send() local
626 if (len < mss) { in tcp_send()
627 mss = len; in tcp_send()
636 if ((mp = allocb(mss + tcp->tcp_ip_hdr_len + in tcp_send()
641 bcopy(buf, mp->b_rptr, mss); in tcp_send()
642 mp->b_wptr = mp->b_rptr + mss; in tcp_send()
643 buf += mss; in tcp_send()
644 cnt += mss; in tcp_send()
645 len -= mss; in tcp_send()
[all …]
/titanic_44/usr/src/uts/common/io/nxge/
H A Dnxge_send.c40 static mblk_t *nxge_do_softlso(mblk_t *mp, uint32_t mss);
1218 nxge_lso_info_get(mblk_t *mp, uint32_t *mss, uint32_t *flags) in nxge_lso_info_get() argument
1222 *mss = 0; in nxge_lso_info_get()
1225 if ((*flags != 0) && (mss != NULL)) { in nxge_lso_info_get()
1226 *mss = (uint32_t)DB_LSOMSS(mp); in nxge_lso_info_get()
1230 *mss, *flags)); in nxge_lso_info_get()
1234 "<== nxge_lso_info_get: mss %d", *mss)); in nxge_lso_info_get()
1254 nxge_do_softlso(mblk_t *mp, uint32_t mss) in nxge_do_softlso() argument
1311 mss, in nxge_do_softlso()
1413 segnum = (available - 1) / mss + 1; in nxge_do_softlso()
[all …]
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_output.c215 int32_t mss; in tcp_wput_data() local
364 mss = tcp->tcp_mss - opt_len; in tcp_wput_data()
368 mss = tcp->tcp_mss; in tcp_wput_data()
375 TCP_SET_INIT_CWND(tcp, mss, tcps->tcps_slow_start_after_idle); in tcp_wput_data()
496 if (usable < mss) in tcp_wput_data()
498 usable = (usable / mss) * mss; in tcp_wput_data()
505 rc = tcp_send(tcp, mss, total_hdr_len, tcp_hdr_len, in tcp_wput_data()
1090 uint32_t mss; in tcp_output() local
1125 mss = tcp->tcp_mss; in tcp_output()
1152 (len > mss) || in tcp_output()
[all …]
H A Dtcp_timers.c648 uint32_t mss; in tcp_timer() local
1056 mss = tcp->tcp_snxt - tcp->tcp_suna; in tcp_timer()
1057 if (mss > tcp->tcp_mss) in tcp_timer()
1058 mss = tcp->tcp_mss; in tcp_timer()
1059 if (mss > tcp->tcp_swnd && tcp->tcp_swnd != 0) in tcp_timer()
1060 mss = tcp->tcp_swnd; in tcp_timer()
1064 mp = tcp_xmit_mp(tcp, mp, mss, NULL, NULL, tcp->tcp_suna, B_TRUE, &mss, in tcp_timer()
1093 TCPS_UPDATE_MIB(tcps, tcpRetransBytes, mss); in tcp_timer()
H A Dtcp.c611 uint32_t mss; in tcp_set_destination() local
740 mss = tcp->tcp_initial_pmtu = uinfo.iulp_mtu; in tcp_set_destination()
751 mss -= tcp->tcp_ipsec_overhead; in tcp_set_destination()
753 if (mss < tcps->tcps_mss_min) in tcp_set_destination()
754 mss = tcps->tcps_mss_min; in tcp_set_destination()
755 if (mss > mss_max) in tcp_set_destination()
756 mss = mss_max; in tcp_set_destination()
759 tcp->tcp_mss = mss; in tcp_set_destination()
2464 int32_t mss; in tcp_update_pmtu() local
2487 mss = pmtu - connp->conn_ht_iphc_len - conn_ipsec_length(connp); in tcp_update_pmtu()
[all …]
H A Dtcp_input.c190 tcp_mss_set(tcp_t *tcp, uint32_t mss) in tcp_mss_set() argument
201 if (mss < tcps->tcps_mss_min) in tcp_mss_set()
202 mss = tcps->tcps_mss_min; in tcp_mss_set()
203 if (mss > mss_max) in tcp_mss_set()
204 mss = mss_max; in tcp_mss_set()
210 if (mss < tcp->tcp_naglim || tcp->tcp_mss == tcp->tcp_naglim) in tcp_mss_set()
211 tcp->tcp_naglim = mss; in tcp_mss_set()
216 if ((mss << 2) > connp->conn_sndbuf) in tcp_mss_set()
217 connp->conn_sndbuf = mss << 2; in tcp_mss_set()
222 if ((mss << 1) > connp->conn_sndlowat) in tcp_mss_set()
[all …]
/titanic_44/usr/src/lib/libslp/javalib/com/sun/slp/
H A DListener.java143 MulticastSocket mss = (MulticastSocket)dss; in addListenerToMulticastGroup() local
146 mss.joinGroup(maddr); in addListenerToMulticastGroup()
H A DSLPV1Manager.java293 MulticastSocket mss = (MulticastSocket)dss; in start() local
296 mss.leaveGroup(v1SLPDAAddr); in start()
/titanic_44/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c486 uint32_t mss; in e1000g_retrieve_context() local
491 mac_lso_get(mp, &mss, &lsoflags); in e1000g_retrieve_context()
506 ASSERT(mss != 0); in e1000g_retrieve_context()
509 if (mss == 0 || in e1000g_retrieve_context()
514 cur_context->mss = (uint16_t)mss; in e1000g_retrieve_context()
580 (cur_context->mss != pre_context->mss) || in e1000g_check_context()
1498 context_desc->tcp_seg_setup.fields.mss = cur_context->mss; in e1000g_fill_context_descriptor()
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_impl.h451 #define MSS_ROUNDUP(value, mss) ((((value) - 1) / (mss) + 1) * (mss)) argument
612 #define SET_CWND(fp, mss, def_max_init_cwnd) \ argument
614 (fp)->sf_cwnd = MIN(def_max_init_cwnd * (mss), \
615 MIN(4 * (mss), MAX(2 * (mss), 4380 / (mss) * (mss)))); \
H A Dsctp.c969 int32_t mss; in sctp_update_pmtu() local
986 mss = pmtu - conn_ipsec_length(sctp->sctp_connp); in sctp_update_pmtu()
988 mss -= sctp->sctp_hdr_len; in sctp_update_pmtu()
990 mss -= sctp->sctp_hdr6_len; in sctp_update_pmtu()
995 if (mss == fp->sf_pmss) in sctp_update_pmtu()
1001 if (mss > fp->sf_pmss && decrease_only) in sctp_update_pmtu()
1006 fp->sf_pmss, mss); in sctp_update_pmtu()
1008 DTRACE_PROBE2(sctp_update_pmtu, int32_t, fp->sf_pmss, uint32_t, mss); in sctp_update_pmtu()
1019 fp->sf_pmss = mss & ~(SCTP_ALIGN - 1); in sctp_update_pmtu()
1023 if (mss < sctp->sctp_sctps->sctps_mss_min) in sctp_update_pmtu()
H A Dsctp_error.c523 uint32_t mss; in sctp_add_err() local
537 mss = fp->sf_pmss; in sctp_add_err()
544 if (sctp->sctp_err_len + emp_len > mss) { in sctp_add_err()
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_tx.c601 uint32_t mss; in igb_get_tx_context() local
621 mac_lso_get(mp, &mss, &lso_flag); in igb_get_tx_context()
622 ctx->mss = mss; in igb_get_tx_context()
786 (ctx->lso_flag && ((ctx->mss != last->mss) || in igb_check_tx_context()
846 (ctx->mss << E1000_ADVTXD_MSS_SHIFT); in igb_fill_tx_context()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c1454 u32_t mss = 0; in _lm_tcp_calc_mss() local
1484 mss = path_mtu - hdrs; in _lm_tcp_calc_mss()
1486 if(mss > remote_mss) { in _lm_tcp_calc_mss()
1487 mss = remote_mss; in _lm_tcp_calc_mss()
1490 mss -= TCP_OPTION_LEN; in _lm_tcp_calc_mss()
1492 if (!mss) { in _lm_tcp_calc_mss()
1493 DbgBreakIf(!mss); in _lm_tcp_calc_mss()
1494 mss = 1; /*mss may be used as divider, so let's prevent division by zero*/ in _lm_tcp_calc_mss()
1496 return mss; in _lm_tcp_calc_mss()
1504 static u32_t _lm_tcp_calc_frag_cnt(lm_device_t * pdev, u32_t initial_rcv_wnd, u32_t mss) in _lm_tcp_calc_frag_cnt() argument
[all …]
H A Dlm_l4tx.c153 if ((u32_t)frag_list->size >= tx_con->u.tx.mss) { in lm_tcp_tx_post_buf()
179 if (tcp_buf->size >= tx_con->u.tx.mss) { in lm_tcp_tx_post_buf()
/titanic_44/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c700 uint32_t mss; in ixgbe_get_context() local
721 mac_lso_get(mp, &mss, &lsoflags); in ixgbe_get_context()
722 ctx->mss = mss; in ixgbe_get_context()
904 (ctx->lso_flag && ((ctx->mss != last->mss) || in ixgbe_check_context()
960 (ctx->mss << IXGBE_ADVTXD_MSS_SHIFT); in ixgbe_fill_context()
/titanic_44/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c2895 myri10ge_lso_info_get(mblk_t *mp, uint32_t *mss, uint32_t *flags) in myri10ge_lso_info_get() argument
2898 mac_lso_get(mp, mss, &lso_flag); in myri10ge_lso_info_get()
2907 uint32_t start, stuff, tx_offload_flags, mss; in myri10ge_pullup() local
2910 mss = 0; in myri10ge_pullup()
2912 myri10ge_lso_info_get(mp, &mss, &tx_offload_flags); in myri10ge_pullup()
2922 DB_LSOMSS(mp) = (uint16_t)mss; in myri10ge_pullup()
2923 lso_info_set(mp, mss, tx_offload_flags); in myri10ge_pullup()
3119 uint16_t mss, uint8_t cksum_offset) in myri10ge_tx_tso_copy() argument
3131 uint16_t pseudo_hdr_offset = htons(mss); in myri10ge_tx_tso_copy()
3157 if (mss) { in myri10ge_tx_tso_copy()
[all …]
/titanic_44/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c1861 uint32_t chkflags, start, mss, lsoflags; in i40e_tx_context() local
1870 mac_lso_get(mp, &mss, &lsoflags); in i40e_tx_context()
1972 tctx->itc_ctx_mss = mss; in i40e_tx_context()
2571 const size_t mss = tctx->itc_ctx_mss; in i40e_lso_chain() local
2697 if (segsz >= mss) { in i40e_lso_chain()
2698 segsz = segsz % mss; in i40e_lso_chain()
2738 if (tsegsz >= mss) { in i40e_lso_chain()
2739 tsegsz = tsegsz % mss; in i40e_lso_chain()
2771 ASSERT3U(tsegsz, <, mss); in i40e_lso_chain()
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c548 uint32_t mss; in eib_data_prepare_frame() local
557 mac_lso_get(mp, &mss, &lsoflags); in eib_data_prepare_frame()
559 eib_data_setup_lso(swqe, mp, mss, evh); in eib_data_prepare_frame()
764 eib_data_setup_lso(eib_wqe_t *swqe, mblk_t *mp, uint32_t mss, in eib_data_setup_lso() argument
786 lso->lso_mss = mss; in eib_data_setup_lso()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c696 uint32_t mss = 0; in oce_send_packet() local
723 mac_lso_get(mp, &mss, &flags); in oce_send_packet()
808 wqeh->u0.s.lso_mss = mss; in oce_send_packet()
/titanic_44/usr/src/uts/common/inet/kssl/
H A Dksslapi.c1138 kssl_init_context(kssl_ent_t kssl_ent, struct sockaddr *addr, int mss, in kssl_init_context() argument
1159 ssl->tcp_mss = mss; in kssl_init_context()
1169 kssl_set_mss(kssl_ctx_t ctx, uint32_t mss) in kssl_set_mss() argument
1172 ssl->tcp_mss = mss; in kssl_set_mss()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4st.h300 u32_t mss; /* min(tcp_const.remote_mss, member
349 u32_t mss; member
/titanic_44/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-fifo.h335 xge_hal_fifo_dtr_mss_set(xge_hal_dtr_h dtrh, int mss);
/titanic_44/usr/src/uts/common/io/e1000api/
H A De1000_82575.h119 u32 mss:16; member

123