diff options
author | Patrick McHardy <kaber@trash.net> | 2007-12-18 00:47:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:58:31 -0500 |
commit | b386d9f5960a9afce7f077edf2095fccfbb1a8e6 (patch) | |
tree | c7ccccf204ef62c239a87943c160a3bf25f97895 /include | |
parent | 73cd598df46a73d6f02063f2520df115a9b88aa5 (diff) |
[NETFILTER]: ip_tables: move compat offset calculation to x_tables
Its needed by ip6_tables and arp_tables as well.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/x_tables.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index 8ab754e14ec0..b99ede51318a 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h | |||
@@ -424,6 +424,10 @@ struct compat_xt_counters_info | |||
424 | extern void xt_compat_lock(int af); | 424 | extern void xt_compat_lock(int af); |
425 | extern void xt_compat_unlock(int af); | 425 | extern void xt_compat_unlock(int af); |
426 | 426 | ||
427 | extern int xt_compat_add_offset(int af, unsigned int offset, short delta); | ||
428 | extern void xt_compat_flush_offsets(int af); | ||
429 | extern short xt_compat_calc_jump(int af, unsigned int offset); | ||
430 | |||
427 | extern int xt_compat_match_offset(struct xt_match *match); | 431 | extern int xt_compat_match_offset(struct xt_match *match); |
428 | extern int xt_compat_match_from_user(struct xt_entry_match *m, | 432 | extern int xt_compat_match_from_user(struct xt_entry_match *m, |
429 | void **dstptr, int *size); | 433 | void **dstptr, int *size); |