File:  [ELWIX - Embedded LightWeight unIX -] / fwsync / patches / ipfw_ipfw2_h.patch
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 22 13:01:55 2022 UTC (22 months, 3 weeks ago) by misho
Branches: misho
CVS tags: start, fwsync1_0
FWSync driver

diff --git a/sbin/ipfw/ipfw2.h b/sbin/ipfw/ipfw2.h
index 42e4f477779..673f9152320 100644
--- a/sbin/ipfw/ipfw2.h
+++ b/sbin/ipfw/ipfw2.h
@@ -37,6 +37,7 @@ struct cmdline_opts {
 	int	do_quiet;	/* Be quiet in add and flush */
 	int	do_pipe;	/* this cmd refers to a pipe/queue/sched */
 	int	do_nat; 	/* this cmd refers to a nat config */
+	int	do_sync;	/* this cmd refers to a sync state */
 	int	do_compact;	/* show rules in compact mode */
 	int	do_force;	/* do not ask for confirmation */
 	int	show_sets;	/* display the set each rule belongs to */
@@ -391,6 +392,11 @@ void ipfw_show_nat(int ac, char **av);
 int ipfw_delete_nat(int i);
 void ipfw_config_pipe(int ac, char **av);
 void ipfw_config_nat(int ac, char **av);
+void ipfw_config_sync(int ac, char **av);
+void ipfw_show_sync(int ac, char **av);
+void ipfw_start_sync(int ac, char **av);
+void ipfw_stop_sync(int ac, char **av);
+void ipfw_flush_sync(int ac, char **av);
 void ipfw_sets_handler(char *av[]);
 void ipfw_table_handler(int ac, char *av[]);
 void ipfw_sysctl_handler(char *av[], int which);

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>