Home | History | Annotate | Download | only in libpcap

Lines Matching refs:BPF_K

835 	if (b->s.code == (BPF_JMP|BPF_JEQ|BPF_K) &&
877 else if (last->s.code == (BPF_ALU|BPF_SUB|BPF_K)) {
889 else if (last->s.code == (BPF_ALU|BPF_AND|BPF_K) &&
892 b->s.code = BPF_JMP|BPF_K|BPF_JSET;
902 if (b->s.code == (BPF_JMP|BPF_K|BPF_JSET)) {
913 if (vmap[val].is_const && BPF_SRC(b->s.code) == BPF_K) {
1014 case BPF_ALU|BPF_ADD|BPF_K:
1015 case BPF_ALU|BPF_SUB|BPF_K:
1016 case BPF_ALU|BPF_MUL|BPF_K:
1017 case BPF_ALU|BPF_DIV|BPF_K:
1018 case BPF_ALU|BPF_AND|BPF_K:
1019 case BPF_ALU|BPF_OR|BPF_K:
1020 case BPF_ALU|BPF_LSH|BPF_K:
1021 case BPF_ALU|BPF_RSH|BPF_K:
1064 s->code = BPF_ALU|BPF_K|op;
1279 if (BPF_SRC(b->s.code) == BPF_K)
1343 if (sense && code == (BPF_JMP|BPF_JEQ|BPF_K))