#define IP6T_SO_GET_REVISION_TARGET 69
#endif /* IP6T_SO_GET_REVISION_MATCH Old kernel source */
-#define ip6tables_rule_match xtables_rule_match
#define ip6t_tryload xt_tryload
extern int line;
#define IPT_SO_GET_REVISION_TARGET (IPT_BASE_CTL + 3)
#endif /* IPT_SO_GET_REVISION_MATCH Old kernel source */
-#define iptables_rule_match xtables_rule_match
#define ipt_tryload xt_tryload
extern int line;
}
static void
-exit_printhelp(struct ip6tables_rule_match *matches)
+exit_printhelp(struct xtables_rule_match *matches)
{
- struct ip6tables_rule_match *matchp = NULL;
+ struct xtables_rule_match *matchp = NULL;
struct xtables_target *t = NULL;
printf("%s v%s\n\n"
/* Christophe Burki wants `-p 6' to imply `-m tcp'. */
static struct xtables_match *
find_proto(const char *pname, enum xtables_tryload tryload,
- int nolookup, struct ip6tables_rule_match **matches)
+ int nolookup, struct xtables_rule_match **matches)
{
unsigned int proto;
}
static unsigned char *
-make_delete_mask(struct ip6t_entry *fw, struct ip6tables_rule_match *matches)
+make_delete_mask(struct ip6t_entry *fw, struct xtables_rule_match *matches)
{
/* Establish mask for comparison */
unsigned int size;
- struct ip6tables_rule_match *matchp;
+ struct xtables_rule_match *matchp;
unsigned char *mask, *mptr;
size = sizeof(struct ip6t_entry);
const struct in6_addr daddrs[],
int verbose,
struct ip6tc_handle *handle,
- struct ip6tables_rule_match *matches)
+ struct xtables_rule_match *matches)
{
unsigned int i, j;
int ret = 1;
static struct ip6t_entry *
generate_entry(const struct ip6t_entry *fw,
- struct ip6tables_rule_match *matches,
+ struct xtables_rule_match *matches,
struct ip6t_entry_target *target)
{
unsigned int size;
- struct ip6tables_rule_match *matchp;
+ struct xtables_rule_match *matchp;
struct ip6t_entry *e;
size = sizeof(struct ip6t_entry);
return e;
}
-static void clear_rule_matches(struct ip6tables_rule_match **matches)
+static void clear_rule_matches(struct xtables_rule_match **matches)
{
- struct ip6tables_rule_match *matchp, *tmp;
+ struct xtables_rule_match *matchp, *tmp;
for (matchp = *matches; matchp;) {
tmp = matchp->next;
const char *pcnt = NULL, *bcnt = NULL;
int ret = 1;
struct xtables_match *m;
- struct ip6tables_rule_match *matches = NULL;
- struct ip6tables_rule_match *matchp;
+ struct xtables_rule_match *matches = NULL;
+ struct xtables_rule_match *matchp;
struct xtables_target *target = NULL;
struct xtables_target *t;
const char *jumpto = "";
}
static void
-exit_printhelp(struct iptables_rule_match *matches)
+exit_printhelp(struct xtables_rule_match *matches)
{
- struct iptables_rule_match *matchp = NULL;
+ struct xtables_rule_match *matchp = NULL;
struct xtables_target *t = NULL;
printf("%s v%s\n\n"
/* Christophe Burki wants `-p 6' to imply `-m tcp'. */
static struct xtables_match *
find_proto(const char *pname, enum xtables_tryload tryload,
- int nolookup, struct iptables_rule_match **matches)
+ int nolookup, struct xtables_rule_match **matches)
{
unsigned int proto;
}
static unsigned char *
-make_delete_mask(struct ipt_entry *fw, struct iptables_rule_match *matches)
+make_delete_mask(struct ipt_entry *fw, struct xtables_rule_match *matches)
{
/* Establish mask for comparison */
unsigned int size;
- struct iptables_rule_match *matchp;
+ struct xtables_rule_match *matchp;
unsigned char *mask, *mptr;
size = sizeof(struct ipt_entry);
const struct in_addr daddrs[],
int verbose,
struct iptc_handle *handle,
- struct iptables_rule_match *matches)
+ struct xtables_rule_match *matches)
{
unsigned int i, j;
int ret = 1;
static struct ipt_entry *
generate_entry(const struct ipt_entry *fw,
- struct iptables_rule_match *matches,
+ struct xtables_rule_match *matches,
struct ipt_entry_target *target)
{
unsigned int size;
- struct iptables_rule_match *matchp;
+ struct xtables_rule_match *matchp;
struct ipt_entry *e;
size = sizeof(struct ipt_entry);
return e;
}
-static void clear_rule_matches(struct iptables_rule_match **matches)
+static void clear_rule_matches(struct xtables_rule_match **matches)
{
- struct iptables_rule_match *matchp, *tmp;
+ struct xtables_rule_match *matchp, *tmp;
for (matchp = *matches; matchp;) {
tmp = matchp->next;
const char *pcnt = NULL, *bcnt = NULL;
int ret = 1;
struct xtables_match *m;
- struct iptables_rule_match *matches = NULL;
- struct iptables_rule_match *matchp;
+ struct xtables_rule_match *matches = NULL;
+ struct xtables_rule_match *matchp;
struct xtables_target *target = NULL;
struct xtables_target *t;
const char *jumpto = "";