![Alvaro Neira](/assets/img/avatar_default.png)
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>
8 lines
208 B
C
8 lines
208 B
C
#ifndef _NET_NF_TABLES_BRIDGE_H
|
|
#define _NET_NF_TABLES_BRIDGE_H
|
|
|
|
int nft_bridge_iphdr_validate(struct sk_buff *skb);
|
|
int nft_bridge_ip6hdr_validate(struct sk_buff *skb);
|
|
|
|
#endif /* _NET_NF_TABLES_BRIDGE_H */
|