On Wed, Apr 19, 2017 at 11:45:21PM +0200, Florian Westphal wrote: > Oleg <lego12239@xxxxxxxxx> wrote: > > Can anybody tell me how can i determine a right buf size for recv() > > in libnetfilter_queue program. > > > > http://www.netfilter.org/projects/libnetfilter_queue/doxygen/group__Queue.html#gae36aee5b74d0c88d2f8530e356f68b79 > > > > tells nothing about this. > > I'd suggest a 80k buffer to be on safe side. My computations give my 70k buffer, but 80k is also suitable. Thanks. -- Олег Неманов (Oleg Nemanov) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html