Home
last modified time | relevance | path

Searched refs:BPF_CLASS (Results 1 – 7 of 7) sorted by relevance

/external/libpcap/bpf/net/
Dbpf_filter.c540 if (BPF_CLASS(p->code) == BPF_JMP) {
553 if ((BPF_CLASS(p->code) == BPF_ST ||
554 (BPF_CLASS(p->code) == BPF_LD &&
564 return BPF_CLASS(f[len - 1].code) == BPF_RET;
/external/libpcap/
Doptimize.c374 switch (BPF_CLASS(c)) {
418 switch (BPF_CLASS(s->code)) {
481 if (BPF_CLASS(b->s.code) == BPF_JMP) {
594 (BPF_CLASS(code) == BPF_LD || BPF_CLASS(code) == BPF_LDX)) {
790 if (ild == 0 || BPF_CLASS(ild->s.code) != BPF_LD ||
1198 if (BPF_CLASS(s->s.code) == BPF_JMP) {
1267 BPF_CLASS(b->s.code) == BPF_RET)) {
1683 while (BPF_CLASS((*b)->s.code) == BPF_JMP && JT(*b) == JF(*b))
1696 if (BPF_CLASS((*b)->s.code) == BPF_RET)
1766 if (BPF_CLASS(p->s.code) != BPF_RET) {
[all …]
Dbpf_image.c282 (BPF_CLASS(p->code) == BPF_JMP &&
Dpcap-bpf.h749 #define BPF_CLASS(code) ((code) & 0x07) macro
Dpcap-linux.c2011 switch (BPF_CLASS(p->code)) { in fix_program()
/external/kernel-headers/original/linux/
Dfilter.h43 #define BPF_CLASS(code) ((code) & 0x07) macro
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c6632 if (BPF_CLASS(insn->code) == BPF_JMP) { in add_monitor_filter()