Lines Matching refs:DOREM
26 #define DOREM(x) for (; fr != NULL; fr = fr->fr_next) { x } macro
442 | YY_HEX { DOREM(fr->fr_tos = $1; fr->fr_mtos = 0xff;) }
444 { DOREM(fr->fr_tos = $3; fr->fr_mtos = 0xff;) }
446 { DOREM(fr->fr_tos = $3; fr->fr_mtos = 0xff;) }
477 YY_NUMBER { DOREM(fr->fr_ttl = $1; fr->fr_mttl = 0xff;) }
479 { DOREM(fr->fr_ttl = $3; fr->fr_mttl = 0xff;) }
710 YY_NUMBER { DOREM(fr->fr_proto = $1; \
713 DOREM(fr->fr_flx |= FI_TCPUDP; \
719 DOREM(fr->fr_proto = p; \
727 DOREM(fr->fr_flx |= FI_TCPUDP; \
813 addr { DOREM(bcopy(&($1.a), &fr->fr_ip.fi_src, sizeof($1.a)); \
825 addr { DOREM(bcopy(&($1.a), &fr->fr_ip.fi_src, sizeof($1.a)); \
834 { DOREM(bcopy(&($3.a), &fr->fr_ip.fi_src, sizeof($3.a)); \
865 portnum { DOREM(fr->fr_scmp = FR_EQUAL; fr->fr_sport = $1;) }
867 { DOREM(fr->fr_scmp = FR_EQUAL; fr->fr_sport = $3;) }
878 addr { DOREM(bcopy(&($1.a), &fr->fr_ip.fi_dst, sizeof($1.a)); \
890 addr { DOREM(bcopy(&($1.a), &fr->fr_ip.fi_dst, sizeof($1.a)); \
899 { DOREM(bcopy(&($3.a), &fr->fr_ip.fi_dst, sizeof($3.a)); \
931 portnum { DOREM(fr->fr_dcmp = FR_EQUAL; fr->fr_dport = $1;) }
933 { DOREM(fr->fr_dcmp = FR_EQUAL; fr->fr_dport = $3;) }
1180 { DOREM(fr->fr_icmp = htons($1 << 8); fr->fr_icmpm = htons(0xff00);) }
1182 { DOREM(fr->fr_icmp = htons($3 << 8); fr->fr_icmpm = htons(0xff00);) }
1187 { DOREM(fr->fr_icmp |= htons($1); fr->fr_icmpm |= htons(0xff);) }
1189 { DOREM(fr->fr_icmp |= htons($3); fr->fr_icmpm |= htons(0xff);) }