IPTABLES_VERSION);
}
-static struct option opts[] = {
- { 0 }
-};
-
/* Initialize the target. */
static void
init(struct ip6t_entry_target *t, unsigned int *nfcache)
.final_check = &final_check,
.print = NULL, /* print */
.save = NULL, /* save */
- .extra_opts = opts
};
void _init(void)
"\n", IPTABLES_VERSION);
}
-static struct option opts[] = {
- {0}
-};
-
/* Function which parses command options; returns true if it
ate an option */
static int
.final_check = &final_check,
.print = &print,
.save = &save,
- .extra_opts = opts,
};
void _init(void)
IPTABLES_VERSION);
}
-static struct option opts[] = {
- { 0 }
-};
-
/* Initialize the target. */
static void
init(struct xt_entry_target *t, unsigned int *nfcache)
.final_check = &final_check,
.print = NULL,
.save = NULL,
- .extra_opts = opts
};
void _init(void)
IPTABLES_VERSION);
}
-static struct option opts[] = {
- { 0 }
-};
-
/* Initialize the target. */
static void
init(struct ipt_entry_target *t, unsigned int *nfcache)
.final_check = &final_check,
.print = NULL, /* print */
.save = NULL, /* save */
- .extra_opts = opts
};
void _init(void)
"\n", IPTABLES_VERSION);
}
-static struct option opts[] = {
- {0}
-};
-
/* Function which parses command options; returns true if it
ate an option */
static int
.final_check = &final_check,
.print = NULL,
.save = NULL,
- .extra_opts = opts
};
void _init(void)
IPTABLES_VERSION);
}
-static struct option opts[] = {
- { 0 }
-};
-
/* Initialize the target. */
static void
init(struct xt_entry_target *t, unsigned int *nfcache)
.init = &init,
.parse = &parse,
.final_check = &final_check,
- .extra_opts = opts,
};
static
.init = &init,
.parse = &parse,
.final_check = &final_check,
- .extra_opts = opts,
};
void _init(void)
"(If target is DROP, ACCEPT, RETURN or nothing)\n", IPTABLES_VERSION);
}
-static struct option opts[] = {
- {0}
-};
-
/* Initialize the target. */
static void
init(struct xt_entry_target *t, unsigned int *nfcache)
.final_check = &final_check,
.print = NULL,
.save = &save,
- .extra_opts = opts
};
static
.final_check = &final_check,
.print = NULL,
.save = &save,
- .extra_opts = opts
};
void _init(void)
unsigned int num_old, num_new, i;
struct option *merge;
+ if (newopts == NULL)
+ return oldopts;
+
for (num_old = 0; oldopts[num_old].name; num_old++);
for (num_new = 0; newopts[num_new].name; num_new++);
unsigned int num_old, num_new, i;
struct option *merge;
+ if (newopts == NULL)
+ return oldopts;
+
for (num_old = 0; oldopts[num_old].name; num_old++);
for (num_new = 0; newopts[num_new].name; num_new++);