File:  [ELWIX - Embedded LightWeight unIX -] / fwsync / patches / ipfw_ipfw2_h.patch
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Fri Aug 26 14:47:36 2022 UTC (20 months ago) by misho
Branches: MAIN
CVS tags: fwsync1_2, HEAD, FWSYNC1_1
version 1.1
 - adds list command

diff --git a/sbin/ipfw/ipfw2.h b/sbin/ipfw/ipfw2.h
index dd769998743..4d7d4335bd4 100644
--- a/sbin/ipfw/ipfw2.h
+++ b/sbin/ipfw/ipfw2.h
@@ -42,6 +42,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 */
@@ -401,6 +402,12 @@ 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_list_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>