mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 13:44:56 +02:00
compat_xtables: remove unused function declarations
This commit is contained in:
@@ -1,14 +1,9 @@
|
|||||||
#ifndef _COMPAT_XTNU_H
|
#ifndef _COMPAT_XTNU_H
|
||||||
#define _COMPAT_XTNU_H 1
|
#define _COMPAT_XTNU_H 1
|
||||||
|
|
||||||
#include <linux/list.h>
|
|
||||||
#include <linux/netfilter/x_tables.h>
|
#include <linux/netfilter/x_tables.h>
|
||||||
#include <linux/spinlock.h>
|
|
||||||
|
|
||||||
struct flowi;
|
|
||||||
struct module;
|
struct module;
|
||||||
struct net_device;
|
|
||||||
struct rtable;
|
|
||||||
struct sk_buff;
|
struct sk_buff;
|
||||||
|
|
||||||
struct xtnu_match {
|
struct xtnu_match {
|
||||||
@@ -58,9 +53,7 @@ static inline struct xtnu_target *xtcompat_nutarget(const struct xt_target *t)
|
|||||||
return q;
|
return q;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern int xtnu_ip_local_out(struct sk_buff *);
|
|
||||||
extern int xtnu_register_match(struct xtnu_match *);
|
extern int xtnu_register_match(struct xtnu_match *);
|
||||||
extern int xtnu_ip_route_output_key(void *, struct rtable **, struct flowi *);
|
|
||||||
extern void xtnu_unregister_match(struct xtnu_match *);
|
extern void xtnu_unregister_match(struct xtnu_match *);
|
||||||
extern int xtnu_register_matches(struct xtnu_match *, unsigned int);
|
extern int xtnu_register_matches(struct xtnu_match *, unsigned int);
|
||||||
extern void xtnu_unregister_matches(struct xtnu_match *, unsigned int);
|
extern void xtnu_unregister_matches(struct xtnu_match *, unsigned int);
|
||||||
@@ -68,12 +61,6 @@ extern int xtnu_register_target(struct xtnu_target *);
|
|||||||
extern void xtnu_unregister_target(struct xtnu_target *);
|
extern void xtnu_unregister_target(struct xtnu_target *);
|
||||||
extern int xtnu_register_targets(struct xtnu_target *, unsigned int);
|
extern int xtnu_register_targets(struct xtnu_target *, unsigned int);
|
||||||
extern void xtnu_unregister_targets(struct xtnu_target *, unsigned int);
|
extern void xtnu_unregister_targets(struct xtnu_target *, unsigned int);
|
||||||
extern void xtnu_proto_csum_replace4(__u16 __bitwise *, struct sk_buff *,
|
|
||||||
__be32, __be32, bool);
|
|
||||||
extern int xtnu_ipv6_skip_exthdr(const struct sk_buff *, int,
|
|
||||||
uint8_t *, __be16 *);
|
|
||||||
extern int xtnu_ipv6_find_hdr(const struct sk_buff *, unsigned int *,
|
|
||||||
int, unsigned short *, int *);
|
|
||||||
|
|
||||||
extern void *HX_memmem(const void *, size_t, const void *, size_t);
|
extern void *HX_memmem(const void *, size_t, const void *, size_t);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user