examples/nf-queue: handle recv error, use larger buffer
authorFlorian Westphal <fw@strlen.de>
Fri, 26 Apr 2013 08:21:16 +0000 (10:21 +0200)
committerr.kubiak <r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:06 +0000 (14:12 +0100)
commitc4031fc0fc2e24fd4d4ab6e615709617d5a524f3
treea024ec0008e7f14d754871affe671ae1afb7521a
parent9ceeab6f658301427872e8d18c1b5af5c21d279a
examples/nf-queue: handle recv error, use larger buffer

We ask for 0xffff copy size, so we need a buffer that can
hold 0xffff, plus a few more bytes to allow for netlink attributes.

Also, turn off/handle ENOBUFS.

Signed-off-by: Florian Westphal <fw@strlen.de>
examples/nf-queue.c