ianc at microsol.iinet.net.au
Fri Jul 9 01:53:24 UTC 2004
I am not sure if you or anyone else has answered this question, but when
you init the TCP/IP stack, you enter:
Just before this you have to setup your stack parameters, two of the
rtems_bsdnet_config.mbuf_bytecount = 512 * 1024;
rtems_bsdnet_config.mbuf_cluster_bytecount = 512 * 1024;
In our system we set them up as 512K bytes each.
They are contained in the following structures:
struct rtems_bsdnet_ifconfig my_ifconfig;
struct rtems_bsdnet_config rtems_bsdnet_config;
This should all be explained in the networking supplement.
Hope this helps,
Angelo Fraietta wrote:
> Thomas Rauscher wrote:
>>> -----Original Message-----
>>> From: Angelo Fraietta [mailto:afraiett at bigpond.net.au] Sent:
>>> Thursday, July 08, 2004 8:46 AM
>>> To: RTEMS Users
>>> Subject: UDP error
>>> I have been sometimes getting an error 105 when sending to the udp. The
>> Error 105 is ENOBUFS. It is returned when mbufs are exhausted
>> (from quite a lot places in the IP stack) or when the ethernet
>> sending queue is full (default limit 50).
>> I think it is one of these two problems.
> How do I increase the buffer size?
More information about the users