Lines Matching refs:yyval

1864   YYSTYPE yyval;  in yyparse()  local
2061 yyval = yyvsp[1-yylen]; in yyparse()
2077 { (yyval.blk).q = qerr; } in yyparse()
2083 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2089 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2095 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2101 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2107 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2113 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2119 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i), in yyparse()
2120 (yyval.blk).q = (yyvsp[-1].blk).q); } in yyparse()
2126 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2132 { (yyval.blk).b = gen_scode((yyvsp[0].s), (yyval.blk).q = (yyvsp[-1].blk).q); } in yyparse()
2138 { (yyval.blk).b = gen_mcode((yyvsp[-2].s), NULL, (yyvsp[0].i), in yyparse()
2139 (yyval.blk).q = (yyvsp[-3].blk).q); } in yyparse()
2145 { (yyval.blk).b = gen_mcode((yyvsp[-2].s), (yyvsp[0].s), 0, in yyparse()
2146 (yyval.blk).q = (yyvsp[-3].blk).q); } in yyparse()
2154 (yyval.blk).q = (yyvsp[-1].blk).q; in yyparse()
2155 if ((yyval.blk).q.addr == Q_PORT) in yyparse()
2157 else if ((yyval.blk).q.addr == Q_PORTRANGE) in yyparse()
2159 else if ((yyval.blk).q.addr == Q_PROTO) in yyparse()
2161 else if ((yyval.blk).q.addr == Q_PROTOCHAIN) in yyparse()
2163 (yyval.blk).b = gen_ncode((yyvsp[0].s), 0, (yyval.blk).q); in yyparse()
2172 (yyval.blk).b = gen_mcode6((yyvsp[-2].s), NULL, (yyvsp[0].i), in yyparse()
2173 (yyval.blk).q = (yyvsp[-3].blk).q); in yyparse()
2186 (yyval.blk).b = gen_mcode6((yyvsp[0].s), 0, 128, in yyparse()
2187 (yyval.blk).q = (yyvsp[-1].blk).q); in yyparse()
2199 (yyval.blk).b = gen_ecode((yyvsp[0].e), (yyval.blk).q = (yyvsp[-1].blk).q); in yyparse()
2213 (yyval.blk).b = gen_acode((yyvsp[0].e), (yyval.blk).q = (yyvsp[-1].blk).q); in yyparse()
2226 { gen_not((yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2232 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2238 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse()
2244 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2250 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2256 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i), in yyparse()
2257 (yyval.blk).q = (yyvsp[-1].blk).q); } in yyparse()
2263 { gen_not((yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2269 { QSET((yyval.blk).q, (yyvsp[-2].i), (yyvsp[-1].i), (yyvsp[0].i)); } in yyparse()
2275 { QSET((yyval.blk).q, (yyvsp[-1].i), (yyvsp[0].i), Q_DEFAULT); } in yyparse()
2281 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, (yyvsp[0].i)); } in yyparse()
2287 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, Q_PROTO); } in yyparse()
2293 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, Q_PROTOCHAIN); } in yyparse()
2299 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, (yyvsp[0].i)); } in yyparse()
2305 { (yyval.blk) = (yyvsp[0].blk); } in yyparse()
2311 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = (yyvsp[-2].blk).q; } in yyparse()
2317 { (yyval.blk).b = gen_proto_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2323 { (yyval.blk).b = gen_relation((yyvsp[-1].i), (yyvsp[-2].a), (yyvsp[0].a), 0); in yyparse()
2324 (yyval.blk).q = qerr; } in yyparse()
2330 { (yyval.blk).b = gen_relation((yyvsp[-1].i), (yyvsp[-2].a), (yyvsp[0].a), 1); in yyparse()
2331 (yyval.blk).q = qerr; } in yyparse()
2337 { (yyval.blk).b = (yyvsp[0].rblk); (yyval.blk).q = qerr; } in yyparse()
2343 { (yyval.blk).b = gen_atmtype_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2349 { (yyval.blk).b = gen_atmmulti_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2355 { (yyval.blk).b = (yyvsp[0].blk).b; (yyval.blk).q = qerr; } in yyparse()
2361 { (yyval.blk).b = gen_mtp2type_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; } in yyparse()
2367 { (yyval.blk).b = (yyvsp[0].blk).b; (yyval.blk).q = qerr; } in yyparse()
2373 { (yyval.i) = Q_DEFAULT; } in yyparse()
2379 { (yyval.i) = Q_SRC; } in yyparse()
2385 { (yyval.i) = Q_DST; } in yyparse()
2391 { (yyval.i) = Q_OR; } in yyparse()
2397 { (yyval.i) = Q_OR; } in yyparse()
2403 { (yyval.i) = Q_AND; } in yyparse()
2409 { (yyval.i) = Q_AND; } in yyparse()
2415 { (yyval.i) = Q_ADDR1; } in yyparse()
2421 { (yyval.i) = Q_ADDR2; } in yyparse()
2427 { (yyval.i) = Q_ADDR3; } in yyparse()
2433 { (yyval.i) = Q_ADDR4; } in yyparse()
2439 { (yyval.i) = Q_RA; } in yyparse()
2445 { (yyval.i) = Q_TA; } in yyparse()
2451 { (yyval.i) = Q_HOST; } in yyparse()
2457 { (yyval.i) = Q_NET; } in yyparse()
2463 { (yyval.i) = Q_PORT; } in yyparse()
2469 { (yyval.i) = Q_PORTRANGE; } in yyparse()
2475 { (yyval.i) = Q_GATEWAY; } in yyparse()
2481 { (yyval.i) = Q_LINK; } in yyparse()
2487 { (yyval.i) = Q_IP; } in yyparse()
2493 { (yyval.i) = Q_ARP; } in yyparse()
2499 { (yyval.i) = Q_RARP; } in yyparse()
2505 { (yyval.i) = Q_SCTP; } in yyparse()
2511 { (yyval.i) = Q_TCP; } in yyparse()
2517 { (yyval.i) = Q_UDP; } in yyparse()
2523 { (yyval.i) = Q_ICMP; } in yyparse()
2529 { (yyval.i) = Q_IGMP; } in yyparse()
2535 { (yyval.i) = Q_IGRP; } in yyparse()
2541 { (yyval.i) = Q_PIM; } in yyparse()
2547 { (yyval.i) = Q_VRRP; } in yyparse()
2553 { (yyval.i) = Q_CARP; } in yyparse()
2559 { (yyval.i) = Q_ATALK; } in yyparse()
2565 { (yyval.i) = Q_AARP; } in yyparse()
2571 { (yyval.i) = Q_DECNET; } in yyparse()
2577 { (yyval.i) = Q_LAT; } in yyparse()
2583 { (yyval.i) = Q_SCA; } in yyparse()
2589 { (yyval.i) = Q_MOPDL; } in yyparse()
2595 { (yyval.i) = Q_MOPRC; } in yyparse()
2601 { (yyval.i) = Q_IPV6; } in yyparse()
2607 { (yyval.i) = Q_ICMPV6; } in yyparse()
2613 { (yyval.i) = Q_AH; } in yyparse()
2619 { (yyval.i) = Q_ESP; } in yyparse()
2625 { (yyval.i) = Q_ISO; } in yyparse()
2631 { (yyval.i) = Q_ESIS; } in yyparse()
2637 { (yyval.i) = Q_ISIS; } in yyparse()
2643 { (yyval.i) = Q_ISIS_L1; } in yyparse()
2649 { (yyval.i) = Q_ISIS_L2; } in yyparse()
2655 { (yyval.i) = Q_ISIS_IIH; } in yyparse()
2661 { (yyval.i) = Q_ISIS_LSP; } in yyparse()
2667 { (yyval.i) = Q_ISIS_SNP; } in yyparse()
2673 { (yyval.i) = Q_ISIS_PSNP; } in yyparse()
2679 { (yyval.i) = Q_ISIS_CSNP; } in yyparse()
2685 { (yyval.i) = Q_CLNP; } in yyparse()
2691 { (yyval.i) = Q_STP; } in yyparse()
2697 { (yyval.i) = Q_IPX; } in yyparse()
2703 { (yyval.i) = Q_NETBEUI; } in yyparse()
2709 { (yyval.i) = Q_RADIO; } in yyparse()
2715 { (yyval.rblk) = gen_broadcast((yyvsp[-1].i)); } in yyparse()
2721 { (yyval.rblk) = gen_multicast((yyvsp[-1].i)); } in yyparse()
2727 { (yyval.rblk) = gen_less((yyvsp[0].i)); } in yyparse()
2733 { (yyval.rblk) = gen_greater((yyvsp[0].i)); } in yyparse()
2739 { (yyval.rblk) = gen_byteop((yyvsp[-1].i), (yyvsp[-2].i), (yyvsp[0].i)); } in yyparse()
2745 { (yyval.rblk) = gen_inbound(0); } in yyparse()
2751 { (yyval.rblk) = gen_inbound(1); } in yyparse()
2757 { (yyval.rblk) = gen_vlan((yyvsp[0].i)); } in yyparse()
2763 { (yyval.rblk) = gen_vlan(-1); } in yyparse()
2769 { (yyval.rblk) = gen_mpls((yyvsp[0].i)); } in yyparse()
2775 { (yyval.rblk) = gen_mpls(-1); } in yyparse()
2781 { (yyval.rblk) = gen_pppoed(); } in yyparse()
2787 { (yyval.rblk) = gen_pppoes((yyvsp[0].i)); } in yyparse()
2793 { (yyval.rblk) = gen_pppoes(-1); } in yyparse()
2799 { (yyval.rblk) = gen_geneve((yyvsp[0].i)); } in yyparse()
2805 { (yyval.rblk) = gen_geneve(-1); } in yyparse()
2811 { (yyval.rblk) = (yyvsp[0].rblk); } in yyparse()
2817 { (yyval.rblk) = (yyvsp[0].rblk); } in yyparse()
2823 { (yyval.rblk) = (yyvsp[0].rblk); } in yyparse()
2829 { (yyval.rblk) = gen_pf_ifname((yyvsp[0].s)); } in yyparse()
2835 { (yyval.rblk) = gen_pf_ruleset((yyvsp[0].s)); } in yyparse()
2841 { (yyval.rblk) = gen_pf_rnr((yyvsp[0].i)); } in yyparse()
2847 { (yyval.rblk) = gen_pf_srnr((yyvsp[0].i)); } in yyparse()
2853 { (yyval.rblk) = gen_pf_reason((yyvsp[0].i)); } in yyparse()
2859 { (yyval.rblk) = gen_pf_action((yyvsp[0].i)); } in yyparse()
2865 { (yyval.rblk) = gen_p80211_type((yyvsp[-2].i) | (yyvsp[0].i), in yyparse()
2874 { (yyval.rblk) = gen_p80211_type((yyvsp[0].i), in yyparse()
2882 { (yyval.rblk) = gen_p80211_type((yyvsp[0].i), in yyparse()
2891 { (yyval.rblk) = gen_p80211_fcdir((yyvsp[0].i)); } in yyparse()
2897 { (yyval.i) = str2tok((yyvsp[0].s), ieee80211_types); in yyparse()
2898 if ((yyval.i) == -1) in yyparse()
2920 (yyval.i) = str2tok((yyvsp[0].s), types); in yyparse()
2921 if ((yyval.i) == -1) in yyparse()
2936 (yyval.i) = str2tok((yyvsp[0].s), ieee80211_type_subtypes[i].tok); in yyparse()
2937 if ((yyval.i) != -1) { in yyparse()
2938 (yyval.i) |= ieee80211_type_subtypes[i].type; in yyparse()
2948 { (yyval.rblk) = gen_llc(); } in yyparse()
2955 (yyval.rblk) = gen_llc_i(); in yyparse()
2957 (yyval.rblk) = gen_llc_s(); in yyparse()
2959 (yyval.rblk) = gen_llc_u(); in yyparse()
2965 (yyval.rblk) = gen_llc_s_subtype(subtype); in yyparse()
2970 (yyval.rblk) = gen_llc_u_subtype(subtype); in yyparse()
2979 { (yyval.rblk) = gen_llc_s_subtype(LLC_RNR); } in yyparse()
2986 (yyval.i) = IEEE80211_FC1_DIR_NODS; in yyparse()
2988 (yyval.i) = IEEE80211_FC1_DIR_TODS; in yyparse()
2990 (yyval.i) = IEEE80211_FC1_DIR_FROMDS; in yyparse()
2992 (yyval.i) = IEEE80211_FC1_DIR_DSTODS; in yyparse()
3001 { (yyval.i) = (yyvsp[0].i); } in yyparse()
3007 { (yyval.i) = pfreason_to_num((yyvsp[0].s)); } in yyparse()
3013 { (yyval.i) = pfaction_to_num((yyvsp[0].s)); } in yyparse()
3019 { (yyval.i) = BPF_JGT; } in yyparse()
3025 { (yyval.i) = BPF_JGE; } in yyparse()
3031 { (yyval.i) = BPF_JEQ; } in yyparse()
3037 { (yyval.i) = BPF_JGT; } in yyparse()
3043 { (yyval.i) = BPF_JGE; } in yyparse()
3049 { (yyval.i) = BPF_JEQ; } in yyparse()
3055 { (yyval.a) = gen_loadi((yyvsp[0].i)); } in yyparse()
3061 { (yyval.a) = gen_load((yyvsp[-3].i), (yyvsp[-1].a), 1); } in yyparse()
3067 { (yyval.a) = gen_load((yyvsp[-5].i), (yyvsp[-3].a), (yyvsp[-1].i)); } in yyparse()
3073 { (yyval.a) = gen_arth(BPF_ADD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3079 { (yyval.a) = gen_arth(BPF_SUB, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3085 { (yyval.a) = gen_arth(BPF_MUL, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3091 { (yyval.a) = gen_arth(BPF_DIV, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3097 { (yyval.a) = gen_arth(BPF_MOD, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3103 { (yyval.a) = gen_arth(BPF_AND, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3109 { (yyval.a) = gen_arth(BPF_OR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3115 { (yyval.a) = gen_arth(BPF_XOR, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3121 { (yyval.a) = gen_arth(BPF_LSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3127 { (yyval.a) = gen_arth(BPF_RSH, (yyvsp[-2].a), (yyvsp[0].a)); } in yyparse()
3133 { (yyval.a) = gen_neg((yyvsp[0].a)); } in yyparse()
3139 { (yyval.a) = (yyvsp[-1].a); } in yyparse()
3145 { (yyval.a) = gen_loadlen(); } in yyparse()
3151 { (yyval.i) = '&'; } in yyparse()
3157 { (yyval.i) = '|'; } in yyparse()
3163 { (yyval.i) = '<'; } in yyparse()
3169 { (yyval.i) = '>'; } in yyparse()
3175 { (yyval.i) = '='; } in yyparse()
3181 { (yyval.i) = (yyvsp[-1].i); } in yyparse()
3187 { (yyval.i) = A_LANE; } in yyparse()
3193 { (yyval.i) = A_METAC; } in yyparse()
3199 { (yyval.i) = A_BCC; } in yyparse()
3205 { (yyval.i) = A_OAMF4EC; } in yyparse()
3211 { (yyval.i) = A_OAMF4SC; } in yyparse()
3217 { (yyval.i) = A_SC; } in yyparse()
3223 { (yyval.i) = A_ILMIC; } in yyparse()
3229 { (yyval.i) = A_OAM; } in yyparse()
3235 { (yyval.i) = A_OAMF4; } in yyparse()
3241 { (yyval.i) = A_CONNECTMSG; } in yyparse()
3247 { (yyval.i) = A_METACONNECT; } in yyparse()
3253 { (yyval.blk).atmfieldtype = A_VPI; } in yyparse()
3259 { (yyval.blk).atmfieldtype = A_VCI; } in yyparse()
3265 …{ (yyval.blk).b = gen_atmfield_code((yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf_u_… in yyparse()
3271 …{ (yyval.blk).b = gen_atmfield_code((yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf_u_… in yyparse()
3277 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = qerr; } in yyparse()
3284 (yyval.blk).atmfieldtype = (yyvsp[-1].blk).atmfieldtype; in yyparse()
3285 if ((yyval.blk).atmfieldtype == A_VPI || in yyparse()
3286 (yyval.blk).atmfieldtype == A_VCI) in yyparse()
3287 (yyval.blk).b = gen_atmfield_code((yyval.blk).atmfieldtype, (bpf_int32) (yyvsp[0].i), BPF_JEQ, 0); in yyparse()
3294 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
3300 { (yyval.i) = M_FISU; } in yyparse()
3306 { (yyval.i) = M_LSSU; } in yyparse()
3312 { (yyval.i) = M_MSU; } in yyparse()
3318 { (yyval.i) = MH_FISU; } in yyparse()
3324 { (yyval.i) = MH_LSSU; } in yyparse()
3330 { (yyval.i) = MH_MSU; } in yyparse()
3336 { (yyval.blk).mtp3fieldtype = M_SIO; } in yyparse()
3342 { (yyval.blk).mtp3fieldtype = M_OPC; } in yyparse()
3348 { (yyval.blk).mtp3fieldtype = M_DPC; } in yyparse()
3354 { (yyval.blk).mtp3fieldtype = M_SLS; } in yyparse()
3360 { (yyval.blk).mtp3fieldtype = MH_SIO; } in yyparse()
3366 { (yyval.blk).mtp3fieldtype = MH_OPC; } in yyparse()
3372 { (yyval.blk).mtp3fieldtype = MH_DPC; } in yyparse()
3378 { (yyval.blk).mtp3fieldtype = MH_SLS; } in yyparse()
3384 …{ (yyval.blk).b = gen_mtp3field_code((yyvsp[-2].blk).mtp3fieldtype, (u_int)(yyvsp[0].i), (u_int)(y… in yyparse()
3390 …{ (yyval.blk).b = gen_mtp3field_code((yyvsp[-2].blk).mtp3fieldtype, (u_int)(yyvsp[0].i), (u_int)(y… in yyparse()
3396 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = qerr; } in yyparse()
3403 (yyval.blk).mtp3fieldtype = (yyvsp[-1].blk).mtp3fieldtype; in yyparse()
3404 if ((yyval.blk).mtp3fieldtype == M_SIO || in yyparse()
3405 (yyval.blk).mtp3fieldtype == M_OPC || in yyparse()
3406 (yyval.blk).mtp3fieldtype == M_DPC || in yyparse()
3407 (yyval.blk).mtp3fieldtype == M_SLS || in yyparse()
3408 (yyval.blk).mtp3fieldtype == MH_SIO || in yyparse()
3409 (yyval.blk).mtp3fieldtype == MH_OPC || in yyparse()
3410 (yyval.blk).mtp3fieldtype == MH_DPC || in yyparse()
3411 (yyval.blk).mtp3fieldtype == MH_SLS) in yyparse()
3412 (yyval.blk).b = gen_mtp3field_code((yyval.blk).mtp3fieldtype, (u_int) (yyvsp[0].i), BPF_JEQ, 0); in yyparse()
3419 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse()
3438 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); in yyparse()
3444 *++yyvsp = yyval; in yyparse()