/reactos/drivers/network/dd/netkvm/wxp/ |
H A D | ParaNdis5-Impl.c | 708 ULONG mss, in CalculateTotalOffloadSize() argument 716 if (tcpipHeaders && (mss + allHeaders) <= maxPossiblePacketSize) in CalculateTotalOffloadSize() 718 ULONG nFragments = (packetSize - allHeaders)/mss; in CalculateTotalOffloadSize() 719 ULONG last = (packetSize - allHeaders)%mss; in CalculateTotalOffloadSize() 723 __FUNCTION__, !ul ? "ERROR:" : "", ul, mss, allHeaders)); in CalculateTotalOffloadSize() 1130 mss = pContext->MaxPacketSize.nMaxFullSizeOS; in PrepareSendEntry() 1140 else if (mss > pContext->MaxPacketSize.nMaxFullSizeOS) in PrepareSendEntry() 1144 else if (mss && pContext->Offload.flags.fTxLso) in PrepareSendEntry() 1147 pse->ipTransferUnit = mss; in PrepareSendEntry() 1151 if ((len / mss + 3) > pContext->maxFreeHardwareBuffers) in PrepareSendEntry() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/core/ |
H A D | tcp_in.c | 69 #define LWIP_TCP_CALC_INITIAL_CWND(mss) ((tcpwnd_size_t)LWIP_MIN((4U * (mss)), LWIP_MAX((2U * (mss)… argument 709 npcb->mss = tcp_eff_send_mss(npcb->mss, &npcb->local_ip, &npcb->remote_ip); 880 pcb->mss = tcp_eff_send_mss(pcb->mss, &pcb->local_ip, &pcb->remote_ip); 883 pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss); 976 pcb->cwnd = LWIP_TCP_CALC_INITIAL_CWND(pcb->mss); 1224 TCP_WND_INC(pcb->cwnd, pcb->mss); 1276 TCP_WND_INC(pcb->cwnd, pcb->mss); 1918 u16_t mss; local 1946 mss = (u16_t)(tcp_get_next_optbyte() << 8); 1947 mss |= tcp_get_next_optbyte(); [all …]
|
H A D | tcp_out.c | 420 mss_local = LWIP_MIN(pcb->mss, TCPWND_MIN16(pcb->snd_wnd_max / 2)); in tcp_write() 421 mss_local = mss_local ? mss_local : pcb->mss; in tcp_write() 862 LWIP_ASSERT("split <= mss", split <= pcb->mss); in tcp_split_unsent_seg() 1502 u16_t mss; in tcp_output_segment() local 1504 mss = tcp_eff_send_mss_netif(TCP_MSS, netif, &pcb->remote_ip); in tcp_output_segment() 1506 mss = TCP_MSS; in tcp_output_segment() 1508 *opts = TCP_BUILD_MSS_OPTION(mss); in tcp_output_segment() 1804 if (pcb->ssthresh < (2U * pcb->mss)) { in tcp_rexmit_fast() 1808 pcb->ssthresh, (u16_t)(2 * pcb->mss))); in tcp_rexmit_fast() 1809 pcb->ssthresh = 2 * pcb->mss; in tcp_rexmit_fast() [all …]
|
H A D | tcp.c | 941 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() 1161 pcb->mss = INITIAL_MSS; in tcp_connect() 1163 pcb->mss = tcp_eff_send_mss_netif(pcb->mss, netif, &pcb->remote_ip); in tcp_connect() 1302 if (pcb->ssthresh < (tcpwnd_size_t)(pcb->mss << 1)) { in tcp_slowtmr() 1303 pcb->ssthresh = (tcpwnd_size_t)(pcb->mss << 1); in tcp_slowtmr() 1305 pcb->cwnd = pcb->mss; in tcp_slowtmr() 1903 pcb->mss = INITIAL_MSS; in tcp_alloc()
|
H A D | altcp.c | 408 if (conn && conn->fns && conn->fns->mss) { in altcp_mss() 409 return conn->fns->mss(conn); in altcp_mss()
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/ |
H A D | tcp.h | 297 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)
|
/reactos/drivers/network/tcpip/include/ |
H A D | tcpcore.h | 2313 __u16 mss; member 2607 __u16 *mss); 3036 if (skb->len < mss) in tcp_minshall_update() 3430 if (space > mss) in tcp_select_initial_window() 3431 space = (space / mss) * mss; in tcp_select_initial_window() 3456 if (mss > (1<<*rcv_wscale)) { in tcp_select_initial_window() 3458 if (mss > 1460*3) in tcp_select_initial_window() 3460 else if (mss > 1460) in tcp_select_initial_window() 3462 if (*rcv_wnd > init_cwnd*mss) in tcp_select_initial_window() 3463 *rcv_wnd = init_cwnd*mss; in tcp_select_initial_window() [all …]
|
/reactos/drivers/network/tcpip/lwip/test/unit/tcp/ |
H A D | test_tcp.c | 470 pcb->mss = TCP_MSS; in START_TEST() 653 pcb->mss = TCP_MSS; in START_TEST() 744 pcb->mss = TCP_MSS; in START_TEST() 827 pcb->mss = TCP_MSS; in test_tcp_tx_full_window_lost() 974 pcb->mss = TCP_MSS; in START_TEST() 1093 pcb->mss = TCP_MSS; in START_TEST() 1129 EXPECT(pcb->cwnd == pcb->mss); in START_TEST() 1153 EXPECT(pcb->cwnd == (tcpwnd_size_t)(2 * pcb->mss)); in START_TEST() 1215 pcb->mss = TCP_MSS; in test_tcp_rto_timeout_impl() 1409 pcb->mss = TCP_MSS; in test_tcp_zwp_timeout_impl() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/priv/ |
H A D | tcp_priv.h | 103 ((tpcb)->unsent->len >= (tpcb)->mss))) || \ 308 #define TCP_BUILD_MSS_OPTION(mss) lwip_htonl(0x02040000 | ((mss) & 0xFFFF)) argument
|
H A D | altcp_priv.h | 108 altcp_mss_fn mss; member
|
/reactos/drivers/network/tcpip/lwip/ |
H A D | CHANGELOG | 1528 * tcp_out.c: use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs 2777 host sent a zero mss as TCP option. 2894 * tcp.h, opt.h, tcp.c, tcp_in.c: implemented calculating the effective send-mss 3134 2 * mss (instead of 1 * mss previously) to comply with some newer RFCs and 3476 * tcp.c, tcp_in.c: Fixed bug #21494: The send mss (pcb->mss) is set to 536 (or 3482 is now based on TCP_MSS instead of pcb->mss (on passive open now effectively
|