Home | History | Annotate | Download | only in libpcap

Lines Matching defs:s2

747 	struct slist *s, *s2;
753 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
754 s2->s.k = mask;
755 sappend(s, s2);
1492 struct slist *s, *s2;
1511 s2 = new_stmt(BPF_LD|BPF_IND|size);
1512 s2->s.k = offset;
1513 sappend(s, s2);
1534 struct slist *s, *s2;
1552 s2 = new_stmt(BPF_LD|BPF_IND|size);
1553 s2->s.k = offset;
1554 sappend(s, s2);
1575 struct slist *s, *s2;
1619 s2 = new_stmt(BPF_LD|BPF_IND|size);
1620 s2->s.k = off_macpl + off_nl + offset;
1621 sappend(s, s2);
1643 struct slist *s, *s2;
1659 s2 = new_stmt(BPF_LD|BPF_IND|BPF_B);
1660 s2->s.k = off_nl;
1661 sappend(s, s2);
1662 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
1663 s2->s.k = 0xf;
1664 sappend(s, s2);
1665 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
1666 s2->s.k = 2;
1667 sappend(s, s2);
2098 struct slist *s1, *s2;
2138 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
2139 s2->s.k = 0xFFFFF000;
2140 sappend(s1, s2);
2156 s2 = new_stmt(BPF_LD|BPF_W|BPF_ABS);
2157 s2->s.k = 4;
2158 sappend(s1, s2);
2159 sjeq_avs_cookie->s.jt = s2;
2179 s2 = new_stmt(BPF_LD|BPF_W|BPF_IMM);
2180 s2->s.k = 144;
2181 sappend(s1, s2);
2182 sjeq_avs_cookie->s.jf = s2;
2189 s2 = new_stmt(BPF_ST);
2190 s2->s.k = reg_off_ll;
2191 sappend(s1, s2);
2192 sjcommon->s.jf = s2;
2197 s2 = new_stmt(BPF_MISC|BPF_TAX);
2198 sappend(s1, s2);
2208 struct slist *s1, *s2;
2230 s2 = new_stmt(BPF_ST);
2231 s2->s.k = reg_off_ll;
2232 sappend(s1, s2);
2237 s2 = new_stmt(BPF_MISC|BPF_TAX);
2238 sappend(s1, s2);
2248 struct slist *s1, *s2;
2271 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
2272 sappend(s1, s2);
2273 s2->s.k = 8;
2274 s2 = new_stmt(BPF_MISC|BPF_TAX);
2275 sappend(s1, s2);
2281 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
2282 sappend(s1, s2);
2283 s2->s.k = 2;
2284 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X);
2285 sappend(s1, s2);
2291 s2 = new_stmt(BPF_ST);
2292 s2->s.k = reg_off_ll;
2293 sappend(s1, s2);
2298 s2 = new_stmt(BPF_MISC|BPF_TAX);
2299 sappend(s1, s2);
2318 struct slist *s1, *s2;
2339 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
2340 sappend(s1, s2);
2341 s2->s.k = 8;
2342 s2 = new_stmt(BPF_MISC|BPF_TAX);
2343 sappend(s1, s2);
2349 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
2350 sappend(s1, s2);
2351 s2->s.k = 2;
2352 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X);
2353 sappend(s1, s2);
2359 s2 = new_stmt(BPF_ST);
2360 s2->s.k = reg_off_ll;
2361 sappend(s1, s2);
2366 s2 = new_stmt(BPF_MISC|BPF_TAX);
2367 sappend(s1, s2);
2384 struct slist *s2;
2439 s2 = new_stmt(BPF_MISC|BPF_TXA);
2440 sappend(s, s2);
2441 s2 = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
2442 s2->s.k = 24;
2443 sappend(s, s2);
2444 s2 = new_stmt(BPF_ST);
2445 s2->s.k = reg_off_macpl;
2446 sappend(s, s2);
2448 s2 = new_stmt(BPF_LD|BPF_IND|BPF_B);
2449 s2->s.k = 0;
2450 sappend(s, s2);
2486 sjset_qos->s.jt = s2 = new_stmt(BPF_LD|BPF_MEM);
2487 s2->s.k = reg_off_macpl;
2488 sappend(s, s2);
2489 s2 = new_stmt(BPF_ALU|BPF_ADD|BPF_IMM);
2490 s2->s.k = 2;
2491 sappend(s, s2);
2492 s2 = new_stmt(BPF_ST);
2493 s2->s.k = reg_off_macpl;
2494 sappend(s, s2);
2511 sjset_qos->s.jf = s2 = new_stmt(BPF_LD|BPF_ABS|BPF_W);
2512 s2->s.k = 4;
2513 sappend(s, s2);
2541 sjset_radiotap_tsft->s.jt = s2 = new_stmt(BPF_LD|BPF_ABS|BPF_B);
2542 s2->s.k = 16;
2543 sappend(s, s2);
2557 sjset_radiotap_tsft->s.jf = s2 = new_stmt(BPF_LD|BPF_ABS|BPF_B);
2558 s2->s.k = 8;
2559 sappend(s, s2);
2575 s2 = new_stmt(BPF_ALU|BPF_ADD|BPF_IMM);
2576 s2->s.k = 3;
2577 sappend(s, s2);
2578 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_IMM);
2579 s2->s.k = ~3;
2580 sappend(s, s2);
2581 s2 = new_stmt(BPF_ST);
2582 s2->s.k = reg_off_macpl;
2583 sappend(s, s2);
6334 gen_mcode(s1, s2, masklen, q)
6335 register const char *s1, *s2;
6346 if (s2 != NULL) {
6347 mlen = __pcap_atoin(s2, &m);
6352 s1, s2);
6493 gen_mcode6(s1, s2, masklen, q)
6494 register const char *s1, *s2;
6504 if (s2)
6505 bpf_error("no mask %s supported", s2);
6888 struct slist *s0, *s1, *s2;
6894 s2 = new_stmt(BPF_ALU|BPF_SUB|BPF_X);
6896 sappend(s1, s2);
6989 struct slist *s0, *s1, *s2;
6993 s2 = new_stmt(BPF_ALU|BPF_X|code);
6995 sappend(s1, s2);