scrub_opts
scrubrule : scrubaction dir logquick interface af proto fromto scrub_opts
scrub_opts : {
bzero(&scrub_opts, sizeof scrub_opts);
scrub_opts.rtableid = -1;
{ $$ = scrub_opts; }
bzero(&scrub_opts, sizeof scrub_opts);
scrub_opts.rtableid = -1;
$$ = scrub_opts;
if (scrub_opts.nodf) {
scrub_opts.nodf = 1;
if (scrub_opts.marker & FOM_MINTTL) {
scrub_opts.marker |= FOM_MINTTL;
scrub_opts.minttl = $2;
if (scrub_opts.marker & FOM_MAXMSS) {
scrub_opts.marker |= FOM_MAXMSS;
scrub_opts.maxmss = $2;
if (scrub_opts.marker & FOM_SETTOS) {
scrub_opts.marker |= FOM_SETTOS;
scrub_opts.settos = $2;
if (scrub_opts.marker & FOM_FRAGCACHE) {
scrub_opts.marker |= FOM_FRAGCACHE;
scrub_opts.fragcache = $1;
if (scrub_opts.reassemble_tcp) {
scrub_opts.reassemble_tcp = 1;
if (scrub_opts.randomid) {
scrub_opts.randomid = 1;
scrub_opts.rtableid = $2;
scrub_opts.match_tag = $3;
scrub_opts.match_tag_not = $1;
| SCRUB '(' scrub_opts ')' {
} scrub_opts;
struct scrub_opts scrub_opts;
%type <v.scrub_opts> scrub_opts scrub_opt scrub_opts_l