Re: Ulog : recvfrom no space available => how do I calculate a good value ?

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

 



2010/1/4 Saikiran Madugula <hummerbliss@xxxxxxxxx>:
> Jean-Michel Hautbois wrote:
>> Hi there !
>>
>> I keep trying to use the ulog/netlink system to receive only the
>> packets I'm interested by and bridging everything else...
>> I have a problem using this, because of a too small buffer ?
>>
>> I am using the recvfrom as the example given on the website, and I am
>> getting a "no space buffer available" when I have packets  about
>> 2Mbits/sec...
> Probably the netlink receive buffer is being overrun, try increasing the netlink
> receive buffer size (see ipulog_create_handle() being called in
> libipulog/ulog_test.c for example).

I have a buffer length of 65536 for the socket... It already seems
high for such a low bandwidth...
Or am I misunderstanding something ?

JM
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux