Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ipf/tools/
H A Dippool_y.y71 %token <num> YY_NUMBER YY_HEX
190 number: IPT_NUM '=' YY_NUMBER { snprintf(poolname, FR_GROUPLEN, "%u", $3);
202 | IPT_GROUP '=' YY_NUMBER { char tmp[FR_GROUPLEN+1];
358 | YY_NUMBER { $$.in4.s_addr = htonl($1); }
367 mask: YY_NUMBER { if (set_ipv6_addr)
384 size: IPT_SIZE '=' YY_NUMBER { ipht.iph_size = $3; }
387 seed: IPT_SEED '=' YY_NUMBER { ipht.iph_seed = $3; }
390 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.y94 %token <num> YY_NUMBER YY_HEX
356 | hostname '/' YY_NUMBER { if ($1.v == 0)
398 YY_NUMBER { if ($1 > 65535) /* Unsigned */
423 ports: | IPNY_PORTS YY_NUMBER { nat->in_pmin = $2; }
502 | IPNY_ICMPIDMAP YY_STR YY_NUMBER ':' YY_NUMBER
587 | hostname '/' YY_NUMBER { $$.a = $1.a;
668 age: | IPNY_AGE YY_NUMBER { nat->in_age[0] = $2;
670 | IPNY_AGE YY_NUMBER '/' YY_NUMBER { nat->in_age[0] = $2;
684 | IPNY_MSSCLAMP YY_NUMBER { nat->in_mssclamp = $2; }
713 proto: YY_NUMBER { $$ = $1; }
[all …]
H A Dlexer.h15 #define YY_NUMBER 1007 macro
H A Dlexer.c487 rval = YY_NUMBER; in yylex()
531 case YY_NUMBER : in yylex()
610 yytokentype == YY_NUMBER) {