Home
last modified time | relevance | path

Searched refs:YY_NUMBER (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool_y.y69 %token <num> YY_NUMBER YY_HEX
188 number: IPT_NUM '=' YY_NUMBER { snprintf(poolname, FR_GROUPLEN, "%u", $3);
200 | IPT_GROUP '=' YY_NUMBER { char tmp[FR_GROUPLEN+1];
356 | YY_NUMBER { $$.in4.s_addr = htonl($1); }
365 mask: YY_NUMBER { if (set_ipv6_addr)
382 size: IPT_SIZE '=' YY_NUMBER { ipht.iph_size = $3; }
385 seed: IPT_SEED '=' YY_NUMBER { ipht.iph_seed = $3; }
388 ipv4: YY_NUMBER '.' YY_NUMBER '.' YY_NUMBER '.' YY_NUMBER
H A Dipmon_y.y47 %token <num> YY_NUMBER YY_HEX
131 dstip: IPM_DSTIP '=' ipv4 '/' YY_NUMBER { $$ = new_opt(IPM_DSTIP);
137 IPM_DSTPORT '=' YY_NUMBER { $$ = new_opt(IPM_DSTPORT);
145 | IPM_EVERY YY_NUMBER IPM_SECONDS { $$ = new_opt(IPM_SECOND);
149 | IPM_EVERY YY_NUMBER IPM_PACKETS { $$ = new_opt(IPM_PACKET);
153 group: IPM_GROUP '=' YY_NUMBER { $$ = new_opt(IPM_GROUP);
164 logtag: IPM_LOGTAG '=' YY_NUMBER { $$ = new_opt(IPM_LOGTAG);
173 IPM_PROTOCOL '=' YY_NUMBER { $$ = new_opt(IPM_PROTOCOL);
185 rule: IPM_RULE '=' YY_NUMBER { $$ = new_opt(IPM_RULE);
186 $$->o_num = YY_NUMBER; }
[all …]
H A Dipf_y.y114 %token <num> YY_NUMBER YY_HEX
292 '@' YY_NUMBER { fr->fr_hits = (U_QUAD_T)$2 + 1; }
296 | YY_NUMBER { fr->fr_collect = $1; }
304 | IPFY_SKIP YY_NUMBER { fr->fr_flags |= FR_SKIP;
334 func: YY_STR '/' YY_NUMBER { fr->fr_func = nametokva($1,
432 tos: | settos YY_NUMBER { DOALL(fr->fr_tos = $2; fr->fr_mtos = 0xff;) }
441 YY_NUMBER { DOALL(fr->fr_tos = $1; fr->fr_mtos = 0xff;) }
443 | toslist lmore YY_NUMBER
449 ttl: | setttl YY_NUMBER
477 YY_NUMBER { DOREM(fr->fr_ttl = $1; fr->fr_mttl = 0xff;) }
[all …]
H A Dipnat_y.y92 %token <num> YY_NUMBER YY_HEX
354 | hostname '/' YY_NUMBER { if ($1.v == 0)
396 YY_NUMBER { if ($1 > 65535) /* Unsigned */
421 ports: | IPNY_PORTS YY_NUMBER { nat->in_pmin = $2; }
500 | IPNY_ICMPIDMAP YY_STR YY_NUMBER ':' YY_NUMBER
585 | hostname '/' YY_NUMBER { $$.a = $1.a;
666 age: | IPNY_AGE YY_NUMBER { nat->in_age[0] = $2;
668 | IPNY_AGE YY_NUMBER '/' YY_NUMBER { nat->in_age[0] = $2;
682 | IPNY_MSSCLAMP YY_NUMBER { nat->in_mssclamp = $2; }
711 proto: YY_NUMBER { $$ = $1; }
[all …]
H A Dlexer.h17 #define YY_NUMBER 1007 macro
H A Dlexer.c481 rval = YY_NUMBER; in yylex()
524 case YY_NUMBER : in yylex()
602 yytokentype == YY_NUMBER) { in yyerror()