Lines Matching refs:yyvsp
1513 yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, void *yyscanner, compiler_state_t… in yy_reduce_print() argument
1526 &(yyvsp[(yyi + 1) - (yynrhs)]) in yy_reduce_print()
1535 yy_reduce_print (yyssp, yyvsp, Rule, yyscanner, cstate); \
1849 YYSTYPE *yyvsp; in yyparse() local
1868 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) in yyparse()
1875 yyvsp = yyvs = yyvsa; in yyparse()
1916 &yyvs1, yysize * sizeof (*yyvsp), in yyparse()
1949 yyvsp = yyvs + yysize - 1; in yyparse()
2025 *++yyvsp = yylval; in yyparse()
2056 yyval = yyvsp[1-yylen]; in yyparse()
2065 finish_parse(cstate, (yyvsp[0].blk).b); in yyparse()
2078 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2084 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2090 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2096 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2102 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2108 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2114 { (yyval.blk).b = gen_ncode(cstate, NULL, (bpf_u_int32)(yyvsp[0].i), in yyparse()
2115 (yyval.blk).q = (yyvsp[-1].blk).q); } in yyparse()
2121 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2127 { (yyval.blk).b = gen_scode(cstate, (yyvsp[0].s), (yyval.blk).q = (yyvsp[-1].blk).q); } in yyparse()
2133 { (yyval.blk).b = gen_mcode(cstate, (yyvsp[-2].s), NULL, (yyvsp[0].i), in yyparse()
2134 (yyval.blk).q = (yyvsp[-3].blk).q); } in yyparse()
2140 { (yyval.blk).b = gen_mcode(cstate, (yyvsp[-2].s), (yyvsp[0].s), 0, in yyparse()
2141 (yyval.blk).q = (yyvsp[-3].blk).q); } in yyparse()
2149 (yyval.blk).q = (yyvsp[-1].blk).q; in yyparse()
2158 (yyval.blk).b = gen_ncode(cstate, (yyvsp[0].s), 0, (yyval.blk).q); in yyparse()
2167 (yyval.blk).b = gen_mcode6(cstate, (yyvsp[-2].s), NULL, (yyvsp[0].i), in yyparse()
2168 (yyval.blk).q = (yyvsp[-3].blk).q); in yyparse()
2181 (yyval.blk).b = gen_mcode6(cstate, (yyvsp[0].s), 0, 128, in yyparse()
2182 (yyval.blk).q = (yyvsp[-1].blk).q); in yyparse()
2194 (yyval.blk).b = gen_ecode(cstate, (yyvsp[0].e), (yyval.blk).q = (yyvsp[-1].blk).q); in yyparse()
2200 free((yyvsp[0].e)); in yyparse()
2208 (yyval.blk).b = gen_acode(cstate, (yyvsp[0].e), (yyval.blk).q = (yyvsp[-1].blk).q); in yyparse()
2214 free((yyvsp[0].e)); in yyparse()
2221 { gen_not((yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2227 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2233 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2239 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2245 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2251 { (yyval.blk).b = gen_ncode(cstate, NULL, (bpf_u_int32)(yyvsp[0].i), in yyparse()
2252 (yyval.blk).q = (yyvsp[-1].blk).q); } in yyparse()
2258 { gen_not((yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2264 { QSET((yyval.blk).q, (yyvsp[-2].i), (yyvsp[-1].i), (yyvsp[0].i)); } in yyparse()
2270 { QSET((yyval.blk).q, (yyvsp[-1].i), (yyvsp[0].i), Q_DEFAULT); } in yyparse()
2276 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, (yyvsp[0].i)); } in yyparse()
2282 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, Q_PROTO); } in yyparse()
2288 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, Q_PROTOCHAIN); } in yyparse()
2294 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, (yyvsp[0].i)); } in yyparse()
2300 { (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2306 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = (yyvsp[-2].blk).q; } in yyparse()
2312 { (yyval.blk).b = gen_proto_abbrev(cstate, (yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2318 { (yyval.blk).b = gen_relation(cstate, (yyvsp[-1].i), (yyvsp[-2].a), (yyvsp[0].a), 0); in yyparse()
2325 { (yyval.blk).b = gen_relation(cstate, (yyvsp[-1].i), (yyvsp[-2].a), (yyvsp[0].a), 1); in yyparse()
2332 { (yyval.blk).b = (yyvsp[0].rblk); (yyval.blk).q = qerr; } in yyparse()
2338 { (yyval.blk).b = gen_atmtype_abbrev(cstate, (yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2344 { (yyval.blk).b = gen_atmmulti_abbrev(cstate, (yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2350 { (yyval.blk).b = (yyvsp[0].blk).b; (yyval.blk).q = qerr; } in yyparse()
2356 { (yyval.blk).b = gen_mtp2type_abbrev(cstate, (yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2362 { (yyval.blk).b = (yyvsp[0].blk).b; (yyval.blk).q = qerr; } in yyparse()
2710 { (yyval.rblk) = gen_broadcast(cstate, (yyvsp[-1].i)); } in yyparse()
2716 { (yyval.rblk) = gen_multicast(cstate, (yyvsp[-1].i)); } in yyparse()
2722 { (yyval.rblk) = gen_less(cstate, (yyvsp[0].i)); } in yyparse()
2728 { (yyval.rblk) = gen_greater(cstate, (yyvsp[0].i)); } in yyparse()
2734 { (yyval.rblk) = gen_byteop(cstate, (yyvsp[-1].i), (yyvsp[-2].i), (yyvsp[0].i)); } in yyparse()
2752 { (yyval.rblk) = gen_vlan(cstate, (yyvsp[0].i)); } in yyparse()
2764 { (yyval.rblk) = gen_mpls(cstate, (yyvsp[0].i)); } in yyparse()
2782 { (yyval.rblk) = gen_pppoes(cstate, (yyvsp[0].i)); } in yyparse()
2794 { (yyval.rblk) = gen_geneve(cstate, (yyvsp[0].i)); } in yyparse()
2806 { (yyval.rblk) = (yyvsp[0].rblk); } in yyparse()
2812 { (yyval.rblk) = (yyvsp[0].rblk); } in yyparse()
2818 { (yyval.rblk) = (yyvsp[0].rblk); } in yyparse()
2824 { (yyval.rblk) = gen_pf_ifname(cstate, (yyvsp[0].s)); } in yyparse()
2830 { (yyval.rblk) = gen_pf_ruleset(cstate, (yyvsp[0].s)); } in yyparse()
2836 { (yyval.rblk) = gen_pf_rnr(cstate, (yyvsp[0].i)); } in yyparse()
2842 { (yyval.rblk) = gen_pf_srnr(cstate, (yyvsp[0].i)); } in yyparse()
2848 { (yyval.rblk) = gen_pf_reason(cstate, (yyvsp[0].i)); } in yyparse()
2854 { (yyval.rblk) = gen_pf_action(cstate, (yyvsp[0].i)); } in yyparse()
2860 { (yyval.rblk) = gen_p80211_type(cstate, (yyvsp[-2].i) | (yyvsp[0].i), in yyparse()
2869 { (yyval.rblk) = gen_p80211_type(cstate, (yyvsp[0].i), in yyparse()
2877 { (yyval.rblk) = gen_p80211_type(cstate, (yyvsp[0].i), in yyparse()
2886 { (yyval.rblk) = gen_p80211_fcdir(cstate, (yyvsp[0].i)); } in yyparse()
2892 { (yyval.i) = str2tok((yyvsp[0].s), ieee80211_types); in yyparse()
2909 if ((yyvsp[(-1) - (1)].i) == ieee80211_type_subtypes[i].type) { in yyparse()
2915 (yyval.i) = str2tok((yyvsp[0].s), types); in yyparse()
2931 (yyval.i) = str2tok((yyvsp[0].s), ieee80211_type_subtypes[i].tok); in yyparse()
2949 { if (pcap_strcasecmp((yyvsp[0].s), "i") == 0) in yyparse()
2951 else if (pcap_strcasecmp((yyvsp[0].s), "s") == 0) in yyparse()
2953 else if (pcap_strcasecmp((yyvsp[0].s), "u") == 0) in yyparse()
2958 subtype = str2tok((yyvsp[0].s), llc_s_subtypes); in yyparse()
2962 subtype = str2tok((yyvsp[0].s), llc_u_subtypes); in yyparse()
2964 bpf_error(cstate, "unknown LLC type name \"%s\"", (yyvsp[0].s)); in yyparse()
2980 { if (pcap_strcasecmp((yyvsp[0].s), "nods") == 0) in yyparse()
2982 else if (pcap_strcasecmp((yyvsp[0].s), "tods") == 0) in yyparse()
2984 else if (pcap_strcasecmp((yyvsp[0].s), "fromds") == 0) in yyparse()
2986 else if (pcap_strcasecmp((yyvsp[0].s), "dstods") == 0) in yyparse()
2996 { (yyval.i) = (yyvsp[0].i); } in yyparse()
3002 { (yyval.i) = pfreason_to_num(cstate, (yyvsp[0].s)); } in yyparse()
3008 { (yyval.i) = pfaction_to_num(cstate, (yyvsp[0].s)); } in yyparse()
3050 { (yyval.a) = gen_loadi(cstate, (yyvsp[0].i)); } in yyparse()
3056 { (yyval.a) = gen_load(cstate, (yyvsp[-3].i), (yyvsp[-1].a), 1); } in yyparse()
3062 { (yyval.a) = gen_load(cstate, (yyvsp[-5].i), (yyvsp[-3].a), (yyvsp[-1].i)); } in yyparse()
3068 { (yyval.a) = gen_arth(cstate, BPF_ADD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3074 { (yyval.a) = gen_arth(cstate, BPF_SUB, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3080 { (yyval.a) = gen_arth(cstate, BPF_MUL, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3086 { (yyval.a) = gen_arth(cstate, BPF_DIV, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3092 { (yyval.a) = gen_arth(cstate, BPF_MOD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3098 { (yyval.a) = gen_arth(cstate, BPF_AND, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3104 { (yyval.a) = gen_arth(cstate, BPF_OR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3110 { (yyval.a) = gen_arth(cstate, BPF_XOR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3116 { (yyval.a) = gen_arth(cstate, BPF_LSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3122 { (yyval.a) = gen_arth(cstate, BPF_RSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3128 { (yyval.a) = gen_neg(cstate, (yyvsp[0].a)); } in yyparse()
3134 { (yyval.a) = (yyvsp[-1].a); } in yyparse()
3176 { (yyval.i) = (yyvsp[-1].i); } in yyparse()
3260 …val.blk).b = gen_atmfield_code(cstate, (yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf… in yyparse()
3266 …val.blk).b = gen_atmfield_code(cstate, (yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf… in yyparse()
3272 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = qerr; } in yyparse()
3279 (yyval.blk).atmfieldtype = (yyvsp[-1].blk).atmfieldtype; in yyparse()
3282 …(yyval.blk).b = gen_atmfield_code(cstate, (yyval.blk).atmfieldtype, (bpf_int32) (yyvsp[0].i), BPF_… in yyparse()
3289 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
3379 …(yyval.blk).b = gen_mtp3field_code(cstate, (yyvsp[-2].blk).mtp3fieldtype, (u_int)(yyvsp[0].i), (u_… in yyparse()
3385 …(yyval.blk).b = gen_mtp3field_code(cstate, (yyvsp[-2].blk).mtp3fieldtype, (u_int)(yyvsp[0].i), (u_… in yyparse()
3391 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = qerr; } in yyparse()
3398 (yyval.blk).mtp3fieldtype = (yyvsp[-1].blk).mtp3fieldtype; in yyparse()
3407 …(yyval.blk).b = gen_mtp3field_code(cstate, (yyval.blk).mtp3fieldtype, (u_int) (yyvsp[0].i), BPF_JE… in yyparse()
3414 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
3439 *++yyvsp = yyval; in yyparse()
3576 yystos[yystate], yyvsp, yyscanner, cstate); in yyparse()
3583 *++yyvsp = yylval; in yyparse()
3588 YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); in yyparse()
3634 yystos[*yyssp], yyvsp, yyscanner, cstate); in yyparse()