| /onnv-gate/usr/src/stand/lib/tcp/ |
| H A D | tcp.c | 172 #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 …]
|
| /onnv-gate/usr/src/uts/common/io/nxge/ |
| H A D | nxge_send.c | 40 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 …]
|
| /onnv-gate/usr/src/uts/common/inet/ |
| H A D | tcp_impl.h | 82 #define MSS_ROUNDUP(value, mss) ((((value) - 1) / (mss) + 1) * (mss)) argument 202 #define TCP_SET_INIT_CWND(tcp, mss, def_max_init_cwnd) \ argument 205 (tcp)->tcp_cwnd = MIN(def_max_init_cwnd * (mss), \ 206 MIN(4 * (mss), MAX(2 * (mss), 4380 / (mss) * (mss)))); \ 208 (tcp)->tcp_cwnd = (tcp)->tcp_init_cwnd * (mss); \
|
| /onnv-gate/usr/src/uts/common/inet/tcp/ |
| H A D | tcp_output.c | 214 int32_t mss; in tcp_wput_data() local 363 mss = tcp->tcp_mss - opt_len; in tcp_wput_data() 367 mss = tcp->tcp_mss; in tcp_wput_data() 374 TCP_SET_INIT_CWND(tcp, mss, tcps->tcps_slow_start_after_idle); in tcp_wput_data() 495 if (usable < mss) in tcp_wput_data() 497 usable = (usable / mss) * mss; in tcp_wput_data() 504 rc = tcp_send(tcp, mss, total_hdr_len, tcp_hdr_len, in tcp_wput_data() 1089 uint32_t mss; in tcp_output() local 1124 mss = tcp->tcp_mss; in tcp_output() 1151 (len > mss) || in tcp_output() [all …]
|
| H A D | tcp_timers.c | 623 uint32_t mss; in tcp_timer() local 1031 mss = tcp->tcp_snxt - tcp->tcp_suna; in tcp_timer() 1032 if (mss > tcp->tcp_mss) in tcp_timer() 1033 mss = tcp->tcp_mss; in tcp_timer() 1034 if (mss > tcp->tcp_swnd && tcp->tcp_swnd != 0) in tcp_timer() 1035 mss = tcp->tcp_swnd; in tcp_timer() 1039 mp = tcp_xmit_mp(tcp, mp, mss, NULL, NULL, tcp->tcp_suna, B_TRUE, &mss, in tcp_timer() 1070 TCPS_UPDATE_MIB(tcps, tcpRetransBytes, mss); in tcp_timer()
|
| H A D | tcp.c | 612 uint32_t mss; in tcp_set_destination() local 741 mss = tcp->tcp_initial_pmtu = uinfo.iulp_mtu; in tcp_set_destination() 752 mss -= tcp->tcp_ipsec_overhead; in tcp_set_destination() 754 if (mss < tcps->tcps_mss_min) in tcp_set_destination() 755 mss = tcps->tcps_mss_min; in tcp_set_destination() 756 if (mss > mss_max) in tcp_set_destination() 757 mss = mss_max; in tcp_set_destination() 760 tcp->tcp_mss = mss; in tcp_set_destination() 2452 int32_t mss; in tcp_update_pmtu() local 2475 mss = pmtu - connp->conn_ht_iphc_len - conn_ipsec_length(connp); in tcp_update_pmtu() [all …]
|
| H A D | tcp_input.c | 187 tcp_mss_set(tcp_t *tcp, uint32_t mss) in tcp_mss_set() argument 198 if (mss < tcps->tcps_mss_min) in tcp_mss_set() 199 mss = tcps->tcps_mss_min; in tcp_mss_set() 200 if (mss > mss_max) in tcp_mss_set() 201 mss = mss_max; in tcp_mss_set() 207 if (mss < tcp->tcp_naglim || tcp->tcp_mss == tcp->tcp_naglim) in tcp_mss_set() 208 tcp->tcp_naglim = mss; in tcp_mss_set() 213 if ((mss << 2) > connp->conn_sndbuf) in tcp_mss_set() 214 connp->conn_sndbuf = mss << 2; in tcp_mss_set() 219 if ((mss << 1) > connp->conn_sndlowat) in tcp_mss_set() [all …]
|
| /onnv-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
| H A D | Listener.java | 143 MulticastSocket mss = (MulticastSocket)dss; in addListenerToMulticastGroup() local 146 mss.joinGroup(maddr); in addListenerToMulticastGroup()
|
| H A D | SLPV1Manager.java | 293 MulticastSocket mss = (MulticastSocket)dss; in start() local 296 mss.leaveGroup(v1SLPDAAddr); in start()
|
| /onnv-gate/usr/src/uts/common/io/e1000g/ |
| H A D | e1000g_tx.c | 482 uint32_t mss; in e1000g_retrieve_context() local 487 mac_lso_get(mp, &mss, &lsoflags); in e1000g_retrieve_context() 502 ASSERT(mss != 0); in e1000g_retrieve_context() 505 if (mss == 0 || in e1000g_retrieve_context() 510 cur_context->mss = (uint16_t)mss; in e1000g_retrieve_context() 576 (cur_context->mss != pre_context->mss) || in e1000g_check_context() 1466 context_desc->tcp_seg_setup.fields.mss = cur_context->mss; in e1000g_fill_context_descriptor()
|
| /onnv-gate/usr/src/uts/common/inet/sctp/ |
| H A D | sctp_impl.h | 451 #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 D | sctp.c | 969 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 D | sctp_error.c | 523 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()
|
| /onnv-gate/usr/src/uts/common/io/igb/ |
| H A D | igb_tx.c | 597 uint32_t mss; in igb_get_tx_context() local 617 mac_lso_get(mp, &mss, &lso_flag); in igb_get_tx_context() 618 ctx->mss = mss; in igb_get_tx_context() 782 (ctx->lso_flag && ((ctx->mss != last->mss) || in igb_check_tx_context() 841 (ctx->mss << E1000_ADVTXD_MSS_SHIFT); in igb_fill_tx_context()
|
| H A D | igb_82575.h | 120 u32 mss :16; member
|
| /onnv-gate/usr/src/uts/common/io/ixgbe/ |
| H A D | ixgbe_tx.c | 695 uint32_t mss; in ixgbe_get_context() local 716 mac_lso_get(mp, &mss, &lsoflags); in ixgbe_get_context() 717 ctx->mss = mss; in ixgbe_get_context() 899 (ctx->lso_flag && ((ctx->mss != last->mss) || in ixgbe_check_context() 955 (ctx->mss << IXGBE_ADVTXD_MSS_SHIFT); in ixgbe_fill_context()
|
| /onnv-gate/usr/src/uts/common/io/myri10ge/drv/ |
| H A D | myri10ge.c | 2888 myri10ge_lso_info_get(mblk_t *mp, uint32_t *mss, uint32_t *flags) in myri10ge_lso_info_get() argument 2891 mac_lso_get(mp, mss, &lso_flag); in myri10ge_lso_info_get() 2900 uint32_t start, stuff, tx_offload_flags, mss; in myri10ge_pullup() local 2903 mss = 0; in myri10ge_pullup() 2905 myri10ge_lso_info_get(mp, &mss, &tx_offload_flags); in myri10ge_pullup() 2915 DB_LSOMSS(mp) = (uint16_t)mss; in myri10ge_pullup() 2916 lso_info_set(mp, mss, tx_offload_flags); in myri10ge_pullup() 3112 uint16_t mss, uint8_t cksum_offset) in myri10ge_tx_tso_copy() argument 3124 uint16_t pseudo_hdr_offset = htons(mss); in myri10ge_tx_tso_copy() 3150 if (mss) { in myri10ge_tx_tso_copy() [all …]
|
| H A D | myri10ge_lro.c | 328 lro->mss = (uint16_t)tcp_data_len; in myri10ge_lro_rx()
|
| /onnv-gate/usr/src/uts/common/io/ib/clients/eoib/ |
| H A D | eib_data.c | 548 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()
|
| /onnv-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
| H A D | oce_tx.c | 700 uint32_t mss = 0; in oce_send_packet() local 727 mac_lso_get(mp, &mss, &flags); in oce_send_packet() 812 wqeh->u0.s.lso_mss = mss; in oce_send_packet()
|
| /onnv-gate/usr/src/uts/common/inet/kssl/ |
| H A D | ksslapi.c | 1138 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()
|
| H A D | ksslrec.c | 1356 int mss; in kssl_send_certificate_and_server_hello_done() local 1376 mss = ssl->tcp_mss; in kssl_send_certificate_and_server_hello_done() 1381 ASSERT(mss > cur_reclen + SSL3_HDR_LEN); in kssl_send_certificate_and_server_hello_done() 1384 copylen = mss - (cur_reclen + SSL3_HDR_LEN); in kssl_send_certificate_and_server_hello_done() 1404 copylen = MIN(len, mss); in kssl_send_certificate_and_server_hello_done() 1423 copylen = MIN(copylen, mss - SSL3_HDR_LEN); in kssl_send_certificate_and_server_hello_done()
|
| /onnv-gate/usr/src/uts/common/io/xge/hal/include/ |
| H A D | xgehal-fifo.h | 335 xge_hal_fifo_dtr_mss_set(xge_hal_dtr_h dtrh, int mss);
|
| /onnv-gate/usr/src/uts/common/io/mac/ |
| H A D | mac_provider.c | 1499 mac_lso_get(mblk_t *mp, uint32_t *mss, uint32_t *flags) in mac_lso_get() argument 1505 if ((*flags != 0) && (mss != NULL)) in mac_lso_get() 1506 *mss = (uint32_t)DB_LSOMSS(mp); in mac_lso_get()
|
| /onnv-gate/usr/src/uts/common/io/ntxn/ |
| H A D | nic_cmn.h | 381 mss:16; member
|