netfilter: xt_NFQUEUE: separate reusable code
authorEric Leblond <eric@regit.org>
Thu, 5 Dec 2013 23:24:12 +0000 (00:24 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 7 Dec 2013 22:20:45 +0000 (23:20 +0100)
This patch prepares the addition of nft_queue module by moving
reusable code into a header file.

This patch also converts NFQUEUE to use prandom_u32 to initialize
the random jhash seed as suggested by Florian Westphal.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found