lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] how to change MTU


From: PHAM ANH THIEN
Subject: [lwip-users] how to change MTU
Date: Thu, 21 Jan 2010 15:49:46 +0700

dear all,

i want to send a packet more than 1500 bytes, in my case is 2048 bytes, after sending i see the below message:

Sending data...
tcp_write(pcb=4000a718, data="" len=2048, apiflags=1)
tcp_enqueue(pcb=4000a718, arg=400057a4, len=2048, flags=0, apiflags=1)
tcp_enqueue: queueing 6511:7971 (0x0)
tcp_enqueue: queueing 7971:8559 (0x0)
tcp_output_segment: 6511:7971
   0:.tcp_write(pcb=4000a718, data="" len=952, apiflags=1)
tcp_enqueue(pcb=4000a718, arg=400057a4, len=952, flags=0, apiflags=1)
tcp_enqueue: queueing 8559:9511 (0x0)
tcp_output_segment: 7971:8559

this mean that i sent 2048 bytes successfully already, but when i use wireshark application (network analyzer application) i only see a packet with 588-byte length sent. I changed MTU (netif->mtu) from 1500 to 3000 and SND_BUF, TCP_MSS, TCP_SND_BUF, TCP_WND, ETH_FRAG_SIZE, ETH_MAX_FLEN from 1500 to 3000 as well.

Anyone know how to do it? please advise

thank you very much.
Thien

reply via email to

[Prev in Thread] Current Thread [Next in Thread]