Home | History | Annotate | Download | only in libpcap

Lines Matching defs:yyvsp

1630 yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
1633 yy_reduce_print (yyvsp, yyrule)
1634 YYSTYPE *yyvsp;
1648 &(yyvsp[(yyi + 1) - (yynrhs)])
1657 yy_reduce_print (yyvsp, Rule); \
2029 YYSTYPE *yyvsp;
2048 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
2071 yyvsp = yyvs;
2105 &yyvs1, yysize * sizeof (*yyvsp),
2138 yyvsp = yyvs + yysize - 1;
2213 *++yyvsp = yylval;
2243 yyval = yyvsp[1-yylen];
2254 finish_parse((yyvsp[(2) - (2)].blk).b);
2269 { gen_and((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
2276 { gen_and((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
2283 { gen_or((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
2290 { gen_or((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
2297 { (yyval.blk) = (yyvsp[(0) - (1)].blk); }
2304 { (yyval.blk) = (yyvsp[(0) - (1)].blk); }
2311 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[(1) - (1)].i),
2312 (yyval.blk).q = (yyvsp[(0) - (1)].blk).q); }
2319 { (yyval.blk) = (yyvsp[(2) - (3)].blk); }
2326 { (yyval.blk).b = gen_scode((yyvsp[(1) - (1)].s), (yyval.blk).q = (yyvsp[(0) - (1)].blk).q); }
2333 { (yyval.blk).b = gen_mcode((yyvsp[(1) - (3)].s), NULL, (yyvsp[(3) - (3)].i),
2334 (yyval.blk).q = (yyvsp[(0) - (3)].blk).q); }
2341 { (yyval.blk).b = gen_mcode((yyvsp[(1) - (3)].s), (yyvsp[(3) - (3)].s), 0,
2342 (yyval.blk).q = (yyvsp[(0) - (3)].blk).q); }
2351 (yyval.blk).q = (yyvsp[(0) - (1)].blk).q;
2360 (yyval.blk).b = gen_ncode((yyvsp[(1) - (1)].s), 0, (yyval.blk).q);
2370 (yyval.blk).b = gen_mcode6((yyvsp[(1) - (3)].s), NULL, (yyvsp[(3) - (3)].i),
2371 (yyval.blk).q = (yyvsp[(0) - (3)].blk).q);
2385 (yyval.blk).b = gen_mcode6((yyvsp[(1) - (1)].s), 0, 128,
2386 (yyval.blk).q = (yyvsp[(0) - (1)].blk).q);
2399 (yyval.blk).b = gen_ecode((yyvsp[(1) - (1)].e), (yyval.blk).q = (yyvsp[(0) - (1)].blk).q);
2405 free((yyvsp[(1) - (1)].e));
2414 (yyval.blk).b = gen_acode((yyvsp[(1) - (1)].e), (yyval.blk).q = (yyvsp[(0) - (1)].blk).q);
2420 free((yyvsp[(1) - (1)].e));
2428 { gen_not((yyvsp[(2) - (2)].blk).b); (yyval.blk) = (yyvsp[(2) - (2)].blk); }
2435 { (yyval.blk) = (yyvsp[(0) - (1)].blk); }
2442 { (yyval.blk) = (yyvsp[(0) - (1)].blk); }
2449 { gen_and((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
2456 { gen_or((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
2463 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[(1) - (1)].i),
2464 (yyval.blk).q = (yyvsp[(0) - (1)].blk).q); }
2471 { gen_not((yyvsp[(2) - (2)].blk).b); (yyval.blk) = (yyvsp[(2) - (2)].blk); }
2478 { QSET((yyval.blk).q, (yyvsp[(1) - (3)].i), (yyvsp[(2) - (3)].i), (yyvsp[(3) - (3)].i)); }
2485 { QSET((yyval.blk).q, (yyvsp[(1) - (2)].i), (yyvsp[(2) - (2)].i), Q_DEFAULT); }
2492 { QSET((yyval.blk).q, (yyvsp[(1) - (2)].i), Q_DEFAULT, (yyvsp[(2) - (2)].i)); }
2499 { QSET((yyval.blk).q, (yyvsp[(1) - (2)].i), Q_DEFAULT, Q_PROTO); }
2506 { QSET((yyval.blk).q, (yyvsp[(1) - (2)].i), Q_DEFAULT, Q_PROTOCHAIN); }
2513 { QSET((yyval.blk).q, (yyvsp[(1) - (2)].i), Q_DEFAULT, (yyvsp[(2) - (2)].i)); }
2520 { (yyval.blk) = (yyvsp[(2) - (2)].blk); }
2527 { (yyval.blk).b = (yyvsp[(2) - (3)].blk).b; (yyval.blk).q = (yyvsp[(1) - (3)].blk).q; }
2534 { (yyval.blk).b = gen_proto_abbrev((yyvsp[(1) - (1)].i)); (yyval.blk).q = qerr; }
2541 { (yyval.blk).b = gen_relation((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a), 0);
2549 { (yyval.blk).b = gen_relation((yyvsp[(2) - (3)].i), (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a), 1);
2557 { (yyval.blk).b = (yyvsp[(1) - (1)].rblk); (yyval.blk).q = qerr; }
2564 { (yyval.blk).b = gen_atmtype_abbrev((yyvsp[(1) - (1)].i)); (yyval.blk).q = qerr; }
2571 { (yyval.blk).b = gen_atmmulti_abbrev((yyvsp[(1) - (1)].i)); (yyval.blk).q = qerr; }
2578 { (yyval.blk).b = (yyvsp[(2) - (2)].blk).b; (yyval.blk).q = qerr; }
2585 { (yyval.blk).b = gen_mtp2type_abbrev((yyvsp[(1) - (1)].i)); (yyval.blk).q = qerr; }
2592 { (yyval.blk).b = (yyvsp[(2) - (2)].blk).b; (yyval.blk).q = qerr; }
2998 { (yyval.rblk) = gen_broadcast((yyvsp[(1) - (2)].i)); }
3005 { (yyval.rblk) = gen_multicast((yyvsp[(1) - (2)].i)); }
3012 { (yyval.rblk) = gen_less((yyvsp[(2) - (2)].i)); }
3019 { (yyval.rblk) = gen_greater((yyvsp[(2) - (2)].i)); }
3026 { (yyval.rblk) = gen_byteop((yyvsp[(3) - (4)].i), (yyvsp[(2) - (4)].i), (yyvsp[(4) - (4)].i)); }
3047 { (yyval.rblk) = gen_vlan((yyvsp[(2) - (2)].i)); }
3061 { (yyval.rblk) = gen_mpls((yyvsp[(2) - (2)].i)); }
3082 { (yyval.rblk) = gen_pppoes((yyvsp[(2) - (2)].i)); }
3096 { (yyval.rblk) = (yyvsp[(1) - (1)].rblk); }
3103 { (yyval.rblk) = (yyvsp[(2) - (2)].rblk); }
3110 { (yyval.rblk) = gen_pf_ifname((yyvsp[(2) - (2)].s)); }
3117 { (yyval.rblk) = gen_pf_ruleset((yyvsp[(2) - (2)].s)); }
3124 { (yyval.rblk) = gen_pf_rnr((yyvsp[(2) - (2)].i)); }
3131 { (yyval.rblk) = gen_pf_srnr((yyvsp[(2) - (2)].i)); }
3138 { (yyval.rblk) = gen_pf_reason((yyvsp[(2) - (2)].i)); }
3145 { (yyval.rblk) = gen_pf_action((yyvsp[(2) - (2)].i)); }
3152 { (yyval.rblk) = gen_p80211_type((yyvsp[(2) - (4)].i) | (yyvsp[(4) - (4)].i),
3162 { (yyval.rblk) = gen_p80211_type((yyvsp[(2) - (2)].i),
3171 { (yyval.rblk) = gen_p80211_type((yyvsp[(2) - (2)].i),
3181 { (yyval.rblk) = gen_p80211_fcdir((yyvsp[(2) - (2)].i)); }
3188 { (yyval.i) = str2tok((yyvsp[(1) - (1)].s), ieee80211_types);
3206 if ((yyvsp[(-1) - (1)].i) == ieee80211_type_subtypes[i].type) {
3212 (yyval.i) = str2tok((yyvsp[(1) - (1)].s), types);
3229 (yyval.i) = str2tok((yyvsp[(1) - (1)].s), ieee80211_type_subtypes[i].tok);
3242 { if (pcap_strcasecmp((yyvsp[(1) - (1)].s), "nods") == 0)
3244 else if (pcap_strcasecmp((yyvsp[(1) - (1)].s), "tods") == 0)
3246 else if (pcap_strcasecmp((yyvsp[(1) - (1)].s), "fromds") == 0)
3248 else if (pcap_strcasecmp((yyvsp[(1) - (1)].s), "dstods") == 0)
3259 { (yyval.i) = (yyvsp[(1) - (1)].i); }
3266 { (yyval.i) = pfreason_to_num((yyvsp[(1) - (1)].s)); }
3273 { (yyval.i) = pfaction_to_num((yyvsp[(1) - (1)].s)); }
3322 { (yyval.a) = gen_loadi((yyvsp[(1) - (1)].i)); }
3329 { (yyval.a) = gen_load((yyvsp[(1) - (4)].i), (yyvsp[(3) - (4)].a), 1); }
3336 { (yyval.a) = gen_load((yyvsp[(1) - (6)].i), (yyvsp[(3) - (6)].a), (yyvsp[(5) - (6)].i)); }
3343 { (yyval.a) = gen_arth(BPF_ADD, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3350 { (yyval.a) = gen_arth(BPF_SUB, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3357 { (yyval.a) = gen_arth(BPF_MUL, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3364 { (yyval.a) = gen_arth(BPF_DIV, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3371 { (yyval.a) = gen_arth(BPF_AND, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3378 { (yyval.a) = gen_arth(BPF_OR, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3385 { (yyval.a) = gen_arth(BPF_LSH, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3392 { (yyval.a) = gen_arth(BPF_RSH, (yyvsp[(1) - (3)].a), (yyvsp[(3) - (3)].a)); }
3399 { (yyval.a) = gen_neg((yyvsp[(2) - (2)].a)); }
3406 { (yyval.a) = (yyvsp[(2) - (3)].a); }
3455 { (yyval.i) = (yyvsp[(2) - (3)].i); }
3560 { (yyval.blk).b = gen_atmfield_code((yyvsp[(0) - (2)].blk).atmfieldtype, (bpf_int32)(yyvsp[(2) - (2)].i), (bpf_u_int32)(yyvsp[(1) - (2)].i), 0); }
3567 { (yyval.blk).b = gen_atmfield_code((yyvsp[(0) - (2)].blk).atmfieldtype, (bpf_int32)(yyvsp[(2) - (2)].i), (bpf_u_int32)(yyvsp[(1) - (2)].i), 1); }
3574 { (yyval.blk).b = (yyvsp[(2) - (3)].blk).b; (yyval.blk).q = qerr; }
3582 (yyval.blk).atmfieldtype = (yyvsp[(0) - (1)].blk).atmfieldtype;
3585 (yyval.blk).b = gen_atmfield_code((yyval.blk).atmfieldtype, (bpf_int32) (yyvsp[(1) - (1)].i), BPF_JEQ, 0);
3593 { gen_or((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
3698 { (yyval.blk).b = gen_mtp3field_code((yyvsp[(0) - (2)].blk).mtp3fieldtype, (u_int)(yyvsp[(2) - (2)].i), (u_int)(yyvsp[(1) - (2)].i), 0); }
3705 { (yyval.blk).b = gen_mtp3field_code((yyvsp[(0) - (2)].blk).mtp3fieldtype, (u_int)(yyvsp[(2) - (2)].i), (u_int)(yyvsp[(1) - (2)].i), 1); }
3712 { (yyval.blk).b = (yyvsp[(2) - (3)].blk).b; (yyval.blk).q = qerr; }
3720 (yyval.blk).mtp3fieldtype = (yyvsp[(0) - (1)].blk).mtp3fieldtype;
3729 (yyval.blk).b = gen_mtp3field_code((yyval.blk).mtp3fieldtype, (u_int) (yyvsp[(1) - (1)].i), BPF_JEQ, 0);
3737 { gen_or((yyvsp[(1) - (3)].blk).b, (yyvsp[(3) - (3)].blk).b); (yyval.blk) = (yyvsp[(3) - (3)].blk); }
3763 *++yyvsp = yyval;
3900 yystos[yystate], yyvsp);
3906 *++yyvsp = yylval;
3910 YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
3956 yystos[*yyssp], yyvsp);