Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9ecdafd8
Commit
9ecdafd8
authored
Oct 13, 2010
by
Jan Engelhardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netfilter: xtables: remove unused defines
Signed-off-by:
Jan Engelhardt
<
jengelh@medozas.de
>
parent
75f0a0fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_arp/arp_tables.h
+0
-4
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv4/ip_tables.h
+0
-4
include/linux/netfilter_ipv6/ip6_tables.h
include/linux/netfilter_ipv6/ip6_tables.h
+0
-4
No files found.
include/linux/netfilter_arp/arp_tables.h
View file @
9ecdafd8
...
@@ -255,8 +255,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb,
...
@@ -255,8 +255,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb,
const
struct
net_device
*
out
,
const
struct
net_device
*
out
,
struct
xt_table
*
table
);
struct
xt_table
*
table
);
#define ARPT_ALIGN(s) XT_ALIGN(s)
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
#include <net/compat.h>
#include <net/compat.h>
...
@@ -275,8 +273,6 @@ compat_arpt_get_target(struct compat_arpt_entry *e)
...
@@ -275,8 +273,6 @@ compat_arpt_get_target(struct compat_arpt_entry *e)
return
(
void
*
)
e
+
e
->
target_offset
;
return
(
void
*
)
e
+
e
->
target_offset
;
}
}
#define COMPAT_ARPT_ALIGN(s) COMPAT_XT_ALIGN(s)
#endif
/* CONFIG_COMPAT */
#endif
/* CONFIG_COMPAT */
#endif
/*__KERNEL__*/
#endif
/*__KERNEL__*/
#endif
/* _ARPTABLES_H */
#endif
/* _ARPTABLES_H */
include/linux/netfilter_ipv4/ip_tables.h
View file @
9ecdafd8
...
@@ -282,8 +282,6 @@ extern unsigned int ipt_do_table(struct sk_buff *skb,
...
@@ -282,8 +282,6 @@ extern unsigned int ipt_do_table(struct sk_buff *skb,
const
struct
net_device
*
out
,
const
struct
net_device
*
out
,
struct
xt_table
*
table
);
struct
xt_table
*
table
);
#define IPT_ALIGN(s) XT_ALIGN(s)
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
#include <net/compat.h>
#include <net/compat.h>
...
@@ -304,8 +302,6 @@ compat_ipt_get_target(struct compat_ipt_entry *e)
...
@@ -304,8 +302,6 @@ compat_ipt_get_target(struct compat_ipt_entry *e)
return
(
void
*
)
e
+
e
->
target_offset
;
return
(
void
*
)
e
+
e
->
target_offset
;
}
}
#define COMPAT_IPT_ALIGN(s) COMPAT_XT_ALIGN(s)
#endif
/* CONFIG_COMPAT */
#endif
/* CONFIG_COMPAT */
#endif
/*__KERNEL__*/
#endif
/*__KERNEL__*/
#endif
/* _IPTABLES_H */
#endif
/* _IPTABLES_H */
include/linux/netfilter_ipv6/ip6_tables.h
View file @
9ecdafd8
...
@@ -292,8 +292,6 @@ extern int ip6t_ext_hdr(u8 nexthdr);
...
@@ -292,8 +292,6 @@ extern int ip6t_ext_hdr(u8 nexthdr);
extern
int
ipv6_find_hdr
(
const
struct
sk_buff
*
skb
,
unsigned
int
*
offset
,
extern
int
ipv6_find_hdr
(
const
struct
sk_buff
*
skb
,
unsigned
int
*
offset
,
int
target
,
unsigned
short
*
fragoff
);
int
target
,
unsigned
short
*
fragoff
);
#define IP6T_ALIGN(s) XT_ALIGN(s)
#ifdef CONFIG_COMPAT
#ifdef CONFIG_COMPAT
#include <net/compat.h>
#include <net/compat.h>
...
@@ -313,8 +311,6 @@ compat_ip6t_get_target(struct compat_ip6t_entry *e)
...
@@ -313,8 +311,6 @@ compat_ip6t_get_target(struct compat_ip6t_entry *e)
return
(
void
*
)
e
+
e
->
target_offset
;
return
(
void
*
)
e
+
e
->
target_offset
;
}
}
#define COMPAT_IP6T_ALIGN(s) COMPAT_XT_ALIGN(s)
#endif
/* CONFIG_COMPAT */
#endif
/* CONFIG_COMPAT */
#endif
/*__KERNEL__*/
#endif
/*__KERNEL__*/
#endif
/* _IP6_TABLES_H */
#endif
/* _IP6_TABLES_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment