netfilter: nf_tables_bridge: export nft_reject_ip*hdr_validate functions
authorAlvaro Neira <alvaroneay@gmail.com>
Wed, 26 Nov 2014 09:21:36 +0000 (10:21 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Nov 2014 11:58:05 +0000 (12:58 +0100)
commit68b0faa87d167ec87ba2a26be62241ad94eb449b
tree19467fee936ffdb3de713ce73ba48c38823288ca
parentc41884ce0562841b98fa9790c9209c9073121a15
netfilter: nf_tables_bridge: export nft_reject_ip*hdr_validate functions

This patch exports the functions nft_reject_iphdr_validate and
nft_reject_ip6hdr_validate to use it in follow up patches.
These functions check if the IPv4/IPv6 header is correct.

Signed-off-by: Alvaro Neira Ayuso <alvaroneay@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables_bridge.h [new file with mode: 0644]
net/bridge/netfilter/nf_tables_bridge.c
net/bridge/netfilter/nft_reject_bridge.c