netfilter: REJECT: separate reusable code
authorEric Leblond <eric@regit.org>
Sun, 29 Dec 2013 11:28:13 +0000 (12:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Dec 2013 14:04:41 +0000 (15:04 +0100)
commitcc70d069e2b9cece683206c0f6a1d1484414e577
treebe91bf60de5839a92b5f9edf9adb156b91e473a0
parent5f291c2869a08a63dbdc9de3e13ac5f2d5ed8d47
netfilter: REJECT: separate reusable code

This patch prepares the addition of TCP reset support in
the nft_reject module by moving reusable code into a header
file.

Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/ipv4/nf_reject.h [new file with mode: 0644]
include/net/netfilter/ipv6/nf_reject.h [new file with mode: 0644]
net/ipv4/netfilter/ipt_REJECT.c
net/ipv6/netfilter/ip6t_REJECT.c