Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/core/
A Dtcp_in.c503 npcb->mss = tcp_eff_send_mss(npcb->mss, &(npcb->remote_ip)); in tcp_listen_input()
644 pcb->mss = tcp_eff_send_mss(pcb->mss, &(pcb->remote_ip)); in tcp_process()
649 pcb->ssthresh = pcb->mss * 10; in tcp_process()
651 pcb->cwnd = ((pcb->cwnd == 1) ? (pcb->mss * 2) : pcb->mss); in tcp_process()
714 pcb->cwnd = ((old_cwnd == 1) ? (pcb->mss * 2) : pcb->mss); in tcp_process()
942 pcb->cwnd += pcb->mss; in tcp_receive()
988 pcb->cwnd += pcb->mss; in tcp_receive()
992 u16_t new_cwnd = (pcb->cwnd + pcb->mss * pcb->mss / pcb->cwnd); in tcp_receive()
1545 u16_t mss; in tcp_parseopt() local
1576 mss = (opts[c + 2] << 8) | opts[c + 3]; in tcp_parseopt()
[all …]
A Dtcp_out.c373 u16_t mss_local = LWIP_MIN(pcb->mss, pcb->snd_wnd_max/2); in tcp_write()
1071 u16_t mss; in tcp_output_segment() local
1073 mss = tcp_eff_send_mss(TCP_MSS, &pcb->remote_ip); in tcp_output_segment()
1075 mss = TCP_MSS; in tcp_output_segment()
1077 *opts = TCP_BUILD_MSS_OPTION(mss); in tcp_output_segment()
1341 if (pcb->ssthresh < 2*pcb->mss) { in tcp_rexmit_fast()
1345 pcb->ssthresh, 2*pcb->mss)); in tcp_rexmit_fast()
1346 pcb->ssthresh = 2*pcb->mss; in tcp_rexmit_fast()
1349 pcb->cwnd = pcb->ssthresh + 3 * pcb->mss; in tcp_rexmit_fast()
A Dtcp.c583 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()
752 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; in tcp_connect()
754 pcb->mss = tcp_eff_send_mss(pcb->mss, ipaddr); in tcp_connect()
757 pcb->ssthresh = pcb->mss * 10; in tcp_connect()
866 if (pcb->ssthresh < (pcb->mss << 1)) { in tcp_slowtmr()
867 pcb->ssthresh = (pcb->mss << 1); in tcp_slowtmr()
869 pcb->cwnd = pcb->mss; in tcp_slowtmr()
1317 pcb->mss = (TCP_MSS > 536) ? 536 : TCP_MSS; in tcp_alloc()
/lk-master/external/lib/lwip/include/lwip/
A Dtcp.h204 u16_t mss; /* maximum segment size */ member
325 … tcp_mss(pcb) (((pcb)->flags & TF_TIMESTAMP) ? ((pcb)->mss - 12) : (pcb)->mss)
A Dtcp_impl.h87 ((tpcb)->unsent->len >= (tpcb)->mss))) || \
303 #define TCP_BUILD_MSS_OPTION(mss) htonl(0x02040000 | ((mss) & 0xFFFF)) argument
/lk-master/lib/minip/
A Dtcp.c52 uint16_t mss; member
90 uint32_t mss; member
450 mss_option.mss = ntohs(s->mss); // XXX make sure we fit in their mss in tcp_input()
619 if (copy_len >= s->mss) { in handle_data()
797 uint32_t tosend = MIN(s->mss, pending - offset); in tcp_write_pending_data()
824 uint32_t tosend = MIN(s->mss, outstanding); in tcp_retransmit()
924 s->mss = DEFAULT_MSS; in create_tcp_socket()
1041 if (new_rx_win_size >= s->mss && s->rx_win_high - s->rx_win_low < s->mss) in tcp_read()

Completed in 14 milliseconds