Lines Matching refs:DOALL
25 #define DOALL(x) for (fr = frc; fr != NULL; fr = fr->fr_next) { x } macro
432 tos: | settos YY_NUMBER { DOALL(fr->fr_tos = $2; fr->fr_mtos = 0xff;) }
433 | settos YY_HEX { DOALL(fr->fr_tos = $2; fr->fr_mtos = 0xff;) }
441 YY_NUMBER { DOALL(fr->fr_tos = $1; fr->fr_mtos = 0xff;) }
450 { DOALL(fr->fr_ttl = $2; fr->fr_mttl = 0xff;) }
493 group: | IPFY_GROUP YY_STR { DOALL(strncpy(fr->fr_group, $2, \
497 | IPFY_GROUP YY_NUMBER { DOALL(sprintf(fr->fr_group, "%d", \
502 head: | IPFY_HEAD YY_STR { DOALL(strncpy(fr->fr_grhead, $2, \
505 | IPFY_HEAD YY_NUMBER { DOALL(sprintf(fr->fr_grhead, "%d", \
523 nattag: IPFY_NAT '=' YY_STR { DOALL(strncpy(fr->fr_nattag.ipt_tag,\
526 | IPFY_NAT '=' YY_NUMBER { DOALL(sprintf(fr->fr_nattag.ipt_tag,\
530 logtag: IPFY_LOG '=' YY_NUMBER { DOALL(fr->fr_logtag = $3;) }
555 pps: | IPFY_PPS YY_NUMBER { DOALL(fr->fr_pps = $2;) }
775 { DOALL(fr->fr_tcpf = $2; fr->fr_tcpfm = FR_TCPFMAX;) }
777 { DOALL(fr->fr_tcpf = $2; fr->fr_tcpfm = $4;) }
779 { DOALL(fr->fr_tcpf = 0; fr->fr_tcpfm = $3;) }
781 { DOALL(fr->fr_tcpf = $2; fr->fr_tcpfm = FR_TCPFMAX;) }
783 { DOALL(fr->fr_tcpf = 0; fr->fr_tcpfm = $3;) }
785 { DOALL(fr->fr_tcpf = $2; fr->fr_tcpfm = $4;) }
787 { DOALL(fr->fr_tcpf = $2; fr->fr_tcpfm = $4;) }
789 { DOALL(fr->fr_tcpf = $2; fr->fr_tcpfm = $4;) }
809 { DOALL(fr->fr_flags |= FR_NOTSRCIP;) }
846 { DOALL(fr->fr_scmp = $1.pc; fr->fr_sport = $1.p1;) }
848 { DOALL(fr->fr_scmp = $1.pc; fr->fr_sport = $1.p1; \
856 { DOALL(fr->fr_scmp = $1.pc; fr->fr_sport = $1.p1;) }
858 { DOALL(fr->fr_scmp = $1.pc; fr->fr_sport = $1.p1; \
874 { DOALL(fr->fr_flags |= FR_NOTDSTIP;) }
912 { DOALL(fr->fr_dcmp = $1.pc; fr->fr_dport = $1.p1;) }
914 { DOALL(fr->fr_dcmp = $1.pc; fr->fr_dport = $1.p1; \
922 { DOALL(fr->fr_dcmp = $1.pc; fr->fr_dport = $1.p1;) }
924 { DOALL(fr->fr_dcmp = $1.pc; fr->fr_dport = $1.p1; \
1156 { DOALL(fr->fr_icmp = htons($2 << 8); fr->fr_icmpm = htons(0xff00););
1168 { DOALL(fr->fr_icmp |= htons($2); fr->fr_icmpm |= htons(0xff););
1192 age: | IPFY_AGE YY_NUMBER { DOALL(fr->fr_age[0] = $2; \
1195 { DOALL(fr->fr_age[0] = $2; \
1206 IPFY_STATE stateoptlist { DOALL(fr->fr_flags |= FR_KEEPSTATE;)}
1210 IPFY_FRAGS fragoptlist { DOALL(fr->fr_flags |= FR_KEEPFRAG;) }
1211 | IPFY_FRAG fragoptlist { DOALL(fr->fr_flags |= FR_KEEPFRAG;) }
1224 IPFY_STRICT { DOALL(fr->fr_flags |= FR_FRSTRICT;) }
1237 IPFY_LIMIT YY_NUMBER { DOALL(fr->fr_statemax = $2;) }
1238 | IPFY_STRICT { DOALL(if (fr->fr_proto != IPPROTO_TCP) { \
1243 | IPFY_NEWISN { DOALL(if (fr->fr_proto != IPPROTO_TCP) { \
1248 | IPFY_NOICMPERR { DOALL(fr->fr_flags |= FR_NOICMPERR;) }
1250 | IPFY_SYNC { DOALL(fr->fr_flags |= FR_STATESYNC;) }
1274 opttype { DOALL(fr->fr_flx |= $1; fr->fr_mflx |= $1;) }
1276 { DOALL(fr->fr_mflx |= $2;) }
1315 ipopts: optlist { DOALL(fr->fr_mip.fi_optmsk |= $1;
1327 ipv6hdrlist { DOALL(fr->fr_mip.fi_optmsk |= $1;
1419 { DOALL(fr->fr_mip.fi_secmsk |= $2;