Changeset View
Changeset View
Standalone View
Standalone View
sbin/ipfw/ipfw2.h
Show All 31 Lines | |||||
struct cmdline_opts { | struct cmdline_opts { | ||||
/* boolean options: */ | /* boolean options: */ | ||||
int do_value_as_ip; /* show table value as IP */ | int do_value_as_ip; /* show table value as IP */ | ||||
int do_resolv; /* try to resolve all ip to names */ | int do_resolv; /* try to resolve all ip to names */ | ||||
int do_time; /* Show time stamps */ | int do_time; /* Show time stamps */ | ||||
int do_quiet; /* Be quiet in add and flush */ | int do_quiet; /* Be quiet in add and flush */ | ||||
int do_pipe; /* this cmd refers to a pipe/queue/sched */ | int do_pipe; /* this cmd refers to a pipe/queue/sched */ | ||||
int do_nat; /* this cmd refers to a nat config */ | int do_nat; /* this cmd refers to a nat config */ | ||||
int do_dynamic; /* display dynamic rules */ | |||||
int do_expired; /* display expired dynamic rules */ | |||||
int do_compact; /* show rules in compact mode */ | int do_compact; /* show rules in compact mode */ | ||||
int do_force; /* do not ask for confirmation */ | int do_force; /* do not ask for confirmation */ | ||||
int show_sets; /* display the set each rule belongs to */ | int show_sets; /* display the set each rule belongs to */ | ||||
int test_only; /* only check syntax */ | int test_only; /* only check syntax */ | ||||
int comment_only; /* only print action and comment */ | int comment_only; /* only print action and comment */ | ||||
int verbose; /* be verbose on some commands */ | int verbose; /* be verbose on some commands */ | ||||
/* The options below can have multiple values. */ | /* The options below can have multiple values. */ | ||||
int do_dynamic; /* 1 - display dynamic rules */ | |||||
/* 2 - display/delete only dynamic rules */ | |||||
int do_sort; /* field to sort results (0 = no) */ | int do_sort; /* field to sort results (0 = no) */ | ||||
/* valid fields are 1 and above */ | /* valid fields are 1 and above */ | ||||
int use_set; /* work with specified set number */ | int use_set; /* work with specified set number */ | ||||
/* 0 means all sets, otherwise apply to set use_set - 1 */ | /* 0 means all sets, otherwise apply to set use_set - 1 */ | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines |