Home | History | Annotate | Download | only in libpcap

Lines Matching full:new_stmt

176 static inline struct slist *new_stmt(int);
329 new_stmt(code)
668 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
1349 s2 = new_stmt(BPF_LD|BPF_IND|size);
1359 s = new_stmt(BPF_LD|BPF_ABS|size);
1379 s = new_stmt(BPF_LD|BPF_ABS|size);
1413 s2 = new_stmt(BPF_LD|BPF_IND|size);
1450 s2 = new_stmt(BPF_LD|BPF_IND|BPF_B);
1453 s2 = new_stmt(BPF_ALU|BPF_AND|BPF_K);
1456 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
1467 sappend(s, new_stmt(BPF_ALU|BPF_ADD|BPF_X));
1468 sappend(s, new_stmt(BPF_MISC|BPF_TAX));
1476 s = new_stmt(BPF_LDX|BPF_MSH|BPF_B);
1489 s = new_stmt(BPF_LD|BPF_IMM);
1886 s1 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1888 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
1891 s2 = new_stmt(BPF_MISC|BPF_TAX);
1898 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1901 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X);
1908 s2 = new_stmt(BPF_ST);
1915 s2 = new_stmt(BPF_MISC|BPF_TAX);
1958 s1 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1960 s2 = new_stmt(BPF_ALU|BPF_LSH|BPF_K);
1963 s2 = new_stmt(BPF_MISC|BPF_TAX);
1970 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1973 s2 = new_stmt(BPF_ALU|BPF_OR|BPF_X);
1980 s2 = new_stmt(BPF_ST);
1987 s2 = new_stmt(BPF_MISC|BPF_TAX);
2010 s_load_dlt = new_stmt(BPF_LD|BPF_W|BPF_ABS);
2068 s = new_stmt(BPF_LDX|BPF_MEM);
2098 s = new_stmt(BPF_LDX|BPF_MEM);
4484 s[i] = new_stmt(0); /*dummy*/
4492 s[i] = new_stmt(BPF_LD|BPF_ABS|BPF_B);
4496 s[i] = new_stmt(BPF_LDX|BPF_MSH|BPF_B);
4505 s[i] = new_stmt(BPF_LD|BPF_ABS|BPF_B);
4509 s[i] = new_stmt(BPF_LDX|BPF_IMM);
4521 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4532 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4546 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4553 s[i - 1]->s.jf = s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4559 s[i - 1]->s.jf = s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4565 s[i - 1]->s.jf = s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4582 s[i] = new_stmt(BPF_MISC|BPF_TXA);
4585 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
4589 s[i] = new_stmt(BPF_ST);
4593 s[i] = new_stmt(BPF_MISC|BPF_TXA);
4596 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
4600 s[i] = new_stmt(BPF_MISC|BPF_TAX);
4603 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
4607 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
4611 s[i] = new_stmt(BPF_ALU|BPF_MUL|BPF_K);
4615 s[i] = new_stmt(BPF_MISC|BPF_TAX);
4618 s[i] = new_stmt(BPF_LD|BPF_MEM);
4623 s[i] = new_stmt(BPF_JMP|BPF_JA);
4635 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
4644 s[i] = new_stmt(BPF_JMP|BPF_JEQ|BPF_K);
4659 s[i - 1]->s.jt = s[i] = new_stmt(BPF_MISC|BPF_TXA);
4662 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
4666 s[i] = new_stmt(BPF_ST);
4670 s[i - 1]->s.jt = s[i] = new_stmt(BPF_MISC|BPF_TXA);
4673 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
4677 s[i] = new_stmt(BPF_MISC|BPF_TAX);
4680 s[i] = new_stmt(BPF_LD|BPF_IND|BPF_B);
4684 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
4688 s[i] = new_stmt(BPF_ALU|BPF_MUL|BPF_K);
4692 s[i] = new_stmt(BPF_MISC|BPF_TAX);
4695 s[i] = new_stmt(BPF_LD|BPF_MEM);
4700 s[i] = new_stmt(BPF_JMP|BPF_JA);
4706 s[i] = new_stmt(BPF_ALU|BPF_ADD|BPF_K);
5553 s = new_stmt(BPF_LDX|BPF_MEM);
5564 s = new_stmt(BPF_LD|BPF_MEM);
5628 tmp = new_stmt(BPF_LD|BPF_IND|size);
5658 sappend(s, new_stmt(BPF_ALU|BPF_ADD|BPF_X));
5659 sappend(s, new_stmt(BPF_MISC|BPF_TAX));
5670 tmp = new_stmt(BPF_LD|BPF_IND|size);
5707 sappend(s, new_stmt(BPF_ALU|BPF_ADD|BPF_X));
5708 sappend(s, new_stmt(BPF_MISC|BPF_TAX));
5720 tmp = new_stmt(BPF_LD|BPF_IND|size);
5774 sappend(s, new_stmt(BPF_ALU|BPF_ADD|BPF_X));
5775 sappend(s, new_stmt(BPF_MISC|BPF_TAX));
5776 sappend(s, tmp = new_stmt(BPF_LD|BPF_IND|size));
5801 s = new_stmt(BPF_ST);
5820 s2 = new_stmt(BPF_ALU|BPF_SUB|BPF_X);
5861 s = new_stmt(BPF_LD|BPF_LEN);
5862 s->next = new_stmt(BPF_ST);
5882 s = new_stmt(BPF_LD|BPF_IMM);
5884 s->next = new_stmt(BPF_ST);
5900 s = new_stmt(BPF_ALU|BPF_NEG);
5903 s = new_stmt(BPF_ST);
5919 s2 = new_stmt(BPF_ALU|BPF_X|code);
5929 s0 = new_stmt(BPF_ST);
5982 s = new_stmt(BPF_LD|BPF_LEN);
6045 s = new_stmt(BPF_ALU|BPF_OR|BPF_K);
6049 s = new_stmt(BPF_ALU|BPF_AND|BPF_K);