Lines Matching defs:yyval
1588 YYSTYPE yyval;
1784 Otherwise, the following line sets YYVAL to garbage.
1786 users should not rely upon it. Assigning to YYVAL
1788 GCC warning that YYVAL may be used uninitialized. */
1789 yyval = yyvsp[1-yylen];
1804 { (yyval.blk).q = qerr; }
1809 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1814 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1819 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1824 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1829 { (yyval.blk) = (yyvsp[-1].blk); }
1834 { (yyval.blk) = (yyvsp[-1].blk); }
1839 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i),
1840 (yyval.blk).q = (yyvsp[-1].blk).q); }
1845 { (yyval.blk) = (yyvsp[-1].blk); }
1850 { (yyval.blk).b = gen_scode((yyvsp[0].s), (yyval.blk).q = (yyvsp[-1].blk).q); }
1855 { (yyval.blk).b = gen_mcode((yyvsp[-2].s), NULL, (yyvsp[0].i),
1856 (yyval.blk).q = (yyvsp[-3].blk).q); }
1861 { (yyval.blk).b = gen_mcode((yyvsp[-2].s), (yyvsp[0].s), 0,
1862 (yyval.blk).q = (yyvsp[-3].blk).q); }
1869 (yyval.blk).q = (yyvsp[-1].blk).q;
1870 (yyval.blk).b = gen_ncode((yyvsp[0].s), 0, (yyval.blk).q);
1878 (yyval.blk).b = gen_mcode6((yyvsp[-2].s), NULL, (yyvsp[0].i),
1879 (yyval.blk).q = (yyvsp[-3].blk).q);
1891 (yyval.blk).b = gen_mcode6((yyvsp[0].s), 0, 128,
1892 (yyval.blk).q = (yyvsp[-1].blk).q);
1903 (yyval.blk).b = gen_ecode((yyvsp[0].e), (yyval.blk).q = (yyvsp[-1].blk).q);
1916 (yyval.blk).b = gen_acode((yyvsp[0].e), (yyval.blk).q = (yyvsp[-1].blk).q);
1928 { gen_not((yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1933 { (yyval.blk) = (yyvsp[-1].blk); }
1938 { (yyval.blk) = (yyvsp[-1].blk); }
1943 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1948 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1953 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i),
1954 (yyval.blk).q = (yyvsp[-1].blk).q); }
1959 { gen_not((yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
1964 { QSET((yyval.blk).q, (yyvsp[-2].i), (yyvsp[-1].i), (yyvsp[0].i)); }
1969 { QSET((yyval.blk).q, (yyvsp[-1].i), (yyvsp[0].i), Q_DEFAULT); }
1974 yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, (yyvsp[0].i)); }
1979 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, Q_PROTO); }
1984 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, Q_PROTOCHAIN); }
1989 { QSET((yyval.blk).q, (yyvsp[-1].i), Q_DEFAULT, (yyvsp[0].i)); }
1994 { (yyval.blk) = (yyvsp[0].blk); }
1999 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = (yyvsp[-2].blk).q; }
2004 { (yyval.blk).b = gen_proto_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; }
2009 { (yyval.blk).b = gen_relation((yyvsp[-1].i), (yyvsp[-2].a), (yyvsp[0].a), 0);
2010 (yyval.blk).q = qerr; }
2015 { (yyval.blk).b = gen_relation((yyvsp[-1].i), (yyvsp[-2].a), (yyvsp[0].a), 1);
2016 (yyval.blk).q = qerr; }
2021 { (yyval.blk).b = (yyvsp[0].rblk); (yyval.blk).q = qerr; }
2026 { (yyval.blk).b = gen_atmtype_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; }
2031 { (yyval.blk).b = gen_atmmulti_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; }
2036 { (yyval.blk).b = (yyvsp[0].blk).b; (yyval.blk).q = qerr; }
2041 { (yyval.blk).b = gen_mtp2type_abbrev((yyvsp[0].i)); (yyval.blk).q = qerr; }
2046 { (yyval.blk).b = (yyvsp[0].blk).b; (yyval.blk).q = qerr; }
2051 { (yyval.i) = Q_DEFAULT; }
2056 { (yyval.i) = Q_SRC; }
2061 { (yyval.i) = Q_DST; }
2066 { (yyval.i) = Q_OR; }
2071 { (yyval.i) = Q_OR; }
2076 { (yyval.i) = Q_AND; }
2081 { (yyval.i) = Q_AND; }
2086 { (yyval.i) = Q_HOST; }
2091 { (yyval.i) = Q_NET; }
2096 { (yyval.i) = Q_PORT; }
2101 { (yyval.i) = Q_PORTRANGE; }
2106 { (yyval.i) = Q_GATEWAY; }
2111 { (yyval.i) = Q_LINK; }
2116 { (yyval.i) = Q_IP; }
2121 { (yyval.i) = Q_ARP; }
2126 { (yyval.i) = Q_RARP; }
2131 { (yyval.i) = Q_SCTP; }
2136 { (yyval.i) = Q_TCP; }
2141 { (yyval.i) = Q_UDP; }
2146 { (yyval.i) = Q_ICMP; }
2151 { (yyval.i) = Q_IGMP; }
2156 { (yyval.i) = Q_IGRP; }
2161 { (yyval.i) = Q_PIM; }
2166 { (yyval.i) = Q_VRRP; }
2171 { (yyval.i) = Q_ATALK; }
2176 { (yyval.i) = Q_AARP; }
2181 { (yyval.i) = Q_DECNET; }
2186 { (yyval.i) = Q_LAT; }
2191 { (yyval.i) = Q_SCA; }
2196 { (yyval.i) = Q_MOPDL; }
2201 { (yyval.i) = Q_MOPRC; }
2206 { (yyval.i) = Q_IPV6; }
2211 { (yyval.i) = Q_ICMPV6; }
2216 { (yyval.i) = Q_AH; }
2221 { (yyval.i) = Q_ESP; }
2226 { (yyval.i) = Q_ISO; }
2231 { (yyval.i) = Q_ESIS; }
2236 { (yyval.i) = Q_ISIS; }
2241 { (yyval.i) = Q_ISIS_L1; }
2246 { (yyval.i) = Q_ISIS_L2; }
2251 { (yyval.i) = Q_ISIS_IIH; }
2256 { (yyval.i) = Q_ISIS_LSP; }
2261 { (yyval.i) = Q_ISIS_SNP; }
2266 { (yyval.i) = Q_ISIS_PSNP; }
2271 { (yyval.i) = Q_ISIS_CSNP; }
2276 { (yyval.i) = Q_CLNP; }
2281 { (yyval.i) = Q_STP; }
2286 { (yyval.i) = Q_IPX; }
2291 { (yyval.i) = Q_NETBEUI; }
2296 { (yyval.i) = Q_RADIO; }
2301 { (yyval.rblk) = gen_broadcast((yyvsp[-1].i)); }
2306 { (yyval.rblk) = gen_multicast((yyvsp[-1].i)); }
2311 { (yyval.rblk) = gen_less((yyvsp[0].i)); }
2316 { (yyval.rblk) = gen_greater((yyvsp[0].i)); }
2321 { (yyval.rblk) = gen_byteop((yyvsp[-1].i), (yyvsp[-2].i), (yyvsp[0].i)); }
2326 { (yyval.rblk) = gen_inbound(0); }
2331 { (yyval.rblk) = gen_inbound(1); }
2336 { (yyval.rblk) = gen_vlan((yyvsp[0].i)); }
2341 { (yyval.rblk) = gen_vlan(-1); }
2346 { (yyval.rblk) = gen_mpls((yyvsp[0].i)); }
2351 { (yyval.rblk) = gen_mpls(-1); }
2356 { (yyval.rblk) = gen_pppoed(); }
2361 { (yyval.rblk) = gen_pppoes(); }
2366 { (yyval.rblk) = (yyvsp[0].rblk); }
2371 { (yyval.rblk) = gen_pf_ifname((yyvsp[0].s)); }
2376 { (yyval.rblk) = gen_pf_ruleset((yyvsp[0].s)); }
2381 { (yyval.rblk) = gen_pf_rnr((yyvsp[0].i)); }
2386 { (yyval.rblk) = gen_pf_srnr((yyvsp[0].i)); }
2391 { (yyval.rblk) = gen_pf_reason((yyvsp[0].i)); }
2396 { (yyval.rblk) = gen_pf_action((yyvsp[0].i)); }
2401 { (yyval.i) = (yyvsp[0].i); }
2406 { (yyval.i) = pfreason_to_num((yyvsp[0].s)); }
2411 { (yyval.i) = pfaction_to_num((yyvsp[0].s)); }
2416 { (yyval.i) = BPF_JGT; }
2421 { (yyval.i) = BPF_JGE; }
2426 { (yyval.i) = BPF_JEQ; }
2431 { (yyval.i) = BPF_JGT; }
2436 { (yyval.i) = BPF_JGE; }
2441 { (yyval.i) = BPF_JEQ; }
2446 { (yyval.a) = gen_loadi((yyvsp[0].i)); }
2451 { (yyval.a) = gen_load((yyvsp[-3].i), (yyvsp[-1].a), 1); }
2456 { (yyval.a) = gen_load((yyvsp[-5].i), (yyvsp[-3].a), (yyvsp[-1].i)); }
2461 { (yyval.a) = gen_arth(BPF_ADD, (yyvsp[-2].a), (yyvsp[0].a)); }
2466 { (yyval.a) = gen_arth(BPF_SUB, (yyvsp[-2].a), (yyvsp[0].a)); }
2471 { (yyval.a) = gen_arth(BPF_MUL, (yyvsp[-2].a), (yyvsp[0].a)); }
2476 { (yyval.a) = gen_arth(BPF_DIV, (yyvsp[-2].a), (yyvsp[0].a)); }
2481 { (yyval.a) = gen_arth(BPF_AND, (yyvsp[-2].a), (yyvsp[0].a)); }
2486 { (yyval.a) = gen_arth(BPF_OR, (yyvsp[-2].a), (yyvsp[0].a)); }
2491 { (yyval.a) = gen_arth(BPF_LSH, (yyvsp[-2].a), (yyvsp[0].a)); }
2496 { (yyval.a) = gen_arth(BPF_RSH, (yyvsp[-2].a), (yyvsp[0].a)); }
2501 { (yyval.a) = gen_neg((yyvsp[0].a)); }
2506 { (yyval.a) = (yyvsp[-1].a); }
2511 { (yyval.a) = gen_loadlen(); }
2516 { (yyval.i) = '&'; }
2521 { (yyval.i) = '|'; }
2526 { (yyval.i) = '<'; }
2531 { (yyval.i) = '>'; }
2536 { (yyval.i) = '='; }
2541 { (yyval.i) = (yyvsp[-1].i); }
2546 { (yyval.i) = A_LANE; }
2551 { (yyval.i) = A_LLC; }
2556 { (yyval.i) = A_METAC; }
2561 { (yyval.i) = A_BCC; }
2566 { (yyval.i) = A_OAMF4EC; }
2571 { (yyval.i) = A_OAMF4SC; }
2576 { (yyval.i) = A_SC; }
2581 { (yyval.i) = A_ILMIC; }
2586 { (yyval.i) = A_OAM; }
2591 { (yyval.i) = A_OAMF4; }
2596 { (yyval.i) = A_CONNECTMSG; }
2601 { (yyval.i) = A_METACONNECT; }
2606 { (yyval.blk).atmfieldtype = A_VPI; }
2611 { (yyval.blk).atmfieldtype = A_VCI; }
2616 { (yyval.blk).b = gen_atmfield_code((yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf_u_int32)(yyvsp[-1].i), 0); }
2621 { (yyval.blk).b = gen_atmfield_code((yyvsp[-2].blk).atmfieldtype, (bpf_int32)(yyvsp[0].i), (bpf_u_int32)(yyvsp[-1].i), 1); }
2626 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = qerr; }
2632 (yyval.blk).atmfieldtype = (yyvsp[-1].blk).atmfieldtype;
2633 if ((yyval.blk).atmfieldtype == A_VPI ||
2634 (yyval.blk).atmfieldtype == A_VCI)
2635 (yyval.blk).b = gen_atmfield_code((yyval.blk).atmfieldtype, (bpf_int32) (yyvsp[0].i), BPF_JEQ, 0);
2641 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
2646 { (yyval.i) = M_FISU; }
2651 { (yyval.i) = M_LSSU; }
2656 { (yyval.i) = M_MSU; }
2661 { (yyval.blk).mtp3fieldtype = M_SIO; }
2666 { (yyval.blk).mtp3fieldtype = M_OPC; }
2671 { (yyval.blk).mtp3fieldtype = M_DPC; }
2676 { (yyval.blk).mtp3fieldtype = M_SLS; }
2681 { (yyval.blk).b = gen_mtp3field_code((yyvsp[-2].blk).mtp3fieldtype, (u_int)(yyvsp[0].i), (u_int)(yyvsp[-1].i), 0); }
2686 { (yyval.blk).b = gen_mtp3field_code((yyvsp[-2].blk).mtp3fieldtype, (u_int)(yyvsp[0].i), (u_int)(yyvsp[-1].i), 1); }
2691 { (yyval.blk).b = (yyvsp[-1].blk).b; (yyval.blk).q = qerr; }
2697 (yyval.blk).mtp3fieldtype = (yyvsp[-1].blk).mtp3fieldtype;
2698 if ((yyval.blk).mtp3fieldtype == M_SIO ||
2699 (yyval.blk).mtp3fieldtype == M_OPC ||
2700 (yyval.blk).mtp3fieldtype == M_DPC ||
2701 (yyval.blk).mtp3fieldtype == M_SLS )
2702 (yyval.blk).b = gen_mtp3field_code((yyval.blk).mtp3fieldtype, (u_int) (yyvsp[0].i), BPF_JEQ, 0);
2708 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); }
2725 *++yyvsp = yyval;