Home
last modified time | relevance | path

Searched refs:BPF_LD (Results 1 – 10 of 10) sorted by relevance

/external/dhcpcd/
Dbpf-filter.h36 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 12),
40 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK),
43 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK),
81 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 12),
85 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, 23 + BPF_ETHCOOK),
88 BPF_STMT(BPF_LD + BPF_H + BPF_ABS, 20 + BPF_ETHCOOK),
93 BPF_STMT(BPF_LD + BPF_H + BPF_IND, 16 + BPF_ETHCOOK),
/external/libpcap/
Dbpf_image.c69 case BPF_LD|BPF_W|BPF_ABS:
74 case BPF_LD|BPF_H|BPF_ABS:
79 case BPF_LD|BPF_B|BPF_ABS:
84 case BPF_LD|BPF_W|BPF_LEN:
89 case BPF_LD|BPF_W|BPF_IND:
94 case BPF_LD|BPF_H|BPF_IND:
99 case BPF_LD|BPF_B|BPF_IND:
104 case BPF_LD|BPF_IMM:
119 case BPF_LD|BPF_MEM:
Doptimize.c380 case BPF_LD:
420 case BPF_LD:
555 #define K(i) F(BPF_LD|BPF_IMM|BPF_W, i, 0L)
594 (BPF_CLASS(code) == BPF_LD || BPF_CLASS(code) == BPF_LDX)) {
675 s->code = BPF_LD|BPF_IMM;
742 if (s->s.code == (BPF_LD|BPF_IMM) &&
752 if (s->s.code == (BPF_LD|BPF_IMM)) {
790 if (ild == 0 || BPF_CLASS(ild->s.code) != BPF_LD ||
962 case BPF_LD|BPF_ABS|BPF_W:
963 case BPF_LD|BPF_ABS|BPF_H:
[all …]
Dgencode.c1349 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); in gen_loadx_iphdrlen()
1489 s = new_stmt(BPF_LD|BPF_IMM);
1886 s1 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1898 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1958 s1 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
1970 s2 = new_stmt(BPF_LD|BPF_B|BPF_ABS);
[all …]
Dwlan_filtering.patch92 + s_load_fc = new_stmt(BPF_LD|BPF_IND|BPF_B);
127 + s_load_fc = new_stmt(BPF_LD|BPF_ABS|BPF_B);
145 + s_ld_a_2 = new_stmt(BPF_LD|BPF_IMM);
151 + s_load = new_stmt(BPF_LD|BPF_IND|size);
Dpcap-bpf.h750 #define BPF_LD 0x00 macro
Dpcap-linux.c2038 case BPF_LD: in fix_program()
/external/libpcap/bpf/net/
Dbpf_filter.c247 case BPF_LD|BPF_W|BPF_ABS:
264 case BPF_LD|BPF_H|BPF_ABS:
281 case BPF_LD|BPF_B|BPF_ABS:
298 case BPF_LD|BPF_W|BPF_LEN:
306 case BPF_LD|BPF_W|BPF_IND:
323 case BPF_LD|BPF_H|BPF_IND:
340 case BPF_LD|BPF_B|BPF_IND:
374 case BPF_LD|BPF_IMM:
382 case BPF_LD|BPF_MEM:
554 (BPF_CLASS(p->code) == BPF_LD &&
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c210 BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), /* ethernet type */ in initFilter()
213 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 0), /* first word of dest. addr */ in initFilter()
216 BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 4), /* next 1/2 word of dest. */ in initFilter()
219 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 0), /* first word of dest. addr */ in initFilter()
222 BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 4), /* next 1/2 word of dest. */ in initFilter()
/external/ping/
Dping.c1637 BPF_STMT(BPF_LD|BPF_H|BPF_IND, 4), /* Load icmp echo ident */ in install_filter()
1640 BPF_STMT(BPF_LD|BPF_B|BPF_IND, 0), /* Load icmp type */ in install_filter()