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 (21 months, 3 weeks ago) by misho
Branches: MAIN
CVS tags: fwsync1_2, HEAD, FWSYNC1_1
version 1.1
 - adds list command

    1: diff --git a/sbin/ipfw/ipfw2.h b/sbin/ipfw/ipfw2.h
    2: index dd769998743..4d7d4335bd4 100644
    3: --- a/sbin/ipfw/ipfw2.h
    4: +++ b/sbin/ipfw/ipfw2.h
    5: @@ -42,6 +42,7 @@ struct cmdline_opts {
    6:  	int	do_quiet;	/* Be quiet in add and flush */
    7:  	int	do_pipe;	/* this cmd refers to a pipe/queue/sched */
    8:  	int	do_nat; 	/* this cmd refers to a nat config */
    9: +	int	do_sync;	/* this cmd refers to a sync state */
   10:  	int	do_compact;	/* show rules in compact mode */
   11:  	int	do_force;	/* do not ask for confirmation */
   12:  	int	show_sets;	/* display the set each rule belongs to */
   13: @@ -401,6 +402,12 @@ void ipfw_show_nat(int ac, char **av);
   14:  int ipfw_delete_nat(int i);
   15:  void ipfw_config_pipe(int ac, char **av);
   16:  void ipfw_config_nat(int ac, char **av);
   17: +void ipfw_config_sync(int ac, char **av);
   18: +void ipfw_list_sync(int ac, char **av);
   19: +void ipfw_show_sync(int ac, char **av);
   20: +void ipfw_start_sync(int ac, char **av);
   21: +void ipfw_stop_sync(int ac, char **av);
   22: +void ipfw_flush_sync(int ac, char **av);
   23:  void ipfw_sets_handler(char *av[]);
   24:  void ipfw_table_handler(int ac, char *av[]);
   25:  void ipfw_sysctl_handler(char *av[], int which);

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